Website: fix chain config when start a private network

Must manually set config.terminalTotalDifficultyPassed true to start node after https://github.com/ethereum/go-ethereum/pull/29169
This commit is contained in:
mileschen 2024-04-12 17:41:55 +08:00
parent cfbbc278e8
commit d4b609eadf

View file

@ -70,6 +70,7 @@ The `period` configuration option sets the target block time of the chain.
"petersburgBlock": 0, "petersburgBlock": 0,
"istanbulBlock": 0, "istanbulBlock": 0,
"berlinBlock": 0, "berlinBlock": 0,
"terminalTotalDifficultyPassed": true,
"clique": { "clique": {
"period": 5, "period": 5,
"epoch": 30000 "epoch": 30000
@ -102,6 +103,7 @@ Since Ethash is the default consensus algorithm, no additional parameters need t
"petersburgBlock": 0, "petersburgBlock": 0,
"istanbulBlock": 0, "istanbulBlock": 0,
"berlinBlock": 0, "berlinBlock": 0,
"terminalTotalDifficultyPassed": true,
"ethash": {} "ethash": {}
}, },
"difficulty": "1", "difficulty": "1",
@ -274,6 +276,7 @@ In each data directory save a copy of the following `genesis.json` to the top le
"londonBlock": 0, "londonBlock": 0,
"arrowGlacierBlock": 0, "arrowGlacierBlock": 0,
"grayGlacierBlock": 0, "grayGlacierBlock": 0,
"terminalTotalDifficultyPassed": true,
"clique": { "clique": {
"period": 5, "period": 5,
"epoch": 30000 "epoch": 30000