mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-23 12:18:16 +00:00
eip1559: import original min gas limit (#3560)
This commit is contained in:
parent
5aa223d7f3
commit
efd64dba56
@ -176,6 +176,9 @@ class World(ABC):
|
||||
assert block.gas_limit < parent_gas_limit + parent_gas_limit // 1024, 'invalid block: gas limit increased too much'
|
||||
assert block.gas_limit > parent_gas_limit - parent_gas_limit // 1024, 'invalid block: gas limit decreased too much'
|
||||
|
||||
# check if the gas limit is at least the minimum gas limit
|
||||
assert block.gas_limit >= 5000
|
||||
|
||||
# check if the base fee is correct
|
||||
if INITIAL_FORK_BLOCK_NUMBER == block.number:
|
||||
expected_base_fee_per_gas = INITIAL_BASE_FEE
|
||||
|
Loading…
x
Reference in New Issue
Block a user