consensus-shipyard / ipc

🌳 Spawn multi-level trees of customized, scalable, EVM-compatible networks with IPC. L2++ powered by FVM, Wasm, libp2p, IPFS/IPLD, and CometBFT.
https://ipc.space
Apache License 2.0
35 stars 30 forks source link

XNet message integration testing plan #639

Open cryptoAtwill opened 5 months ago

cryptoAtwill commented 5 months ago

A list of test case for cross network messaging integration testing:

FUND

fund_native_works: Action: Sender in the parent sends some fund to another address in the child. Expected:

Release

Call

### Tasks
linear[bot] commented 5 months ago

ENG-617 XNet message integration testing plan

dnkolegov commented 5 months ago

I think that tests that touch the subnet circulation supply somehow are not possible to implement within the MultiSubnet test framework with the current actors API. For example, release_native_works_no_fund suggests that the circulation supply of the child subnet is changed, but the Solidity contract does not have API for that, except fund, which should not be used here according to the test case.

cryptoAtwill commented 5 months ago

I have tested a one node setup for fund and release with native token. They are working. The issues with current code base is, it's extremely difficult to debug and visualise the Receipt state and making xnet contract calls. I create issues to write tool for such functions.