• lightclient's avatar
    cmd/evm: calc base fee if parent data is present (#26051) · fbdeff99
    lightclient authored
    Currently, in order to chain together sequential valid t8n transitions the caller must manually calculate the block base fee. This PR adds support for the necessary parent fee market data to calculate the base fee for the current transition.
    
    Concretely, env is extended to accept the following:
    
        parentBaseFee
        parentGasUsed
        parentGasLimit
    
    Example usage can be found in ./cmd/evm/testdata/25.
    Co-authored-by: 's avatarMartin Holst Swende <martin@swende.se>
    fbdeff99
Name
Last commit
Last update
..
alloc.json Loading commit data...
env.json Loading commit data...
exp.json Loading commit data...
txs.json Loading commit data...