osmosis-labs / test-tube

Test tube for cosmos-sdk chains integration test, written in Rust!
Apache License 2.0
53 stars 31 forks source link

IBC testing #33

Open iboss-ptk opened 1 year ago

iboss-ptk commented 1 year ago

To be able to test cross-chain CosmWasm contract, test-tube needs to be able to relay IBC packet across.

As suggested by @ethanfrey & @alpe, since the idea of test-tube is similar to how ibctesting is constructed, which we can take inspiration from for enabling IBC testing for test-tube.

betterclever commented 1 year ago

I think using interchaintest could be a nicer way to execute this. https://github.com/strangelove-ventures/interchaintest

Basically do away with the current chain spawn. Spin up an environment using Interchaintest specification for multiple chain processes and later use RPC to send Execute/ Query messages to each respective chain instead of running within the same process.

Do you see any potential issues with it?

iboss-ptk commented 11 months ago

I think what I want for test tube is to avoid is upfront orchestration cost in order to run integration test (between contract, chain and other chains, not of a real env). With that, it run faster easier to control the environment.

But if I'm not understanding you correctly. please lmk.