reset genesis.json fork times
This commit is contained in:
parent
6d4fb41b84
commit
b616c0a056
@ -12,8 +12,8 @@
|
|||||||
"berlinBlock": 0,
|
"berlinBlock": 0,
|
||||||
"londonBlock": 0,
|
"londonBlock": 0,
|
||||||
"mergeNetsplitBlock": 0,
|
"mergeNetsplitBlock": 0,
|
||||||
"shanghaiTime": 1670438240,
|
"shanghaiTime": 0,
|
||||||
"shardingForkTime": 1670438336,
|
"shardingForkTime": 0,
|
||||||
"terminalTotalDifficulty": 0
|
"terminalTotalDifficulty": 0
|
||||||
},
|
},
|
||||||
"alloc": {
|
"alloc": {
|
||||||
|
@ -125,6 +125,10 @@ done
|
|||||||
|
|
||||||
sleeping 20
|
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
|
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))
|
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))
|
||||||
|
Loading…
Reference in New Issue
Block a user