def METHOD_NAME(noproof_consensus_chain):
    block1 = noproof_consensus_chain.mine_block()
    block2 = noproof_consensus_chain.mine_block()
    max_increase = block1.header.gas_limit // constants.GAS_LIMIT_ADJUSTMENT_FACTOR - 1
    barely_valid_high_gas_limit = block1.header.gas_limit + max_increase
    barely_valid_header = block2.header.copy(gas_limit=barely_valid_high_gas_limit)
    vm = noproof_consensus_chain.get_vm(block2.header)
    vm.validate_header(barely_valid_header, block1.header)