From de091ad0c56f5ca817544274648b3aab0bedfa92 Mon Sep 17 00:00:00 2001 From: BA-MikeJ Date: Wed, 16 Mar 2022 17:47:45 +0100 Subject: [PATCH] Change blockperiod to 10s, change chainId to restart network --- docker-compose.yml | 2 +- network/testnet/genesis.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 31a28c64..84fb9968 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/network/testnet/genesis.json b/network/testnet/genesis.json index 75a8b6ad..6f96dff5 100644 --- a/network/testnet/genesis.json +++ b/network/testnet/genesis.json @@ -23,7 +23,7 @@ "constantinopleBlock":0, "petersburgBlock": 0, "istanbulBlock": 0, - "chainId": 190250, + "chainId": 190260, "eip150Block": 0, "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000", "eip155Block": 0,