2 steps are required before:
- build sugondat-chain
- Adjust the PATHs to polkadot and sugondat-chain for zombienet
Now you can launch 2 polkadot validators and one sugondat-chain collator
./zombienet.sh
launch the demo rollup with:
cd demo/demo-rollup
cargo run
execute the test
cd demo/demo-rollup
./test_create_token.sh
You should see at the end that a batch of two transactions was correctly pushed in the DA, fetched back and then executed in the rollup to create and mint 4000 new tokens
If you want to re-run zombienet and the demo rollup remember token
rm -r zombienet
cd demo/demo-rollup
# clean the ledger db
make clean