Hardfork (HardforkType) represents an Ethereum protocol upgrade in chronological order from FRONTIER through OSAKA (DEFAULT) and AMSTERDAM, providing version comparisons, range queries, and EIP activation predicates.
Hardfork Constants
Difficulty-bomb forks also included:
MUIR_GLACIER, ARROW_GLACIER, GRAY_GLACIER.
Hardfork.DEFAULT is OSAKA, the latest activated mainnet fork. AMSTERDAM is defined for forward-looking feature checks but is not yet scheduled on mainnet.
Quick Start
@tevm/voltaire or @tevm/voltaire/Hardfork.
API Reference
Related
- GasConstants — Fork-sensitive gas calculations
- Chain — Network configurations and hardfork activation block numbers
- Opcode — Opcodes added per hardfork

