-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add EIP: Increase MIN_BASE_FEE_PER_BLOB_GAS #8849
Merged
Merged
Changes from 3 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
9d588a7
Add EIP: Increase Blob Base Fee
MaxResnick bad448e
Update EIPS/eip-draft_increase_blob_base_fee.md
MaxResnick 6e331ed
Merge branch 'ethereum:master' into increase-blob-base-fee
MaxResnick cb2e2d7
eip number and minor updates
MaxResnick 8f651a8
Update image paths in EIP-7762
MaxResnick 9c1eb14
Update EIPS/eip-7762.md
MaxResnick 021e525
Update EIPS/eip-7762.md
MaxResnick 07fcaa0
Update EIPS/eip-7762.md
MaxResnick 370d95b
Update EIPS/eip-7762.md
MaxResnick a6e7137
Update EIPS/eip-7762.md
MaxResnick eda0480
remove in line html
MaxResnick 35702c6
Update EIPS/eip-7762.md
MaxResnick 02c320f
remove extra image files
MaxResnick File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
eip: 7762 | ||
title: Increase Blob Base Fee | ||
description: Adjust the MIN_BASE_FEE_PER_BLOB_GAS to speed up price discovery on blob space | ||
author: <Max Resnick (@MaxResnick)> | ||
discussions-to: <URL> | ||
status: Draft | ||
type: Standards Track | ||
category: Core | ||
created: 2024-08-31 | ||
requires: 4844 | ||
--- | ||
|
||
## Abstract | ||
|
||
This EIP proposes an increase to the MIN_BASE_FEE_PER_BLOB_GAS to speed up price discovery on blob space. | ||
|
||
## Motivation | ||
|
||
The current MIN_BASE_FEE_PER_BLOB_GAS is set to 1 wei. This is many orders of magnitude lower than the prevailing price of blobs when blobs enter price discovery. Whenever demand for blobs exceeds supply, blobs enter price discovery, but traversing the 8 orders of magnitude between 1 wei and the point where elasticity of demand starts to decrease takes a long time. | ||
|
||
When scoping 4844, the thinking was that blobs would only enter price discovery once relatively quickly after the blob rollout; however, this has not been the case. In fact, blobs have entered price discovery several times, and the frequency of price discovery events is likely to increase in the short term as we approach saturation of capacity. Moreover, the roadmap calls for further increases in blob capacity in subsequent hardforks, which may lead to price discovery events happening around those changes in the future. | ||
|
||
## Specification | ||
|
||
The `MIN_BASE_FEE_PER_BLOB_GAS` constant will be increased as follows: | ||
|
||
|
||
```diff | ||
+ MIN_BASE_FEE_PER_BLOB_GAS = 2**25 | ||
- MIN_BASE_FEE_PER_BLOB_GAS = 1 | ||
``` | ||
|
||
## Rationale | ||
|
||
Each factor of 2 increase in the base fee takes at least $\log_{1.125}(10) = 5.885$ blocks to traverse at full capacity. When blobs enter price discovery, they must climb many factors of 2 to reach the prevailing price. The way I arrived at this number is by looking at the cost of a simple transfer when the base fee is 1 GWEI (~5 cents USD at today's prices) and trying to peg the minimum price of a blob to that. Today, to reach this price, it requires an excess blob gas of `63070646`. When you calculate how long this would take to reach from 0 excess blob gas, you get: | ||
|
||
``` | ||
63070646/(3 * 2**17) = 160.396947225 | ||
``` | ||
|
||
The closest power of 2 to the corresponding reserve price would be `MIN_BASE_FEE_PER_BLOB_GAS = 2**27`. Out of an abundance of caution, we will go with `MIN_BASE_FEE_PER_BLOB_GAS = 2**25` to ensure that even if the price of ETH rises significantly, the reserve price will not be set too high. This value corresponds to a minimum blob price of ~1 cent at today's prices. Further, decreasing the `MIN_BASE_FEE_PER_BLOB_GAS` beyond `2**25` would slow down price discovery without a significant decrease in the price of blobs when the network is unsaturated. | ||
|
||
Below you will find a plot provided by @dataalways showing the fraction of type 3 transaction fees that are paid in blob base fees for different values of `MIN_BASE_FEE_PER_BLOB_GAS`. Note that even after the proposed change, for historical values of l1 gas, the price of blobs would have been dominated by the price of the L1 gas. | ||
|
||
![Base Fee 1](base_fee_1.png) | ||
|
||
<div style="page-break-after: always;"></div> | ||
|
||
![Base Fee 2^25](base_fee_225.png) | ||
|
||
<div style="page-break-after: always;"></div> | ||
|
||
--- | ||
|
||
|
||
## Backwards Compatibility | ||
|
||
This EIP is not backwards compatible and requires a coordinated upgrade across all clients at a specific block number. | ||
|
||
## Security Considerations | ||
|
||
- Rollups that use blobs as a data availability layer will need to update their postig strategies. | ||
|
||
## Copyright | ||
|
||
Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/). |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the images are added twice in separate locations, perhaps unintentional? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thanks, fixed |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create a discussions topic in Eth Magicians using the template in the EIPs category:
https://ethereum-magicians.org/c/eips/5