Skip to content

Commit

Permalink
align devnets and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-ogrady committed Apr 3, 2023
1 parent 57b12bc commit 5b6aa09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tokenvm/DEVNETS.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ rm -f /tmp/avalanche-ops/tokenvm-genesis.json
--genesis-file /tmp/avalanche-ops/tokenvm-genesis.json \
--max-block-units 4000000 \
--window-target-units 100000000000 \
--window-target-blocks 20
--window-target-blocks 30
cat /tmp/avalanche-ops/tokenvm-genesis.json
cat <<EOF > /tmp/avalanche-ops/tokenvm-chain-config.json
Expand Down
4 changes: 4 additions & 0 deletions examples/tokenvm/scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ if [[ -z "${GENESIS_PATH}" ]]; then
echo "creating VM genesis file with allocations"
rm -f /tmp/tokenvm.genesis
/tmp/token-cli genesis generate /tmp/allocations.json \
--max-block-units 4000000 \
--window-target-units 100000000000 \
--window-target-blocks 30 \
--genesis-file /tmp/tokenvm.genesis
else
echo "copying custom genesis file"
Expand All @@ -120,6 +123,7 @@ cat <<EOF > /tmp/tokenvm.config
"parallelism": 5,
"streamingBacklogSize": 10000000,
"trackedPairs":["*"],
"preferredBlocksPerSecond": 3,
"continuousProfilerDir":"/tmp/tokenvm-e2e-profiles/*",
"logLevel": "${LOGLEVEL}",
"stateSyncServerDelay": ${STATESYNC_DELAY}
Expand Down

0 comments on commit 5b6aa09

Please sign in to comment.