Block Gas Accounting without Refunds
Authors: ,
Canonical data: /latest/eips/7778.json
Prevent Block Gas Limit Circumvention by Excluding Refunds from Block Gas Accounting
Timeline
Key Benefits
- ● Aligns block gas with actual EVM work.
- ● Prevents refund-based circumvention of block limits.
- ● Reduces worst-case block size variance.
- ● Improves node execution predictability and safety.
Trade-offs & Considerations
No trade-offs documented yet.
Stakeholder Impact
End Users
No substantial direct impact; transactions execute as before. Refunds still discount user costs but no longer shrink counted block gas.
Application Developers
Contracts generally unchanged. Only strategies exploiting large refunds lose ability to help pack extra computation into blocks via accounting quirks.
Wallet Developers
No changes required. Gas estimation, fee math, and refund display remain the same at the transaction level for users today.
Tooling / Infrastructure
Block builders, simulators, and analyzers should enforce and reflect gross block-gas accounting; update tests and dashboards to avoid refund-based variance.
Layer 2s
Minimal direct impact. Sequencers mirroring L1 semantics may adopt same accounting; otherwise, no changes to rollup fee or capacity models.
Stakers & Node Operators
Lower variance in execution work per block improves predictability and reduces pathological worst-case loads; efficiency gains from smoother resource usage.
CL Client Developers
No consensus-layer changes expected; negligible impact beyond observing more consistent block execution times on the execution layer during validation overhead.
EL Client Developers
Must implement block accounting change and tests; ensure refunds don't reduce block-gas used. Otherwise limited complexity and compatibility concerns overall.
North Star Goal Alignment
- ● Scale L1: Reduces worst-case block size and variance, improving throughput predictability; does not increase average capacity or lower fees network-wide.