Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Change blockperiod to 10s, change chainId to restart network #82

Open
wants to merge 1 commit into
base: v1.02
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ x-masa-testnet-node-v10-def:
GENESIS_FILE="/network/genesis.json"
CONSENSUS_RPC_API="istanbul"
NETWORK_ID=$$(cat $${GENESIS_FILE} | grep chainId | awk -F " " '{print $$2}' | awk -F "," '{print $$1}')
GETH_ARGS_istanbul="--emitcheckpoints --istanbul.blockperiod 1 --mine --miner.threads 1 --syncmode full"
GETH_ARGS_istanbul="--emitcheckpoints --istanbul.blockperiod 10 --mine --miner.threads 1 --syncmode full"
if [ ! -f $${DDIR}/control_file ]; then
mkdir -p $${DDIR}/keystore
mkdir -p $${DDIR}/geth
2 changes: 1 addition & 1 deletion network/testnet/genesis.json
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
"constantinopleBlock":0,
"petersburgBlock": 0,
"istanbulBlock": 0,
"chainId": 190250,
"chainId": 190260,
"eip150Block": 0,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 0,