-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
Milestone
Description
Related to: #11348
Most of this is handled by Revm but we need to make sure the integration points are also ready
- https://eips.ethereum.org/EIPS/eip-7892, make sure codebase adheres to the BPO hardforks, ref: feat: add bpos alloy-rs/hardforks#40. Can be handled by updating
foundry/crates/evm/core/src/utils.rs
Lines 87 to 107 in 4e59f42
/// Derive the blob base fee update fraction based on the chain and timestamp by checking the /// hardfork. pub fn get_blob_base_fee_update_fraction(chain_id: ChainId, timestamp: u64) -> u64 { let hardfork = EthereumHardfork::from_chain_and_timestamp(Chain::from_id(chain_id), timestamp) .unwrap_or_default(); if hardfork >= EthereumHardfork::Prague { BLOB_BASE_FEE_UPDATE_FRACTION_PRAGUE } else { BLOB_BASE_FEE_UPDATE_FRACTION_CANCUN } } /// Returns the blob base fee update fraction based on the spec id. pub fn get_blob_base_fee_update_fraction_by_spec_id(spec: SpecId) -> u64 { if spec >= SpecId::PRAGUE { BLOB_BASE_FEE_UPDATE_FRACTION_PRAGUE } else { BLOB_BASE_FEE_UPDATE_FRACTION_CANCUN } }
No updates further required, update was handled in https://github.com/foundry-rs/foundry/pull/11477/files
- https://eips.ethereum.org/EIPS/eip-7825 (!): feat(forge): loosen tx gas limit restrictions ahead of Osaka + make enforceable w/
--enable-tx-gas-limit
#11427; this EIP can have a significant impact and we need to make sure all scenario's are covered as otherwise users are not able to run their tests, possibly their scripts - https://eips.ethereum.org/EIPS/eip-7918: covered by https://github.com/alloy-rs/alloy/pull/2821/files, no impact in Foundry
- https://eips.ethereum.org/EIPS/eip-7951, not expected to result in any changes on Foundry's side
- https://eips.ethereum.org/EIPS/eip-7910: feat(
anvil
): addeth_config
RPC endpoint for Osaka hardfork #11433
Ideally we have a way to run the same test suite easily against a range of EVM versions (such as the repro's and cheat suites): #11436
This can be handled when the Osaka migration actually occurs, it is currently a big hassle to change the default in a revm patch as all dep crates need patches too.
grandizzy
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Ready For Review