File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
scripts/local_testnet_pos Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ GETH_http_base=8545
9898GETH_el_base=8645
9999
100100# Make Geth config with genesis time and TTD.
101- SHANGHAI_TIME=$(( $GENESIS_TIME + $CAPELLA_FORK_EPOCH * $SECONDS_PER_SLOT * 32 ))
102- echo " Shangai time = $SHANGHAI_TIME "
101+ SHANGHAI_TIME=$(( $GENESIS_TIME + $CAPELLA_FORK_EPOCH * $SECONDS_PER_SLOT * 8 ))
102+ echo " Shanghai time = $SHANGHAI_TIME "
103103cat ./config/geth.json.template \
104104 | sed " s/SHANGHAI_BLOCK_TEMPLATE/$SHANGHAI_TIME /" \
105105 | sed " s/TERMINAL_TOTAL_DIFFICULTY_TEMPLATE/$TERMINAL_TOTAL_DIFFICULTY /" > ./config/geth.json
Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ NETWORK_ID=4242
3232# Hard fork configuration
3333ALTAIR_FORK_EPOCH = 0
3434MERGE_FORK_EPOCH = 0
35- CAPELLA_FORK_EPOCH = 1
35+ CAPELLA_FORK_EPOCH = 20
3636
3737TERMINAL_TOTAL_DIFFICULTY = 15000000
3838
3939# Spec version (mainnet or minimal)
40- SPEC_PRESET = mainnet
40+ SPEC_PRESET = minimal
4141
4242# Seconds per Eth2 slot
4343SECONDS_PER_SLOT = 6
You can’t perform that action at this time.
0 commit comments