Files
evm/internal/ethapi/mocks_generate_test.go
Quentin McGaw dcbb43815a feat(internal/ethapi)!: reject eth_getProof queries for historical blocks
- default behavior for pruning mode to reject blocks before the 32 blocks preceding the last accepted block
- default behavior for archive mode to reject blocks before ~24h worth of blocks preceding the last accepted block
- archive mode new option `historical-proof-query-window` to customize the blocks window, or set it to 0 to accept any block number

See https://github.com/ava-labs/coreth/pull/719
2025-03-13 12:41:27 +01:00

4 lines
119 B
Go

package ethapi
//go:generate go run go.uber.org/mock/mockgen -package=$GOPACKAGE -destination=mocks_test.go . Backend