privacy-scaling-explorations / zkevm-circuits

Home Page:https://privacy-scaling-explorations.github.io/zkevm-circuits/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BLOBBASEFEE opcode

hero78119 opened this issue · comments

commented

https://eips.ethereum.org/EIPS/eip-7516

Follow current BaseFee approach

/// Base Fee field
BaseFee = 8,

We need to define new field BlobBaseFee in blocktable, with new opcode BLOBBASEFEE to lookup blocktable and retrieve the value

Implementation reference for lookup in block table https://github.com/privacy-scaling-explorations/zkevm-circuits/blob/main/zkevm-circuits/src/evm_circuit/execution/block_ctx.rs#L29