Ethereum Protocol Fellowship (EPF) Cohort 7 — Applications open until May 13
All EIPs
EIP-7823 Final

Set upper bounds for MODEXP

Authors: ,

Canonical data: /latest/eips/7823.json

Each input field is restricted to a maximum of 8192 bits

Timeline

Included
EIP Created Nov 11, 2024

Key Benefits

  • Eliminates underpriced cryptographic operations
  • Prevents potential DoS attacks
  • Better compensation for computational work
  • More consistent gas pricing

Trade-offs & Considerations

No trade-offs documented yet.

Stakeholder Impact

End Users

No impact - analysis shows no historical transactions would be affected by these limits.

Application Developers

Applications using very large cryptographic operations (>8192 bits) would need to restructure, but no known use cases exist.

Wallet Developers

No user-facing impact as limits exceed all practical cryptographic use cases.

Tooling / Infrastructure

Gas estimation and fee calculation tools need updates for the new ModExp pricing formula.

Layer 2s

Provides more predictable gas costs for cryptographic operations in L2 smart contracts.

Stakers & Node Operators

Reduced risk of consensus bugs and more predictable resource usage for MODEXP operations.

CL Client Developers

No changes required for consensus layer implementations.

EL Client Developers

Must implement bounds checking for MODEXP inputs and handle new error conditions for oversized inputs.

North Star Goal Alignment

  • Scale L1: Improves network reliability by preventing consensus bugs and reducing testing complexity for a critical precompile.