Skip to content

Commit 9edd877

Browse files
committed
Update sovereign-sdk and use out-of-tree subxt
1 parent dead937 commit 9edd877

File tree

655 files changed

+31695
-140747
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

655 files changed

+31695
-140747
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
zombienet/
2+
target/
3+
/demo/demo-rollup/demo_data

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,44 @@
1+
# Instruction to test demo-rollup
2+
3+
2 steps are required before:
4+
+ build sugondat-chain
5+
+ Adjust the PATHs to polkadot and sugondat-chain for zomienet
6+
7+
Now you can launch 2 polkadot validators and one sugondat-chain collator
8+
``` sh
9+
./zombienet.sh
10+
```
11+
12+
launch the demo rollup with:
13+
``` sh
14+
cd demo/demo-rollup
15+
cargo run
16+
```
17+
18+
execute the test
19+
```
20+
cd demo/demo-rollup
21+
./test_create_token.sh
22+
```
23+
24+
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
25+
26+
If you want to re-run zombienet and the demo rollup remember token
27+
28+
``` sh
29+
rm -r zombienet
30+
cd demo/demo-rollup
31+
# clean the ledger db
32+
make clean
33+
```
34+
135
# Usage
236

337
To launch the testnet you should use `zombienet`.
438

539
# First, make sure that the binaries `polkadot` and `sugondat-node` are in your PATH.
40+
# If you're using a polkadot binary >=1.0.0 then you need also the binaries
41+
# polkadot-execute-worker and polkadot-prepare-worker
642
export PATH=/Users/pepyakin/dev/parity/polkadot/target/release/:$PATH
743
export PATH=/Users/pepyakin/dev/parity/sugondat-chain/sugondat-chain/target/release/:$PATH
844

0 commit comments

Comments
 (0)