From a41818c22faf45a65011f4efb18b471fa7e1911d Mon Sep 17 00:00:00 2001 From: Xi Lin Date: Mon, 18 Dec 2023 11:46:10 +0800 Subject: [PATCH] revert address change in #145 (#147) --- .../guides/scroll-messenger-cross-chain-interaction.mdx | 2 +- .../guides/scroll-messenger-cross-chain-interaction.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/en/developers/guides/scroll-messenger-cross-chain-interaction.mdx b/src/content/docs/en/developers/guides/scroll-messenger-cross-chain-interaction.mdx index a4dbc4a0c..ddda26b8a 100644 --- a/src/content/docs/en/developers/guides/scroll-messenger-cross-chain-interaction.mdx +++ b/src/content/docs/en/developers/guides/scroll-messenger-cross-chain-interaction.mdx @@ -79,7 +79,7 @@ contract GreeterOperator { We pass the message by executing `executeFunctionCrosschain` and passing the following parameters: - `scrollMessengerAddress`: This will depend on where you deployed the `GreeterOperator` contract. - - If you deployed it on Sepolia use `0x50c7d3e7f7c656493D1D76aaa1a836CedfCBB16A`. If you deployed on Scroll use `0x781e90f1c8Fc4611c9b7497C3B47F99Ef6969CbC`. + - If you deployed it on Sepolia use `0x50c7d3e7f7c656493D1D76aaa1a836CedfCBB16A`. If you deployed on Scroll use `0xBa50f5340FB9F3Bd074bD638c9BE13eCB36E603d`. - `targetAddress`: The address of the `Greeter` contract on the opposite chain. - `value`: In this case, it is `0` because the `setGreeting`is not payable. - `greeting`: This is the parameter that will be sent through the message. Try passing `“This message was cross-chain!”` diff --git a/src/content/docs/es/developers/guides/scroll-messenger-cross-chain-interaction.mdx b/src/content/docs/es/developers/guides/scroll-messenger-cross-chain-interaction.mdx index 02af805cd..f0dfe351b 100644 --- a/src/content/docs/es/developers/guides/scroll-messenger-cross-chain-interaction.mdx +++ b/src/content/docs/es/developers/guides/scroll-messenger-cross-chain-interaction.mdx @@ -78,7 +78,7 @@ contract GreeterOperator { Pasamos el mensaje ejecutando `executeFunctionCrosschain` y pasando los siguientes parámetros: - `scrollMessengerAddress`: Esto dependerá de dónde hayas desplegado el contrato `GreeterOperator`. - - Si lo desplegaste en Sepolia utiliza `0x50c7d3e7f7c656493D1D76aaa1a836CedfCBB16A`. Si lo has desplegado en Scroll utiliza `0x781e90f1c8Fc4611c9b7497C3B47F99Ef6969CbC`. + - Si lo desplegaste en Sepolia utiliza `0x50c7d3e7f7c656493D1D76aaa1a836CedfCBB16A`. Si lo has desplegado en Scroll utiliza `0xBa50f5340FB9F3Bd074bD638c9BE13eCB36E603d`. - `targetAddress`: La dirección del contrato `Greeter` en la cadena opuesta. - `value`: En este caso es `0` porque el `setGreeting` no es de tipo `payable`. - `greeting`: Es el parámetro que se enviará a través del mensaje. Prueba pasar `"¡Este mensaje fue ejecutado de manera crosschain!"`.