{
  "id": 7883,
  "title": "EIP-7883: ModExp Gas Cost Increase",
  "status": "Final",
  "type": "Standards Track",
  "category": "Core",
  "summary": "This increases the gas cost of the ModExp cryptographic precompile to address underpriced operations. It raises the minimum cost from 200 to 500 gas and doubles costs for large inputs over 32 bytes.",
  "impacts": [
    "Most users unaffected. Applications using ModExp with large inputs (>32 bytes) will see increased gas costs.",
    "Applications using RSA verification, large modular exponentiation, or cryptographic protocols with big numbers may need to optimize or budget for higher costs.",
    "No impact as wallets typically don't use ModExp precompile directly.",
    "Gas estimation and fee calculation tools need updates for the new ModExp pricing formula.",
    "L2s using ModExp precompile for cryptographic operations will see increased costs for large input operations.",
    "Better compensation alignment for computational work, reduced risk of DoS attacks through underpriced operations.",
    "No direct impact on consensus layer operations as this affects execution layer precompile pricing.",
    "Need to implement the updated ModExp pricing formula with new minimum costs and scaling factors for large inputs.",
    "Fixes underpriced ModExp operations that cost less than simpler precompiles",
    "Ensures ModExp pricing reflects actual computational cost",
    "Prevents potential DoS from cheap complex operations",
    "Aligns gas costs with performance benchmarks"
  ],
  "discussion_url": "https://ethereum-magicians.org/t/eip-7883-modexp-gas-cost-increase/22841",
  "source_markdown_url": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7883.md",
  "canonical_url": "/latest/eips/7883.json",
  "markdown_url": "/latest/eips/7883.md",
  "citations": [
    {
      "recordId": "eip-7883",
      "artifactPath": "normalized/7883.json",
      "url": "/records/proposal/eip-7883/normalized/7883.json",
      "label": "EIP-7883: ModExp Gas Cost Increase",
      "snippet": "This increases the gas cost of the ModExp cryptographic precompile to address underpriced operations. It raises the minimum cost from 200 to 500 gas and doubles costs for large inputs over 32 bytes."
    }
  ]
}
