Skip to content

Commit

Permalink
Remove flags which do not work with the newest gen_localnet.py script
Browse files Browse the repository at this point in the history
The script does not take num-nodes and num-vals... So we simply remove
them from the example given
  • Loading branch information
mariari committed May 27, 2024
1 parent 55b9473 commit e053d78
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/docs/pages/operators/networks/local-network.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ For example, a MacOS user would run something along the lines of:
python3 ./scripts/gen_localnet.py \
--localnet-dir genesis/localnet \
--mode release # Assuming the binaries were built using `make build-release` \
--parameters '{"parameters": {"max_expected_time_per_block": 10}, "pos_params": {"pipeline_len": 5}}'
--parameters '{"parameters": {"max_expected_time_per_block": 10}, "pos_params": {"pipeline_len": 5}}'
# In order to change max_expected_time_per_block to 10 seconds from the default 30, and the pipeline length to 5 epochs from the default 2.
--num-nodes 2 # OPTIONAL: To run the localnet with 2 nodes
--num-vals 2 # OPTIONAL: To run the localnet with 2 validators
```

### Modifying the genesis configuration file
Expand Down

0 comments on commit e053d78

Please sign in to comment.