Hardforks are consensus layer types of the OP Stack.Documentation Index
Fetch the complete documentation index at: https://docs.optimism.io/llms.txt
Use this file to discover all available pages before exploring further.
kona-hardforks most directly exports the Hardforks type that provides
the network upgrade transactions for OP Stack hardforks including the following.
Each hardfork has its own type in kona-hardforks that exposes the network
upgrade transactions for that hardfork.
For example, the Ecotone type can be used to retrieve the Ecotone
network upgrade transactions through its txs() -> impl Iterator<Bytes> method.
Hardforks type exposes each hardfork type as a field
that can be directly referenced without needing to import all the different hardforks.