Skip to content

Commit 78be413

Browse files
authored
eth/ethconfig: fix history prune blocks (ethereum#31383)
1 parent 444a6d0 commit 78be413

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

eth/ethconfig/historymode.go

+6-4
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,17 @@ type HistoryPrunePoint struct {
7676
}
7777

7878
// HistoryPrunePoints contains the pre-defined history pruning cutoff blocks for known networks.
79+
// They point to the first post-merge block. Any pruning should truncate *up to* but excluding
80+
// given block.
7981
var HistoryPrunePoints = map[common.Hash]*HistoryPrunePoint{
8082
// mainnet
8183
params.MainnetGenesisHash: {
82-
BlockNumber: 15537394,
83-
BlockHash: common.HexToHash("0x56a9bb0302da44b8c0b3df540781424684c3af04d0b7a38d72842b762076a664"),
84+
BlockNumber: 15537393,
85+
BlockHash: common.HexToHash("0x55b11b918355b1ef9c5db810302ebad0bf2544255b530cdce90674d5887bb286"),
8486
},
8587
// sepolia
8688
params.SepoliaGenesisHash: {
87-
BlockNumber: 1735371,
88-
BlockHash: common.HexToHash("0x36fb89fba5b7857cf0ca78b5a9625b4043ff4555dfce9b7bcdcdd758a11eb946"),
89+
BlockNumber: 1450409,
90+
BlockHash: common.HexToHash("0x229f6b18ca1552f1d5146deceb5387333f40dc6275aebee3f2c5c4ece07d02db"),
8991
},
9092
}

0 commit comments

Comments
 (0)