Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

validance/cross-chain-query-e2e

Repository files navigation

Cross-Chain-Query E2E Test

  1. Init two local blockchains, hermes relayer which implements ics-31 cross-chain-query
    • Since ics31 doesn't want heavy-stacked ibc components such as connection, channel, port, etc, module doesn't emit packets(which is defined in ics4).
    • Chains don't have to send txs for connection to each other, relayer catches ibc query events and deals all the processes.
docker compose up
  1. Wait until ibc-0, ibc-1, node-0, node-1 are ready. Hermes will fail repeatedly until every node starts.

  2. Define your own cross-chain-query requests in interchain-query-test.sh.

    • All you have to do is changing the query path(parameter after command 'ibc-query')
  3. Execute test shell script

bash interchain-query-test.sh
  1. Set appropriate query messages in interchain-query-result.sh

    • You have to increment query-id according to the test script.
  2. Check the query result

bash interchain-query-result.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages