diff --git a/src/pages/dev/amplifier/gmp-example.mdx b/src/pages/dev/amplifier/gmp-example.mdx index c58eb8b78..f41898cbc 100644 --- a/src/pages/dev/amplifier/gmp-example.mdx +++ b/src/pages/dev/amplifier/gmp-example.mdx @@ -26,7 +26,7 @@ Once the transaction is finalized on the source chain, call `verify_messages()` ```bash axelard tx wasm execute axelar18csycs4vm6varkp00apuqlsm7v4twg8jsljk8wfdd7cghr7g4rtsltrlkp '{"verify_messages":[{"cc_id":{"chain":"ethereum-sepolia","id":"0xeafbc1283699c49ba4f79ec43d8749f -d82ca4ee14c236787dd25a2f7d4932daa:60"},"destination_chain":"avalanche","destination_address":"0x79a35Fd62DbAa820D3025B3400eBcE17Cdd6C587","source_address":"0xA4f10f76B86E01B98daF66A3d02a65e14 +d82ca4ee14c236787dd25a2f7d4932daa-60"},"destination_chain":"avalanche","destination_address":"0x79a35Fd62DbAa820D3025B3400eBcE17Cdd6C587","source_address":"0xA4f10f76B86E01B98daF66A3d02a65e14 adb0767","payload_hash":"64b8427717b2ce8573a0c37e03e30ec683c2fe57dcee4d426d22cf43c7692675"}]}' --from validator --gas auto --gas-adjustment 1.5 ``` @@ -34,7 +34,7 @@ Wait for verification, which usually takes 1-3 blocks. Then call `route_messages ```bash axelard tx wasm execute axelar18csycs4vm6varkp00apuqlsm7v4twg8jsljk8wfdd7cghr7g4rtsltrlkp '{"route_messages":[{"cc_id":{"chain":"ethereum-sepolia","id":"0xeafbc1283699c49ba4f79ec43d8749fd -82ca4ee14c236787dd25a2f7d4932daa:60"},"destination_chain":"avalanche","destination_address":"0x79a35Fd62DbAa820D3025B3400eBcE17Cdd6C587","source_address":"0xA4f10f76B86E01B98daF66A3d02a65e14a +82ca4ee14c236787dd25a2f7d4932daa-60"},"destination_chain":"avalanche","destination_address":"0x79a35Fd62DbAa820D3025B3400eBcE17Cdd6C587","source_address":"0xA4f10f76B86E01B98daF66A3d02a65e14a db0767","payload_hash":"64b8427717b2ce8573a0c37e03e30ec683c2fe57dcee4d426d22cf43c7692675"}]}' --from validator --gas auto --gas-adjustment 1.5 ``` @@ -42,7 +42,7 @@ Call `construct_proof()` at the multisig-prover corresponding to the destination ```bash axelard tx wasm execute axelar1qum2tr7hh4y7ruzew68c64myjec0dq2s2njf6waja5t0w879lutqv062tl '{"construct_proof":{"message_ids":[{"chain":"ethereum-sepolia","id":"0xeafbc1283699c49ba4f79ec43 -d8749fd82ca4ee14c236787dd25a2f7d4932daa:60"}]}}' --from validator --gas auto --gas-adjustment 1.5 +d8749fd82ca4ee14c236787dd25a2f7d4932daa-60"}]}}' --from validator --gas auto --gas-adjustment 1.5 ``` Note the `multisig_session_id` in the output: @@ -71,7 +71,7 @@ data: destination_chain_id: "43113" message_ids: - chain: ethereum-sepolia - id: 0xeafbc1283699c49ba4f79ec43d8749fd82ca4ee14c236787dd25a2f7d4932daa:60 + id: 0xeafbc1283699c49ba4f79ec43d8749fd82ca4ee14c236787dd25a2f7d4932daa-60 multisig_session_id: "1" status: completed: @@ -92,4 +92,4 @@ Fill in the appropriate values and execute the contract. The `command_id` can be ```js > await contract.execute(ethers.utils.arrayify(command_id),source_chain, source_address, ethers.utils.arrayify(payload)).then((tx) => tx.wait() -``` \ No newline at end of file +```