reset genesis.json fork times

This commit is contained in:
realbigsean 2022-12-07 14:04:46 -05:00
parent 6d4fb41b84
commit b616c0a056
No known key found for this signature in database
GPG Key ID: B372B64D866BF8CC
2 changed files with 6 additions and 2 deletions

View File

@ -12,8 +12,8 @@
"berlinBlock": 0,
"londonBlock": 0,
"mergeNetsplitBlock": 0,
"shanghaiTime": 1670438240,
"shardingForkTime": 1670438336,
"shanghaiTime": 0,
"shardingForkTime": 0,
"terminalTotalDifficulty": 0
},
"alloc": {

View File

@ -125,6 +125,10 @@ done
sleeping 20
# Reset the `genesis.json` config file fork times.
sed -i 's/"shanghaiTime".*$/"shanghaiTime": 0,/g' genesis.json
sed -i 's/"shardingForkTime".*$/"shardingForkTime": 0,/g' genesis.json
for (( bn=1; bn<=$BN_COUNT; bn++ )); do
execute_command_add_PID json_snoop_$bn.log json_rpc_snoop -p $((EL_base_auth_http + $bn)) -b 0.0.0.0 http://localhost:$((EL_base_auth_http + $bn + 10))