-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
introduce collator-selection and remove treasury (#219)
* use new runtime with collator-selection. zombienet produces blocks * fmt * bump 1.7.6 * fee debug helper script. copy from integritee * lift patches * github env file
- Loading branch information
Showing
6 changed files
with
112 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
RUST_STABLE_VERSION=1.77.0 | ||
RUST_NIGHTLY_VERSION=2024-04-14 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#!/bin/bash | ||
# make sure polkadot-js-api is in the path | ||
# run zombienet locally | ||
# | ||
# example | ||
# --------------- | ||
# ./dump-essential-balances.sh > fee1.txt | ||
# DO YOUR THING | ||
# ./dump-essential-balances.sh > fee2.txt | ||
# | ||
# compare balances pre/post YOUR THING | ||
# diff -y -W 80 fee1.txt fee2.txt | ||
|
||
#ASSET_HUB="ws://127.0.0.1:9954" | ||
ENCOINTER="ws://127.0.0.1:9944" | ||
ROCOCO="ws://127.0.0.1:9999" | ||
|
||
# dummy treasury subkey inspect --public 0x0000000000000000000000000000000000000000000000000000000000000000 | ||
TREASURY=5C4hrfjw9DjXZTzV3MwzrrAr9P1MJhSrvWGWqi1eSuyUpnhM | ||
POT=5EYCAe5cKPAoFh2HnQQvpKqRYZGqBpaA87u4Zzw89qPE58is | ||
|
||
function print_balances() { | ||
echo "*** print balances for $1" | ||
# echo "Rococo ROC" | ||
# polkadot-js-api --ws $ROCOCO query.system.account $1 | jq .account.data.free | ||
echo "Encointer ROC" | ||
polkadot-js-api --ws $ENCOINTER query.system.account $1 | jq .account.data.free | ||
} | ||
|
||
echo "*** total supply of ROC@Encointer" | ||
polkadot-js-api --ws $ENCOINTER query.balances.totalIssuance | jq .totalIssuance | ||
|
||
echo "*** Alice" | ||
print_balances 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY | ||
echo "*** Bob" | ||
print_balances 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty | ||
echo "*** author1 " | ||
print_balances EXHoFmksfPoyTyuFgcJ2c11uLj9KPgCZ2wWxshxuDrvpZuq | ||
echo "*** author2 " | ||
print_balances E8Np37TgMvVNST2Qj7YpEMvNon2kBSPNSkMM9D2TuKjwKQZ | ||
echo "*** staking pot" | ||
print_balances $POT | ||
|
||
|
||
|
||
|
||
|
||
|