mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
renamed OptimismHardforks to OpHardforks (#12441)
This commit is contained in:
@ -19,7 +19,7 @@ pub use hardfork::OpHardfork;
|
||||
use reth_ethereum_forks::EthereumHardforks;
|
||||
|
||||
/// Extends [`EthereumHardforks`] with optimism helper methods.
|
||||
pub trait OptimismHardforks: EthereumHardforks {
|
||||
pub trait OpHardforks: EthereumHardforks {
|
||||
/// Convenience method to check if [`OpHardfork::Bedrock`] is active at a given block
|
||||
/// number.
|
||||
fn is_bedrock_active_at_block(&self, block_number: u64) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user