From 0be39eb4b371e612a15e8c57f062a5547c9268a7 Mon Sep 17 00:00:00 2001 From: Alexey Shekhirin Date: Sat, 25 Apr 2026 11:25:03 +0200 Subject: [PATCH 1/2] perf(revm): enable `p256-aws-lc-rs` feature --- Cargo.lock | 1 + Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index e7719f2bee..1be491a668 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11074,6 +11074,7 @@ dependencies = [ "ark-serialize 0.5.0", "arrayref", "aurora-engine-modexp", + "aws-lc-rs", "blst", "c-kzg", "cfg-if", diff --git a/Cargo.toml b/Cargo.toml index 9a3b8998c1..d9767c374b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -176,7 +176,7 @@ reth-revm = { git = "https://github.com/paradigmxyz/reth", rev = "7839f3d", feat "std", "optional-checks", ] } -revm = { version = "38.0.0", features = ["optional_fee_charge"], default-features = false } +revm = { version = "38.0.0", features = ["optional_fee_charge", "p256-aws-lc-rs"], default-features = false } alloy = { version = "2.0.1", default-features = false } alloy-consensus = { version = "2.0.1", default-features = false } From 9c8f8f09de02ded9f726ec0256bb6d3389fb6678 Mon Sep 17 00:00:00 2001 From: Alexey Shekhirin Date: Sat, 25 Apr 2026 11:29:56 +0200 Subject: [PATCH 2/2] gate behind std --- Cargo.toml | 2 +- crates/primitives/Cargo.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d9767c374b..9a3b8998c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -176,7 +176,7 @@ reth-revm = { git = "https://github.com/paradigmxyz/reth", rev = "7839f3d", feat "std", "optional-checks", ] } -revm = { version = "38.0.0", features = ["optional_fee_charge", "p256-aws-lc-rs"], default-features = false } +revm = { version = "38.0.0", features = ["optional_fee_charge"], default-features = false } alloy = { version = "2.0.1", default-features = false } alloy-consensus = { version = "2.0.1", default-features = false } diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index 5126724a92..4818bdb628 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -83,6 +83,7 @@ std = [ "reth-ethereum-primitives?/std", "reth-primitives-traits?/std", "revm/std", + "revm/p256-aws-lc-rs", "serde/std", "serde_json/std", "sha2/std",