Skip to content
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

[Feature] EIP-7691 #1712

Closed
Tracked by #1711
onbjerg opened this issue Nov 29, 2024 · 1 comment · Fixed by #1762
Closed
Tracked by #1711

[Feature] EIP-7691 #1712

onbjerg opened this issue Nov 29, 2024 · 1 comment · Fixed by #1762
Labels
enhancement New feature or request

Comments

@onbjerg
Copy link
Member

onbjerg commented Nov 29, 2024

Component

consensus, eips, genesis

Describe the feature you would like

EIP-7691 is mostly a CL change, however, it will also change BLOB_BASE_FEE_UPDATE_FRACTION in the EL to change the fee market a bit. This is a patchwork solution until we gather more info about blob fee markets for Fusaka.

See the relevant PR that adds these EL changes: https://github.com/ethereum/EIPs/pull/9060/files

TL;DR: For < Prague we use the current BLOB_BASE_FEE_UPDATE_FRACTION, for >= Prague use BLOB_BASE_FEE_UPDATE_FRACTION_ELECTRA.

Relevant snippets:

/// Determines the maximum rate of change for blob fee
pub const BLOB_GASPRICE_UPDATE_FRACTION: u128 = 3_338_477u128; // 3338477

/// Calculates the blob gas price from the header's excess blob gas field.
///
/// See also [the EIP-4844 helpers](https://eips.ethereum.org/EIPS/eip-4844#helpers)
/// (`get_blob_gasprice`).
#[inline]
pub fn calc_blob_gasprice(excess_blob_gas: u64) -> u128 {
fake_exponential(
BLOB_TX_MIN_BLOB_GASPRICE,
excess_blob_gas as u128,
BLOB_GASPRICE_UPDATE_FRACTION,
)
}

Additional context

No response

@onbjerg onbjerg added the enhancement New feature or request label Nov 29, 2024
@onbjerg onbjerg mentioned this issue Nov 29, 2024
9 tasks
@nadtech-hub
Copy link
Contributor

@klkvr klkvr mentioned this issue Dec 6, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants