mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 09:51:36 +00:00
Remove premature HistoryPruningCutoff checks that returned PrunedHistoryError before block-number-based queries could reach the era file fallback in the chain freezer. The chain freezer's Ancient() method already has logic to consult era files when data has been pruned from the main ancient store. This enables eth_getBlockByNumber, eth_getLogs, and other block-number-based RPC methods to serve historical data from era files when the corresponding blocks have been pruned from ancients. Fixes #33666 |
||
|---|---|---|
| .. | ||
| api.go | ||
| api_test.go | ||
| filter.go | ||
| filter_system.go | ||
| filter_system_test.go | ||
| filter_test.go | ||