The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
woop/test/test_sdk.sh

8 lines
406 B

# to install gsed for MacOS: brew install gnu-sed
./test/kill_node.sh
rm -rf tmp_log*
gsed -i 's/GenesisShardNum = 4/GenesisShardNum = 1/' core/resharding.go
gsed -i 's/GenesisShardSize = 150/GenesisShardSize = 20/' core/resharding.go
gsed -i 's/GenesisShardHarmonyNodes = 112/GenesisShardHarmonyNodes = 20/' core/resharding.go
./test/deploy.sh -D -1 ./test/configs/beaconchain20.txt -network_type testnet