octopus-network / astar-m1-deliverable

2 stars 1 forks source link

Astar Milestone 1 Deliverables

Number Deliverable Commnets
1. Shiden network https://github.com/octopus-network/Astar/tree/dv-ibc-dev
2. Mock cosmos chain https://github.com/octopus-network/mock-grandpa.git
3. Relayer https://github.com/octopus-network/ibc-rs/tree/dv-update-subxt
4. Testing Script run e2e test
5. Design Spec design
6. Operation Guide Right below

Operation Guide

Launch IBC Enabled Shiden Network Locally

git clone -b dv-ibc-dev https://github.com/octopus-network/Astar.git 
cd Astar
ls test/README.md  # <== Follow this "README.md"

Follow the test/README.md to run the IBC enabled Shiden network locally.

Launch a Cosmos Chain with Mock Grandpa Module Locally

git clone https://github.com/octopus-network/mock-grandpa.git 
cd mock-grandpa
ls astar-readme.md  # <== Follow this "astar-readme.md"

Follow the astar-readme.md to run the Cosmos chain locally.

Prepare the Relayer and Run E2E Test

Requirement

Compile the Relayer

git clone -b dv-update-subxt https://github.com/octopus-network/ibc-rs.git
cd ibc-rs
cargo build

Run e2e Test

cd e2e-astar
python run.py -c ../hermes.toml --cmd ../target/debug/hermes # Run automatic e2e testing
ls README.md  # More details of the testing 

Wait until you see events of WriteAcknowledgement & ReceivePacket on the explorer of parachain like below. It takes over 10 mins.

e2e

Vedio demo of manual e2e testing