mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor: reduce Hardforks trait usage (#13728)
This commit is contained in:
@ -765,6 +765,10 @@ impl Hardforks for ChainSpec {
|
||||
}
|
||||
|
||||
impl EthereumHardforks for ChainSpec {
|
||||
fn ethereum_fork_activation(&self, fork: EthereumHardfork) -> ForkCondition {
|
||||
self.fork(fork)
|
||||
}
|
||||
|
||||
fn get_final_paris_total_difficulty(&self) -> Option<U256> {
|
||||
self.get_final_paris_total_difficulty()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user