{"eip":7783,"title":"Add Controlled Gas Limit Increase Strategy","description":"Adds a controlled gas limit increase strategy.","authors":["Giulio Rebuffo (@Giulio2002)"],"status":"Stagnant","type":"Informational","created":"2024-10-06","discussionsTo":"https://ethereum-magicians.org/t/eip-7783-add-controlled-gas-limit-increase-strategy/21282","repo":"EIPs","label":"EIP-7783","officialUrl":"https://eips.ethereum.org/EIPS/eip-7783","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7783.md","url":"https://eips.huatuo.xyz/eip-7783/","tldr":{"en":"Proposes a default client-side schedule that raises the block gas limit slowly and predictably over time, instead of relying on ad hoc validator votes.","ja":"場当たり的なバリデーターの投票に頼らず、ブロックのガス上限を時間をかけて緩やかに予測可能な形で引き上げる、クライアント側のデフォルトスケジュールを提案する。","ko":"즉흥적인 검증자 투표에 의존하지 않고, 블록 가스 한도를 시간을 두고 완만하고 예측 가능하게 올리는 클라이언트 측 기본 스케줄을 제안한다.","zh":"提议一个客户端默认的调度方案，让区块 gas 上限随时间缓慢且可预测地提高，而不是依赖临时性的验证者投票。"},"tags":["gas-limit","scaling","validators","clients","informational"],"explainers":{"en":{"lang":"en","tldr":"Proposes a default client-side schedule that raises the block gas limit slowly and predictably over time, instead of relying on ad hoc validator votes.","tags":["gas-limit","scaling","validators","clients","informational"],"related":[1559,7935],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-7783/","markdown":"## What problem does it solve?\n\nOn Ethereum the block gas limit is not fixed by the protocol. Each block proposer may nudge it slightly up or down toward a target configured in their client. In practice that target only changes when operators coordinate and reconfigure their software, which tends to produce sudden, hard-to-predict jumps.\n\nThis informational EIP suggests a different default: clients ship with a **gradual, rule-based schedule** that raises the target a little every block (or every few thousand blocks) up to a cap. Growth becomes predictable, the ecosystem has time to watch metrics, and operators can still override the schedule at any time.\n\n## How it works\n\nThe proposal is a gas-limit *selection strategy* for block producers. It is not a consensus rule: proposers still must respect the protocol's existing limits on how much the gas limit can change per block. The strategy simply decides what value the proposer aims for.\n\nInputs common to all variants:\n\n- `blockNumStart`: when the ramp begins\n- `initialGasLimit`: the starting limit\n- `gasLimitCap`: the ceiling the ramp stops at\n\nThree variants are described:\n\n1. **Linear**: add `r` gas per block until the cap.\n2. **Stepwise linear**: add `r` gas every `step_blocks_interval` blocks. Bigger, more visible steps with \"cooldown\" periods to gather stable metrics.\n3. **Exponential**: double the limit every `doubling_blocks_interval` blocks, up to the cap.\n\nThe cap acts as a deactivation safeguard: once reached, growth stops and the community can reassess. Validators can also halt the ramp or switch to a fixed value whenever they like, for example during a DoS incident.\n\n## Sample code\n\nStepwise linear strategy as a client could implement it (Python, based on the spec's pseudocode):\n\n```python\ndef target_gas_limit(block_num: int,\n                     block_num_start: int,\n                     initial_gas_limit: int,\n                     r: int,\n                     step_blocks_interval: int,\n                     gas_limit_cap: int) -\u003e int:\n    if block_num \u003c block_num_start:\n        return initial_gas_limit\n    steps = (block_num - block_num_start) // step_blocks_interval\n    return min(gas_limit_cap, initial_gas_limit + r * steps)\n\n# The proposer then moves the actual gas limit toward this target,\n# within the per-block adjustment bounds the protocol already enforces.\n```\n\n## Things to know\n\n- **Status: Stagnant**, and of type Informational: it does not change consensus and needs no hard fork.\n- The spec gives no single recommended parameter set for mainnet; its worked example is illustrative, and the example numbers in the text are internally inconsistent, so do not treat them as a plan.\n- The spec's pseudocode is loose (some variables are used but not passed in); treat it as a sketch.\n- Gas limit changes have since been coordinated in other ways, for example [EIP-7935](/eip-7935/), which sets a default client gas limit of 60M.\n"},"ja":{"lang":"ja","tldr":"場当たり的なバリデーターの投票に頼らず、ブロックのガス上限を時間をかけて緩やかに予測可能な形で引き上げる、クライアント側のデフォルトスケジュールを提案する。","tags":["gas-limit","scaling","validators","clients","informational"],"related":[1559,7935],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-7783/","markdown":"## 何を解決するのか\n\nEthereum では、ブロックのガス上限はプロトコルで固定されていません。各ブロックのプロポーザーは、自分のクライアントに設定された目標値に向けて、上限をわずかに上下させることができます。実際には、その目標値はオペレーターが調整してソフトウェアを再設定したときにしか変わらず、突然で予測しにくい跳ね上がりが生じがちです。\n\nこの情報提供型 EIP は別のデフォルトを提案します。クライアントが**段階的でルールベースのスケジュール**を備えて出荷され、上限に達するまで、毎ブロック（または数千ブロックごと）に目標値を少しずつ引き上げます。成長が予測可能になり、エコシステムには指標を見守る時間ができ、オペレーターはいつでもスケジュールを上書きできます。\n\n## 仕組み\n\nこの提案は、ブロックプロデューサー向けのガス上限の*選択戦略*です。コンセンサスルールではありません。プロポーザーは、ブロックごとにガス上限が変えられる幅についてのプロトコル既存の制限を、引き続き守る必要があります。この戦略は、プロポーザーが狙う値を決めるだけです。\n\nすべてのバリエーションに共通する入力:\n\n- `blockNumStart`: 引き上げを開始するブロック\n- `initialGasLimit`: 開始時の上限\n- `gasLimitCap`: 引き上げが止まる上限値\n\n3 つのバリエーションが説明されています。\n\n1. **線形**: 上限に達するまで、1 ブロックごとに `r` ガスを加算します。\n2. **階段状の線形**: `step_blocks_interval` ブロックごとに `r` ガスを加算します。より大きく目に見えるステップと、安定した指標を集めるための「クールダウン」期間を設けます。\n3. **指数**: `doubling_blocks_interval` ブロックごとに上限を 2 倍にし、上限値で止めます。\n\n上限値は、停止のための安全装置として機能します。到達すると成長は止まり、コミュニティが再評価できます。バリデーターは、たとえば DoS インシデントの最中など、いつでも引き上げを止めたり、固定値に切り替えたりできます。\n\n## サンプルコード\n\nクライアントが実装しうる階段状の線形戦略（Python、仕様の擬似コードに基づく）:\n\n```python\ndef target_gas_limit(block_num: int,\n                     block_num_start: int,\n                     initial_gas_limit: int,\n                     r: int,\n                     step_blocks_interval: int,\n                     gas_limit_cap: int) -\u003e int:\n    if block_num \u003c block_num_start:\n        return initial_gas_limit\n    steps = (block_num - block_num_start) // step_blocks_interval\n    return min(gas_limit_cap, initial_gas_limit + r * steps)\n\n# The proposer then moves the actual gas limit toward this target,\n# within the per-block adjustment bounds the protocol already enforces.\n```\n\n## 知っておくべきこと\n\n- **ステータス: Stagnant**、種別は Informational です。コンセンサスを変更せず、ハードフォークも不要です。\n- 仕様は、メインネット向けに推奨される単一のパラメータセットを示していません。使用例は説明用で、本文中の例の数値は内部的に整合していないため、計画として扱わないでください。\n- 仕様の擬似コードは大まかです（使われているのに引数として渡されていない変数があります）。スケッチとして扱ってください。\n- ガス上限の変更はその後、別の方法で調整されてきました。たとえば [EIP-7935](/eip-7935/) は、クライアントのデフォルトのガス上限を 60M に設定します。\n"},"ko":{"lang":"ko","tldr":"즉흥적인 검증자 투표에 의존하지 않고, 블록 가스 한도를 시간을 두고 완만하고 예측 가능하게 올리는 클라이언트 측 기본 스케줄을 제안한다.","tags":["gas-limit","scaling","validators","clients","informational"],"related":[1559,7935],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-7783/","markdown":"## 어떤 문제를 해결하나요?\n\n이더리움에서 블록 가스 한도는 프로토콜이 고정하지 않습니다. 각 블록 제안자는 자신의 클라이언트에 설정된 목표를 향해 한도를 조금씩 올리거나 내릴 수 있습니다. 실제로는 운영자들이 조율해 소프트웨어를 다시 설정할 때만 이 목표가 바뀌므로, 갑작스럽고 예측하기 어려운 도약이 생기기 쉽습니다.\n\n이 정보성 EIP는 다른 기본값을 제안합니다. 클라이언트가 **점진적이고 규칙에 기반한 스케줄**을 갖춰 출시되어, 상한에 이를 때까지 매 블록(또는 수천 블록마다) 목표를 조금씩 올립니다. 성장이 예측 가능해지고, 생태계는 지표를 지켜볼 시간을 얻으며, 운영자는 언제든 스케줄을 덮어쓸 수 있습니다.\n\n## 어떻게 동작하나요?\n\n이 제안은 블록 생산자를 위한 가스 한도 *선택 전략*입니다. 합의 규칙이 아닙니다. 제안자는 여전히 블록당 가스 한도를 얼마나 바꿀 수 있는지에 대한 프로토콜의 기존 제한을 지켜야 합니다. 이 전략은 제안자가 목표로 삼을 값을 정할 뿐입니다.\n\n모든 변형에 공통되는 입력:\n\n- `blockNumStart`: 상향이 시작되는 블록\n- `initialGasLimit`: 시작 한도\n- `gasLimitCap`: 상향이 멈추는 상한\n\n세 가지 변형이 설명되어 있습니다.\n\n1. **선형**: 상한에 이를 때까지 블록마다 `r` 가스를 더합니다.\n2. **계단식 선형**: `step_blocks_interval` 블록마다 `r` 가스를 더합니다. 더 크고 눈에 띄는 단계와, 안정적인 지표를 모으기 위한 \"쿨다운\" 기간을 둡니다.\n3. **지수**: `doubling_blocks_interval` 블록마다 한도를 두 배로 늘리며 상한까지 갑니다.\n\n상한은 비활성화 안전장치로 작동합니다. 도달하면 성장이 멈추고 커뮤니티가 다시 평가할 수 있습니다. 검증자는 예를 들어 DoS 사고가 났을 때처럼 언제든 상향을 중단하거나 고정값으로 바꿀 수도 있습니다.\n\n## 샘플 코드\n\n클라이언트가 구현할 수 있는 계단식 선형 전략(Python, 명세의 의사 코드 기반):\n\n```python\ndef target_gas_limit(block_num: int,\n                     block_num_start: int,\n                     initial_gas_limit: int,\n                     r: int,\n                     step_blocks_interval: int,\n                     gas_limit_cap: int) -\u003e int:\n    if block_num \u003c block_num_start:\n        return initial_gas_limit\n    steps = (block_num - block_num_start) // step_blocks_interval\n    return min(gas_limit_cap, initial_gas_limit + r * steps)\n\n# The proposer then moves the actual gas limit toward this target,\n# within the per-block adjustment bounds the protocol already enforces.\n```\n\n## 알아둘 점\n\n- **상태: Stagnant**이며 유형은 Informational입니다. 합의를 바꾸지 않고 하드포크도 필요하지 않습니다.\n- 명세는 메인넷에 권장되는 단일 파라미터 세트를 제시하지 않습니다. 작동 예시는 설명용이며, 본문의 예시 숫자는 내부적으로 일관되지 않으므로 계획으로 받아들이지 마세요.\n- 명세의 의사 코드는 느슨합니다(사용되지만 전달되지 않는 변수가 있습니다). 스케치로 취급하세요.\n- 이후 가스 한도 변경은 다른 방식으로 조율되어 왔습니다. 예를 들어 [EIP-7935](/eip-7935/)는 클라이언트의 기본 가스 한도를 60M으로 정합니다.\n"},"zh":{"lang":"zh","tldr":"提议一个客户端默认的调度方案，让区块 gas 上限随时间缓慢且可预测地提高，而不是依赖临时性的验证者投票。","tags":["gas-limit","scaling","validators","clients","informational"],"related":[1559,7935],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-7783/","markdown":"## 它解决什么问题？\n\n在以太坊上，区块 gas 上限并不是由协议固定的。每个区块提议者可以朝着其客户端中配置的目标，把它小幅上调或下调。实际上，这个目标只有在运营者协调并重新配置软件时才会改变，这往往造成突然且难以预测的跳变。\n\n这个信息类 EIP 建议采用不同的默认方式：客户端自带一套**渐进的、基于规则的调度**，每个区块（或每隔几千个区块）把目标稍微提高一点，直到某个上限。增长变得可预测，生态有时间观察各项指标，运营者也仍可随时覆盖这套调度。\n\n## 它如何运作\n\n该提案是面向区块生产者的 gas 上限*选择策略*，不是共识规则：提议者仍须遵守协议中已有的关于每个区块 gas 上限最多可变化多少的限制。该策略只是决定提议者要瞄准的数值。\n\n所有变体共有的输入：\n\n- `blockNumStart`：开始提升的区块\n- `initialGasLimit`：起始上限\n- `gasLimitCap`：提升停止的上限值\n\n文中描述了三种变体：\n\n1. **线性**：每个区块增加 `r` gas，直到上限。\n2. **阶梯线性**：每 `step_blocks_interval` 个区块增加 `r` gas。台阶更大、更明显，并带有\"冷却\"期，以便收集稳定的指标。\n3. **指数**：每 `doubling_blocks_interval` 个区块把上限翻倍，直到上限值。\n\n这个上限值起到停用保障的作用：一旦达到，增长就停止，社区可以重新评估。验证者也可以随时停止提升或切换为固定值，例如在发生 DoS 事件期间。\n\n## 示例代码\n\n客户端可以实现的阶梯线性策略（Python，基于规范中的伪代码）：\n\n```python\ndef target_gas_limit(block_num: int,\n                     block_num_start: int,\n                     initial_gas_limit: int,\n                     r: int,\n                     step_blocks_interval: int,\n                     gas_limit_cap: int) -\u003e int:\n    if block_num \u003c block_num_start:\n        return initial_gas_limit\n    steps = (block_num - block_num_start) // step_blocks_interval\n    return min(gas_limit_cap, initial_gas_limit + r * steps)\n\n# The proposer then moves the actual gas limit toward this target,\n# within the per-block adjustment bounds the protocol already enforces.\n```\n\n## 需要注意\n\n- **状态：Stagnant**，类型为 Informational：它不改变共识，也不需要硬分叉。\n- 规范没有给出针对主网的单一推荐参数集；其示例仅作说明，而且文中的示例数字内部并不一致，所以不要把它们当作计划。\n- 规范的伪代码比较松散（有些变量被使用却没有传入）；请把它当作草图。\n- 此后 gas 上限的变更已通过其他方式协调，例如 [EIP-7935](/eip-7935/)，它把客户端的默认 gas 上限设为 60M。\n"}},"requiredBy":[7790]}
