Step 5. Test workflow execution
Last updated
Last updated
Now, it’s time to test our automation workflow by sending a message from Ethereum Goerli to Polygon Mumbai.
First, open the NerifBridge smart contract deployed to Ethereum Goerli on etherscan.
Click on “Contract” and then press “Write Contract”.
After that, click on the function “6. send” which will open a new tab with 4 fields to complete.
Enter the relevant inputs for sending a message from Ethereum Goerli to Polygon Mumbai:
ChainId - enter the chain ID of the Polygon Mumbai network (80001)
Target - enter the address of the TestReceiver smart contract we previously deployed on Polygon Mumbai
Payload - enter the data we want to send, which should be hex-encoded
GasAmount - enter the gas limit for the transaction from NerifBridge smart contract deployed to Polygon Mumbai to the TestReceiver smart contract on the same chain.
After that, just click on “Write” - and voila - the data is sent from Ethereum Goerli to Polygon Mumbai!