SpaceIDProtocol
@spaceidprotocol
How is the Gas fee calculated? Ethereum resources are limited, and Gas is used to quantify these resources. EXECUTE precompilation also has its own Gas model to manage computing resources: ——Basic fee: Precompilation charges a fixed fee (EXECUTE_GAS_COST), plus the amount of Gas used for the execution trajectory multiplied by the Gas unit price. ——Cumulative Gas limit: A mechanism similar to EIP-1559 is used to measure and price the total Gas consumption of all EXECUTE calls in an L1 block, specifically: 🔹EXECUTE_CUMULATIVE_GAS_LIMIT: The maximum amount of Gas that can be used by all EXECUTE calls in a block. 🔹EXECUTE_CUMULATIVE_GAS_TARGET: The target Gas usage, used for reasonable pricing. This can be seen as a "limit-target" Gas model, a bit like the DA pricing method for data blocks (blobs).
0 reply
0 recast
0 reaction