Skip to content

Commit

Permalink
Make scenarion1s rounds smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
algorandskiy committed Apr 1, 2024
1 parent 62807d2 commit f0c0c54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# scenario1s is scenario1 but smaller, (100 nodes, 100 wallets) -> (20 nodes, 20 wallets), each algod gets single tenancy on a smaller ec2 instance
PARAMS=-w 20 -R 8 -N 20 -n 20 --npn-algod-nodes 10 --node-template node.json --relay-template relay.json --non-participating-node-template nonPartNode.json

all: net.json genesis.json topology.json boostrappedFile.json
all: net.json genesis.json topology.json

net.json: node.json nonPartNode.json ${GOPATH}/bin/netgoal Makefile
netgoal generate -t net -r /tmp/wat -o net.json ${PARAMS}

genesis.json: ${GOPATH}/bin/netgoal Makefile
netgoal generate -t genesis -r /tmp/wat -o genesis.l.json ${PARAMS}
jq '.LastPartKeyRound=22000|.NetworkName="s1s"|.ConsensusProtocol="future"' < genesis.l.json > genesis.json
jq '.LastPartKeyRound=5000|.NetworkName="s1s"|.ConsensusProtocol="future"' < genesis.l.json > genesis.json
rm genesis.l.json

topology.json: gen_topology.py
Expand Down

0 comments on commit f0c0c54

Please sign in to comment.