diff --git a/EIPS/eip-1559.md b/EIPS/eip-1559.md index f56b17ef522090..46186ccebb017b 100644 --- a/EIPS/eip-1559.md +++ b/EIPS/eip-1559.md @@ -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