Skip to main content

Fee Schedule

info

This section is a placeholder, we will flesh this out in much greater detail when we come to profile operations and assign gas costs

ActionResource DomainConsumption CalculationComment
Verifying the private kernel proofL2Fixed L2/Transaction
Verifying each nullifier against the world stateL2Fixed L2/Tx nullifier
Verifying each nullifier against others in the same blockL2Fixed L2/Tx nullifierWhilst not strictly a fixed cost, this would need to be allocated as a fixed cost as it depends on the composition of the rollup
Verifying log preimages against the sha256 log hashes contained in the private kernel public inputsL2L2 gas per pre-image field
Verifying contract deployment data against the sha256 hash of this data contained in the private kernel public inputsL2L2 gas per hash
Publishing contract data to DADADA gas per byte
Publishing state updates to DADADA gas per byte
Publishing notes/tags to DADADA gas per byte
Publishing L2->L1 messagesL1Calldata gas per byte + processing & storing of the message
Public function executionL2L2 gas per function opcode
Proving the public VM circuit for a public functionL2Fixed L2/Tx public function
Proving the public kernel circuit for a public functionL2Fixed L2/Tx public function
Proving the base rollup circuitL2Fixed L2/Transaction
Proving the merge rollup circuitL2Amortized L2/Transaction
Proving the root rollup circuitL2Amortized L2/Transaction
Publishing the block header to L1L1Amortized L1/Transaction
Verifying the rollup proofL1Amortized L1/Transaction