From efd1d7497c8060773f2c0a2fcfd96ae194d70031 Mon Sep 17 00:00:00 2001 From: Ishika Choudhury <117741714+Rimeeeeee@users.noreply.github.com> Date: Mon, 1 Jun 2026 16:46:04 +0530 Subject: [PATCH 1/5] chore: added bogota haedfork to support eip 8268 --- Cargo.toml | 4 ++++ crates/evm/src/eth/spec_id.rs | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 841fae20..872b4b6e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,3 +61,7 @@ serde = { version = "1", default-features = false, features = ["derive"] } thiserror = { version = "2.0.0", default-features = false } serde_json = "1" test-case = "3" + +[patch.crates-io] +alloy-hardforks = { git = "https://github.com/Rimeeeeee/hardforks", branch = "eip-8268" } +revm = { git = "https://github.com/Rimeeeeee/revm", branch = "eip-8268" } \ No newline at end of file diff --git a/crates/evm/src/eth/spec_id.rs b/crates/evm/src/eth/spec_id.rs index 2791aa19..f21488db 100644 --- a/crates/evm/src/eth/spec_id.rs +++ b/crates/evm/src/eth/spec_id.rs @@ -21,7 +21,9 @@ pub fn spec_by_timestamp_and_block_number( where C: EthereumHardforks, { - if chain_spec.is_amsterdam_active_at_timestamp(timestamp) { + if chain_spec.is_bogota_active_at_timestamp(timestamp) { + SpecId::BOGOTA + } else if chain_spec.is_amsterdam_active_at_timestamp(timestamp) { SpecId::AMSTERDAM } else if chain_spec.is_osaka_active_at_timestamp(timestamp) { SpecId::OSAKA @@ -85,6 +87,10 @@ mod tests { Self::from_timestamp_zero(EthereumHardfork::Amsterdam) } + fn bogota() -> Self { + Self::from_timestamp_zero(EthereumHardfork::Bogota) + } + fn prague() -> Self { Self::from_timestamp_zero(EthereumHardfork::Prague) } @@ -150,6 +156,7 @@ mod tests { #[test_case::test_case(FakeHardfork::osaka(), SpecId::OSAKA; "Osaka")] #[test_case::test_case(FakeHardfork::amsterdam(), SpecId::AMSTERDAM; "Amsterdam")] + #[test_case::test_case(FakeHardfork::bogota(), SpecId::BOGOTA; "Bogota")] #[test_case::test_case(FakeHardfork::prague(), SpecId::PRAGUE; "Prague")] #[test_case::test_case(FakeHardfork::cancun(), SpecId::CANCUN; "Cancun")] #[test_case::test_case(FakeHardfork::shanghai(), SpecId::SHANGHAI; "Shanghai")] From 4bc59bccc9276ccc53a9e98966fb9b067cbe3845 Mon Sep 17 00:00:00 2001 From: Ishika Choudhury <117741714+Rimeeeeee@users.noreply.github.com> Date: Mon, 1 Jun 2026 16:46:56 +0530 Subject: [PATCH 2/5] enabled ci for all branches --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b357789..ae9987f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,6 @@ permissions: {} on: push: - branches: [main] pull_request: env: From 298d534166e6e6b49e073d5adcf3438eed16702c Mon Sep 17 00:00:00 2001 From: Ishika Choudhury <117741714+Rimeeeeee@users.noreply.github.com> Date: Thu, 11 Jun 2026 16:52:30 +0530 Subject: [PATCH 3/5] chore: added tracing for eip 8268 --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 872b4b6e..e1ed5cc5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,6 +39,7 @@ alloy-evm = { version = "0.36.0", path = "crates/evm", default-features = false # alloy alloy-eip2124 = { version = "0.2", default-features = false } +alloy-eip7928 = { version = "0.4.1", default-features = false } alloy-chains = { version = "0.2.0", default-features = false } alloy-eips = { version = "2.0.0", default-features = false } alloy-consensus = { version = "2.0.0", default-features = false } @@ -64,4 +65,5 @@ test-case = "3" [patch.crates-io] alloy-hardforks = { git = "https://github.com/Rimeeeeee/hardforks", branch = "eip-8268" } -revm = { git = "https://github.com/Rimeeeeee/revm", branch = "eip-8268" } \ No newline at end of file +alloy-eip7928 = { git = "https://github.com/Rimeeeeee/eips", branch = "eip-8268" } +revm = { git = "https://github.com/Rimeeeeee/revm", branch = "eip8268-tracing" } \ No newline at end of file From c69c8ae6f614a5b2b9b8da39c75fdb30e05c750e Mon Sep 17 00:00:00 2001 From: Ishika Choudhury <117741714+Rimeeeeee@users.noreply.github.com> Date: Fri, 12 Jun 2026 15:59:58 +0530 Subject: [PATCH 4/5] chore: added revm original branch --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e1ed5cc5..9546c334 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,4 +66,4 @@ test-case = "3" [patch.crates-io] alloy-hardforks = { git = "https://github.com/Rimeeeeee/hardforks", branch = "eip-8268" } alloy-eip7928 = { git = "https://github.com/Rimeeeeee/eips", branch = "eip-8268" } -revm = { git = "https://github.com/Rimeeeeee/revm", branch = "eip8268-tracing" } \ No newline at end of file +revm = { git = "https://github.com/Rimeeeeee/revm", branch = "eip-8268" } \ No newline at end of file From c6ebc4b9e41a7214a3e48bbc547d1638794ade32 Mon Sep 17 00:00:00 2001 From: Ishika Choudhury <117741714+Rimeeeeee@users.noreply.github.com> Date: Fri, 12 Jun 2026 19:33:25 +0530 Subject: [PATCH 5/5] chore: use revm latest --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9546c334..f50a0db1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,7 +50,7 @@ alloy-rpc-types-eth = { version = "2.0.0", default-features = false } alloy-rpc-types-engine = { version = "2.0.0", default-features = false } # revm -revm = { version = "40.0.3", default-features = false } +revm = { version = "41.0.0", default-features = false } # tracing tracing = { version = "0.1", default-features = false }