Skip to content

Commit

Permalink
Fix t8n in London
Browse files Browse the repository at this point in the history
  • Loading branch information
marioevz committed Oct 2, 2024
1 parent 8d617fb commit e051b69
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/ethereum_spec_tools/evm_tools/t8n/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,6 @@ def read_base_fee_per_gas(self, data: Any, t8n: "T8N") -> None:
self.parent_base_fee_per_gas,
]

# TODO: See if this explicit check can be removed. See
# https://github.com/ethereum/execution-specs/issues/740
if t8n.fork.fork_module == "london":
parameters.append(t8n.fork_block == self.block_number)

self.base_fee_per_gas = t8n.fork.calculate_base_fee_per_gas(
*parameters
)
Expand Down

0 comments on commit e051b69

Please sign in to comment.