{
  "id": 8057,
  "title": "EIP-8057: Inter-Block Temporal Locality Gas Discounts",
  "status": "Draft",
  "type": "Standards Track",
  "category": "Core",
  "summary": "Ethereum clients already cache recently used state, so touching the same contracts again soon is cheaper in practice. This EIP updates gas costs to reflect that reality: if an account or storage slot was accessed in the last few blocks, the first access in a new transaction costs less gas. Nothing else about how transactions work changes.",
  "impacts": [
    "Some transactions touching recently used contracts or storage may cost less gas, lowering typical fees without changing how users interact.",
    "Apps that reuse the same accounts or storage in nearby blocks pay less gas on first access. No opcode changes required.",
    "Wallet gas estimators must include temporal discounts using recent block access lists. Pricing is deterministic from public chain data.",
    "Builders and searchers may batch related operations across back-to-back blocks to capture discounts. Tooling must report per-call gas using this rule.",
    "Rollup bridges and keepers reusing L1 state across nearby blocks pay less gas on first access. Rollup protocol rules remain unchanged.",
    "Validators must upgrade for the fork and maintain a short rolling index of recently accessed items to verify block gas charges.",
    "Consensus clients mostly just activate the fork and accept payloads using the new gas schedule. No other logic changes.",
    "Execution-layer clients must implement the new temporal discount logic, track prior-block access lists, and update gas accounting for first accesses.",
    "Aligns gas costs with real client caching and hardware behavior.",
    "Lowers average per-access gas without increasing worst-case cost.",
    "Improves effective L1 throughput and block execution efficiency.",
    "Enables deterministic, provable pricing from recent block data, easing stateless validation."
  ],
  "discussion_url": "https://ethereum-magicians.org/t/eip-8057-block-temporal-locality-gas-discounts/25912",
  "source_markdown_url": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8057.md",
  "canonical_url": "/latest/eips/8057.json",
  "markdown_url": "/latest/eips/8057.md",
  "citations": [
    {
      "recordId": "eip-8057",
      "artifactPath": "normalized/8057.json",
      "url": "/records/proposal/eip-8057/normalized/8057.json",
      "label": "EIP-8057: Inter-Block Temporal Locality Gas Discounts",
      "snippet": "Ethereum clients already cache recently used state, so touching the same contracts again soon is cheaper in practice. This EIP updates gas costs to reflect that reality: if an account or storage slot was accessed in the "
    }
  ]
}
