{"eip":8046,"title":"Uniform price auction over inclusion lists","description":"Ensure IL transactions that offer a higher ranking fee than competing transactions are included in the block. Burn the marginal ranking fee.","authors":["Anders Elowsson (@anderselowsson)"],"status":"Draft","type":"Standards Track","category":"Core","created":"2025-10-16","requires":[7805,8037,8141,8369],"discussionsTo":"https://ethereum-magicians.org/t/eip-8046-uniform-price-auction-over-inclusion-lists/25844","repo":"EIPs","label":"EIP-8046","officialUrl":"https://eips.ethereum.org/EIPS/eip-8046","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8046.md","url":"https://eips.huatuo.xyz/eip-8046/","tldr":{"en":"Adds a uniform price auction on top of FOCIL inclusion lists: in a full block, no transaction may displace an inclusion-list transaction offering more, and everyone pays the same burned marginal fee, keeping censorship resistance when blocks are full.","ja":"FOCIL のインクルージョンリストの上に均一価格オークションを追加する。ブロックが満杯のとき、より高い額を提示したインクルージョンリスト内のトランザクションを他のトランザクションが押しのけることはできず、全員が同じ限界手数料（バーンされる）を支払う。これにより、ブロックが満杯でも検閲耐性が保たれる。","ko":"FOCIL 포함 목록 위에 균일 가격 경매를 더한다. 블록이 가득 찼을 때 더 높은 금액을 제시한 포함 목록 트랜잭션을 다른 트랜잭션이 밀어낼 수 없으며, 모두가 소각되는 동일한 한계 수수료를 낸다. 블록이 가득 차도 검열 저항성이 유지된다.","zh":"在 FOCIL 包含列表之上增加统一价格拍卖：在区块已满时，任何交易都不能挤掉出价更高的包含列表交易，所有人都支付同一个被销毁的边际费用，从而在区块拥挤时保持抗审查能力。"},"tags":["censorship-resistance","focil","fees","auction","core"],"explainers":{"en":{"lang":"en","tldr":"Adds a uniform price auction on top of FOCIL inclusion lists: in a full block, no transaction may displace an inclusion-list transaction offering more, and everyone pays the same burned marginal fee, keeping censorship resistance when blocks are full.","tags":["censorship-resistance","focil","fees","auction","core"],"related":[7805,1559,8037,7999,8141],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-8046/","markdown":"## What problem does it solve?\n\nFOCIL ([EIP-7805](/eip-7805/)) lets a committee of **includers** publish inclusion lists (ILs) of pending transactions, and attesters only accept blocks that contain them. But there is an escape hatch: if the block is full, the builder may leave IL transactions out. FOCIL has no way to rank transactions, so a builder can fill the block with its own or private transactions and still censor.\n\nThis gets worse with multidimensional gas, where a builder can make a block \"full\" cheaply by stuffing a single resource with dummy transactions. EIP-8046 (UPIL, uniform price auction over inclusion lists) closes the gap by deciding which transactions must win when space is scarce.\n\n## How it works\n\n- **Ranking fee.** Each transaction's bid is its headroom above the base fee: `ranking_fee_per_gas = max_fee_per_gas - base_fee_per_gas`. No new field is needed. It governs inclusion only, not ordering within the block.\n- **No displacement.** In a full block, a lower-ranked transaction may not take the place of a valid IL transaction with a higher ranking fee. The FOCIL inclusion check is extended to verify this, across each gas dimension of [EIP-8037](/eip-8037/).\n- **Uniform marginal fee.** The builder declares a `marginal_ranking_fee_per_gas` in the block: the highest ranking fee of any valid IL transaction that was left out (0 if none). Every included transaction must pay `base_fee + marginal_ranking_fee`, and this **inclusion fee is burned**. Priority fees are then taken only from what remains below `max_fee_per_gas`.\n- **Settlement after execution.** Since the marginal fee depends on the block's outcome, execution must not see it. Transactions are charged at `max_fee_per_gas` during execution and refunded the difference at the end of the block; the `coinbase` receives priority fees only then.\n\nIn effect, the base fee prices congestion across blocks, and UPIL adds a second, uniform price for congestion within a block.\n\n## Sample code\n\nPer-transaction settlement, from the spec:\n\n```python\ninclusion_fee_per_gas = block.base_fee_per_gas + block.marginal_ranking_fee_per_gas\n\nfor tx, signer, gas_used in executed_transactions:\n    assert tx.max_fee_per_gas \u003e= inclusion_fee_per_gas\n    # priority fee is capped by the inclusion fee instead of the base fee\n    priority = min(tx.max_priority_fee_per_gas,\n                   tx.max_fee_per_gas - inclusion_fee_per_gas)\n    effective_gas_price = priority + inclusion_fee_per_gas\n    signer.balance += gas_used * (tx.max_fee_per_gas - effective_gas_price)  # refund\n    block.author.balance += gas_used * priority\n# inclusion_fee_per_gas * gas is never paid out: it is burned\n```\n\n## Things to know\n\n- **Status: Draft.** It also depends on other Draft or Last Call proposals: FOCIL, [EIP-8037](/eip-8037/), frame transactions ([EIP-8141](/eip-8141/)) and EIP-8369.\n- Your whole `max_fee_per_gas` can now be spent in one block when contention is high, not just slowly through base-fee rises. You never pay more than the max you signed, but a wide max no longer means you will pay much less.\n- Because transactions are charged at their max fee until the block ends, a sender has less spendable balance during the block than under [EIP-1559](/eip-1559/).\n- `GASPRICE` may understate the true price in blocks with a positive marginal fee, so contracts that reimburse gas based on it may underpay.\n- The marginal fee is burned rather than given to includers, so includers have no incentive to create artificial congestion.\n- If you send several transactions from one account, do not bid more for a later nonce; protection only holds when earlier nonces in the block rank at least as high.\n- It extends naturally to a multidimensional fee market such as [EIP-7999](/eip-7999/).\n"},"ja":{"lang":"ja","tldr":"FOCIL のインクルージョンリストの上に均一価格オークションを追加する。ブロックが満杯のとき、より高い額を提示したインクルージョンリスト内のトランザクションを他のトランザクションが押しのけることはできず、全員が同じ限界手数料（バーンされる）を支払う。これにより、ブロックが満杯でも検閲耐性が保たれる。","tags":["censorship-resistance","focil","fees","auction","core"],"related":[7805,1559,8037,7999,8141],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-8046/","markdown":"## 何を解決するのか\n\nFOCIL（[EIP-7805](/eip-7805/)）では、**includer** の委員会が保留中トランザクションのインクルージョンリスト（IL）を公開し、attester はそれらを含むブロックだけを受け入れます。しかし抜け穴があります。ブロックが満杯の場合、ビルダーは IL のトランザクションを除外してもよいのです。FOCIL にはトランザクションに順位をつける方法がないため、ビルダーは自分のトランザクションやプライベートなトランザクションでブロックを埋めつつ、検閲を行うことができます。\n\nマルチ次元ガスではこれがさらに悪化します。ビルダーはダミーのトランザクションで 1 つのリソースを埋めるだけで、安価にブロックを「満杯」にできるからです。EIP-8046（UPIL、インクルージョンリスト上の均一価格オークション）は、スペースが不足したときにどのトランザクションが優先されるべきかを決めることで、この抜け穴をふさぎます。\n\n## 仕組み\n\n- **ランキング手数料。** 各トランザクションの入札額は、ベースフィーを上回る余裕分です。`ranking_fee_per_gas = max_fee_per_gas - base_fee_per_gas`。新しいフィールドは不要です。これはインクルージョンだけを左右し、ブロック内の順序には影響しません。\n- **押しのけ禁止。** 満杯のブロックでは、ランキング手数料のより高い有効な IL トランザクションを、より低いランクのトランザクションが押しのけることはできません。FOCIL のインクルージョンチェックはこれを検証するよう拡張され、[EIP-8037](/eip-8037/) の各ガス次元にわたって適用されます。\n- **均一な限界手数料。** ビルダーはブロックに `marginal_ranking_fee_per_gas` を宣言します。これは、除外された有効な IL トランザクションのうち最も高いランキング手数料です（なければ 0）。含まれるすべてのトランザクションは `base_fee + marginal_ranking_fee` を支払う必要があり、この**インクルージョン手数料はバーンされます**。priority fee は、`max_fee_per_gas` に対して残った分からのみ取られます。\n- **実行後の精算。** 限界手数料はブロックの結果に依存するため、実行中にそれが見えてはいけません。トランザクションは実行中 `max_fee_per_gas` で課金され、ブロックの最後に差額が返金されます。`coinbase` が priority fee を受け取るのはその時点になってからです。\n\n要するに、ベースフィーはブロック間の混雑に値付けをし、UPIL はブロック内の混雑に対する 2 つ目の均一価格を加えます。\n\n## サンプルコード\n\n仕様にある、トランザクションごとの精算:\n\n```python\ninclusion_fee_per_gas = block.base_fee_per_gas + block.marginal_ranking_fee_per_gas\n\nfor tx, signer, gas_used in executed_transactions:\n    assert tx.max_fee_per_gas \u003e= inclusion_fee_per_gas\n    # priority fee is capped by the inclusion fee instead of the base fee\n    priority = min(tx.max_priority_fee_per_gas,\n                   tx.max_fee_per_gas - inclusion_fee_per_gas)\n    effective_gas_price = priority + inclusion_fee_per_gas\n    signer.balance += gas_used * (tx.max_fee_per_gas - effective_gas_price)  # refund\n    block.author.balance += gas_used * priority\n# inclusion_fee_per_gas * gas is never paid out: it is burned\n```\n\n## 知っておくべきこと\n\n- **ステータス: Draft。** 他の Draft または Last Call の提案にも依存しています。FOCIL、[EIP-8037](/eip-8037/)、フレームトランザクション（[EIP-8141](/eip-8141/)）、EIP-8369 です。\n- 競合が激しいときは、`max_fee_per_gas` の全額を 1 つのブロックで使い切る可能性があります。ベースフィーの上昇を通じてゆっくり使う場合だけではありません。署名した最大額を超えて支払うことはありませんが、最大額を広くとっても、支払額がはるかに少なくなるとは限らなくなります。\n- ブロックが終わるまでトランザクションは最大手数料で課金されるため、送信者はブロック中、[EIP-1559](/eip-1559/) の場合よりも使える残高が少なくなります。\n- 限界手数料が正のブロックでは、`GASPRICE` が実際の価格を過小に示すことがあるため、それに基づいてガス代を精算するコントラクトは支払いが不足する可能性があります。\n- 限界手数料は includer に渡されずバーンされるため、includer が人為的な混雑を作るインセンティブはありません。\n- 1 つのアカウントから複数のトランザクションを送る場合、後の nonce により高い額を入札してはいけません。保護が働くのは、ブロック内でそれより前の nonce が同等以上にランクされているときだけです。\n- [EIP-7999](/eip-7999/) のような多次元手数料市場へも自然に拡張できます。\n"},"ko":{"lang":"ko","tldr":"FOCIL 포함 목록 위에 균일 가격 경매를 더한다. 블록이 가득 찼을 때 더 높은 금액을 제시한 포함 목록 트랜잭션을 다른 트랜잭션이 밀어낼 수 없으며, 모두가 소각되는 동일한 한계 수수료를 낸다. 블록이 가득 차도 검열 저항성이 유지된다.","tags":["censorship-resistance","focil","fees","auction","core"],"related":[7805,1559,8037,7999,8141],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-8046/","markdown":"## 어떤 문제를 해결하나요?\n\nFOCIL([EIP-7805](/eip-7805/))은 **includer** 위원회가 대기 중인 트랜잭션의 포함 목록(inclusion list, IL)을 게시하고, attester는 이를 포함한 블록만 받아들이게 합니다. 하지만 빠져나갈 구멍이 있습니다. 블록이 가득 차면 빌더가 IL 트랜잭션을 빼놓아도 됩니다. FOCIL에는 트랜잭션의 순위를 매길 방법이 없어서, 빌더가 자기 트랜잭션이나 비공개 트랜잭션으로 블록을 채우면서도 검열할 수 있습니다.\n\n다차원 가스에서는 이 문제가 더 심해집니다. 빌더가 더미 트랜잭션으로 한 리소스를 채워 저렴하게 블록을 \"가득 찬\" 상태로 만들 수 있기 때문입니다. EIP-8046(UPIL, 포함 목록 위의 균일 가격 경매)은 공간이 부족할 때 어떤 트랜잭션이 이겨야 하는지를 정함으로써 이 틈을 막습니다.\n\n## 어떻게 동작하나요?\n\n- **랭킹 수수료.** 각 트랜잭션의 입찰가는 베이스 수수료를 넘는 여유분입니다. `ranking_fee_per_gas = max_fee_per_gas - base_fee_per_gas`. 새 필드는 필요하지 않습니다. 이는 포함 여부만 좌우하며 블록 안에서의 순서에는 영향을 주지 않습니다.\n- **밀어내기 금지.** 가득 찬 블록에서는 순위가 낮은 트랜잭션이 랭킹 수수료가 더 높은 유효한 IL 트랜잭션의 자리를 차지할 수 없습니다. FOCIL의 포함 검사는 이를 검증하도록 확장되며, [EIP-8037](/eip-8037/)의 각 가스 차원에 걸쳐 적용됩니다.\n- **균일한 한계 수수료.** 빌더는 블록에 `marginal_ranking_fee_per_gas`를 선언합니다. 누락된 유효한 IL 트랜잭션 중 가장 높은 랭킹 수수료입니다(없으면 0). 포함되는 모든 트랜잭션은 `base_fee + marginal_ranking_fee`를 내야 하며, 이 **포함 수수료는 소각됩니다**. 우선 수수료(priority fee)는 `max_fee_per_gas`에서 이를 뺀 나머지에서만 징수됩니다.\n- **실행 후 정산.** 한계 수수료는 블록의 결과에 따라 달라지므로 실행 중에는 보이면 안 됩니다. 트랜잭션은 실행 중 `max_fee_per_gas`로 청구되고 블록 끝에 차액을 환급받으며, `coinbase`는 그때서야 우선 수수료를 받습니다.\n\n사실상 베이스 수수료는 블록 사이의 혼잡에 가격을 매기고, UPIL은 블록 안의 혼잡에 대한 두 번째 균일 가격을 더합니다.\n\n## 샘플 코드\n\n명세에 나온 트랜잭션별 정산:\n\n```python\ninclusion_fee_per_gas = block.base_fee_per_gas + block.marginal_ranking_fee_per_gas\n\nfor tx, signer, gas_used in executed_transactions:\n    assert tx.max_fee_per_gas \u003e= inclusion_fee_per_gas\n    # priority fee is capped by the inclusion fee instead of the base fee\n    priority = min(tx.max_priority_fee_per_gas,\n                   tx.max_fee_per_gas - inclusion_fee_per_gas)\n    effective_gas_price = priority + inclusion_fee_per_gas\n    signer.balance += gas_used * (tx.max_fee_per_gas - effective_gas_price)  # refund\n    block.author.balance += gas_used * priority\n# inclusion_fee_per_gas * gas is never paid out: it is burned\n```\n\n## 알아둘 점\n\n- **상태: Draft.** 다른 Draft 또는 Last Call 제안에도 의존합니다. FOCIL, [EIP-8037](/eip-8037/), 프레임 트랜잭션([EIP-8141](/eip-8141/)), EIP-8369입니다.\n- 경쟁이 심할 때는 베이스 수수료가 오르면서 서서히 쓰이는 것이 아니라, `max_fee_per_gas` 전체가 한 블록에서 쓰일 수 있습니다. 서명한 최대값보다 더 내는 일은 없지만, 최대값을 넓게 잡는다고 해서 훨씬 적게 낸다는 보장은 더 이상 없습니다.\n- 블록이 끝날 때까지 트랜잭션이 최대 수수료로 청구되므로, 발신자는 블록 중에 [EIP-1559](/eip-1559/)보다 사용 가능한 잔액이 적습니다.\n- 한계 수수료가 양수인 블록에서는 `GASPRICE`가 실제 가격을 낮게 보여 줄 수 있으므로, 이를 기준으로 가스를 보상하는 컨트랙트는 덜 지급할 수 있습니다.\n- 한계 수수료는 includer에게 주어지지 않고 소각되므로, includer에게는 인위적인 혼잡을 만들 유인이 없습니다.\n- 한 계정에서 여러 트랜잭션을 보낸다면 뒤쪽 nonce에 더 높게 입찰하지 마세요. 보호는 블록 안에서 앞선 nonce의 순위가 최소한 같거나 높을 때만 성립합니다.\n- [EIP-7999](/eip-7999/) 같은 다차원 수수료 시장으로도 자연스럽게 확장됩니다.\n"},"zh":{"lang":"zh","tldr":"在 FOCIL 包含列表之上增加统一价格拍卖：在区块已满时，任何交易都不能挤掉出价更高的包含列表交易，所有人都支付同一个被销毁的边际费用，从而在区块拥挤时保持抗审查能力。","tags":["censorship-resistance","focil","fees","auction","core"],"related":[7805,1559,8037,7999,8141],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-8046/","markdown":"## 它解决什么问题？\n\nFOCIL（[EIP-7805](/eip-7805/)）让一个由 **includer** 组成的委员会发布待处理交易的包含列表（inclusion list，IL），而 attester 只接受包含这些交易的区块。但这里有一个漏洞：如果区块已满，构建者可以把 IL 交易排除在外。FOCIL 没有办法给交易排序，因此构建者可以用自己的或私有的交易塞满区块，同时仍然实施审查。\n\n在多维 gas 下情况更糟，因为构建者可以用虚拟交易塞满单一资源，从而以很低的成本让区块\"变满\"。EIP-8046（UPIL，包含列表上的统一价格拍卖）通过在空间稀缺时决定哪些交易必须胜出，堵住了这个漏洞。\n\n## 它如何运作\n\n- **排名费用。** 每笔交易的出价是它高于基础费用的余量：`ranking_fee_per_gas = max_fee_per_gas - base_fee_per_gas`。不需要新增字段。它只决定是否被包含，不决定区块内的排序。\n- **禁止挤占。** 在已满的区块中，排名较低的交易不能取代排名费用更高的有效 IL 交易。FOCIL 的包含检查被扩展以验证这一点，并覆盖 [EIP-8037](/eip-8037/) 的每个 gas 维度。\n- **统一的边际费用。** 构建者在区块中声明一个 `marginal_ranking_fee_per_gas`：被遗漏的有效 IL 交易中最高的排名费用（若无则为 0）。每笔被包含的交易都必须支付 `base_fee + marginal_ranking_fee`，这笔**包含费用会被销毁**。优先费用只从 `max_fee_per_gas` 以下剩余的部分中收取。\n- **执行后结算。** 由于边际费用取决于区块的结果，执行过程不能看到它。交易在执行期间按 `max_fee_per_gas` 扣费，并在区块结束时退还差额；`coinbase` 只有到那时才会收到优先费用。\n\n实际上，基础费用为跨区块的拥堵定价，而 UPIL 为区块内的拥堵增加了第二个统一价格。\n\n## 示例代码\n\n规范中每笔交易的结算：\n\n```python\ninclusion_fee_per_gas = block.base_fee_per_gas + block.marginal_ranking_fee_per_gas\n\nfor tx, signer, gas_used in executed_transactions:\n    assert tx.max_fee_per_gas \u003e= inclusion_fee_per_gas\n    # priority fee is capped by the inclusion fee instead of the base fee\n    priority = min(tx.max_priority_fee_per_gas,\n                   tx.max_fee_per_gas - inclusion_fee_per_gas)\n    effective_gas_price = priority + inclusion_fee_per_gas\n    signer.balance += gas_used * (tx.max_fee_per_gas - effective_gas_price)  # refund\n    block.author.balance += gas_used * priority\n# inclusion_fee_per_gas * gas is never paid out: it is burned\n```\n\n## 需要注意\n\n- **状态：Draft。** 它还依赖其他处于 Draft 或 Last Call 的提案：FOCIL、[EIP-8037](/eip-8037/)、frame 交易（[EIP-8141](/eip-8141/)）和 EIP-8369。\n- 当竞争激烈时，你的整个 `max_fee_per_gas` 现在可能在一个区块中被花掉，而不只是随基础费用上涨而缓慢消耗。你支付的永远不会超过你签名的上限，但把上限设得很宽，并不再意味着你会少付很多。\n- 由于交易在区块结束前按其最大费用扣费，发送者在区块期间的可用余额比 [EIP-1559](/eip-1559/) 下更少。\n- 在边际费用为正的区块中，`GASPRICE` 可能低估真实价格，因此依据它来补偿 gas 的合约可能会少付。\n- 边际费用被销毁而不是给予 includer，所以 includer 没有制造人为拥堵的动机。\n- 如果你从一个账户发送多笔交易，不要为较晚的 nonce 出更高的价；只有当区块中较早的 nonce 排名至少一样高时，保护才成立。\n- 它可以自然地扩展到多维费用市场，如 [EIP-7999](/eip-7999/)。\n"}}}
