ComposableFi / composable

Picasso Kusama and Composable Polkadot parachains
https://www.composable.finance
120 stars 70 forks source link

feat(xtrace): NPM library or CLI tool to check connectivity #4404

Closed dzmitry-lahoda closed 10 months ago

dzmitry-lahoda commented 10 months ago

Motivation

Currently it is super hard to write MANTIS/CVM tests on devnet, because hard to tell when and if underlying things are ready and working.

Also it is hard to tell if mainnet works too.

Suggested Solution

Provide reusable code package which give:

A. chain, can check it is alive, basically produces blocks. and can transfer from wallet to wallet some amount (there is amount on my wallet)

B. interchain works, give wallet, and timeout, can send amount over given channel to other chain and ensure change in amount.

Something like ping/trace for networks, but really for crypto xtrace

Alternatives

No alternative, cannot write CVM/MANITS tests without.

Additional info

https://composableprotocol.slack.com/archives/C05EMF8DYKU/p1704647940643749

dzmitry-lahoda commented 10 months ago

cc @kollegian @bengalmozzi