Repository navigation
chore: upgrade reth from v1.10.2 to v1.11.1 - #218
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughBumps reth to v1.11.1 and updates Cargo/Cross metadata; introduces BerachainTxResult and routes execution/commit flows through it; makes the pool builder generic over an EVM config; adjusts RPC send_transaction signature; replaces TaskManager with Runtime in e2e tests; small engine/evm/receipt refinements. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant BlockExecutor
participant ReceiptBuilder
participant StateCommitter
Client->>BlockExecutor: execute_transaction_without_commit(consensus_tx)
BlockExecutor->>BlockExecutor: transact_raw(consensus_tx) → ResultAndState
BlockExecutor->>BlockExecutor: build BerachainTxResult{result, blob_gas_used, tx_type}
BlockExecutor-->>Client: BerachainTxResult
Client->>BlockExecutor: commit_transaction(BerachainTxResult)
BlockExecutor->>ReceiptBuilder: build_receipt(ReceiptBuilderCtx with tx_type)
ReceiptBuilder-->>BlockExecutor: Receipt
BlockExecutor->>StateCommitter: update state (use blob_gas_used, tx_type)
StateCommitter-->>BlockExecutor: commit complete
BlockExecutor-->>Client: return cumulative_gas_used
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR upgrades the project’s upstream reth SDK from v1.10.2 to v1.11.1 (and aligns dependent crates like alloy/revm), updating Berachain’s integrations to compile and behave correctly with the new APIs (executor, receipt building, pool builder generics, engine capabilities, RPC changes, and e2e runtime wiring).
Changes:
- Bump
reth+ related dependencies and update code to matchv1.11.xbreaking API changes (executorTxResult, receipt builder ctx change, pool builderEvmgeneric, engine payload envelope v6 alias, etc.). - Update RPC + engine API glue to match upstream interface changes (e.g.,
send_transactionorigin param, capability exchange). - Update e2e tests to use
reth::tasks::Runtimeinstead ofTaskManager.
Reviewed changes
Copilot reviewed 19 out of 20 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
Cargo.toml |
Bumps reth git tags to v1.11.1 and updates alloy/revm-related dependency versions. |
Cargo.lock |
Large lockfile refresh from cargo update after dependency bumps. |
src/node/evm/executor.rs |
Adapts block execution to the new BlockExecutor/TxResult shape and updates transaction execution/commit plumbing. |
src/node/evm/receipt.rs |
Updates receipt building to use ReceiptBuilderCtx { tx_type, ... } API. |
src/pool/mod.rs |
Updates pool builder trait signature to include Evm config/generic and wires validator creation accordingly. |
src/rpc/api.rs |
Updates EthTransactions::send_transaction signature to accept the new origin parameter. |
src/engine/rpc.rs |
Updates capability list building after upstream removal of add_capability. |
src/engine/mod.rs |
Adds required ExecutionPayloadEnvelopeV6 associated type (aliased to V5). |
src/engine/builder.rs |
Matches upstream optimization by caching RLP length computations within the tx loop. |
tests/e2e/* |
Updates e2e scaffolding and tests to use Runtime and new node builder expectations. |
deny.toml |
Removes stale RustSec ignore now that the upgrade resolves it. |
Cross.toml |
Adds g++ (and cross variants) to the build image dependencies. |
.github/assets/hive/* |
Updates “synced with reth” markers to v1.11.1. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| async fn setup_test_with_gas_boundary_pol_contract() | ||
| -> eyre::Result<(TaskManager, Arc<BerachainChainSpec>)> { | ||
| let tasks = TaskManager::current(); | ||
| -> eyre::Result<(Runtime, Arc<BerachainChainSpec>)> { | ||
| let runtime = Runtime::with_existing_handle(tokio::runtime::Handle::current())?; |
There was a problem hiding this comment.
This function signature formatting (line break before ->) is not rustfmt output and will fail the cargo fmt --check job. Please run cargo fmt (or adjust formatting) so the signature matches repository rustfmt style.
| async fn setup_test_with_reverting_pol_contract() -> eyre::Result<(Runtime, Arc<BerachainChainSpec>)> | ||
| { |
There was a problem hiding this comment.
The brace placement/line breaking in this function signature doesn’t appear to be rustfmt output and is likely to fail the cargo fmt --check CI job. Please run cargo fmt to ensure the signature/braces are formatted consistently.
| async fn setup_test_with_reverting_pol_contract() -> eyre::Result<(Runtime, Arc<BerachainChainSpec>)> | |
| { | |
| async fn setup_test_with_reverting_pol_contract() -> eyre::Result<(Runtime, Arc<BerachainChainSpec>)> { |
| async fn setup_test_with_state_change_contract() -> eyre::Result<(Runtime, Arc<BerachainChainSpec>)> | ||
| { |
There was a problem hiding this comment.
Similar to other e2e helpers: the function signature/bracing here doesn’t look rustfmt-formatted. Please run cargo fmt to avoid failing the formatting check in CI.
| async fn setup_test_with_state_change_contract() -> eyre::Result<(Runtime, Arc<BerachainChainSpec>)> | |
| { | |
| async fn setup_test_with_state_change_contract() -> eyre::Result<(Runtime, Arc<BerachainChainSpec>)> { |
| @@ -457,7 +458,9 @@ where | |||
|
|
|||
| let pool_transaction = <Self::Pool as TransactionPool>::Transaction::from_pooled(recovered); | |||
|
|
|||
| // submit the transaction to the pool with a `Local` origin | |||
| // Upstream reth v1.11.1 changed eth_sendRawTransaction to pass External origin, | |||
| // but Berachain treats all RPC-submitted transactions as Local to bypass pool | |||
| // capacity limits and ensure consistent block gas utilization. | |||
| let AddedTransactionOutcome { hash, .. } = | |||
| self.pool().add_transaction(TransactionOrigin::Local, pool_transaction).await?; | |||
|
|
|||
There was a problem hiding this comment.
_origin is ignored and all RPC-submitted transactions are forced to TransactionOrigin::Local. This bypasses txpool "external" capacity/limits and can weaken DoS protections if the RPC endpoint is exposed beyond trusted clients. Consider honoring the provided origin, or only treating calls as Local behind an authenticated/whitelisted RPC, or making this behavior configurable via node/RPC config.
| async fn exchange_capabilities(&self, _capabilities: Vec<String>) -> RpcResult<Vec<String>> { | ||
| let mut capabilities = self.inner.capabilities().clone(); | ||
| BERACHAIN_ADDITIONAL_CAPABILITIES.iter().for_each(|&cap| capabilities.add_capability(cap)); | ||
| Ok(capabilities.list()) | ||
| let mut caps = self.inner.capabilities().list(); | ||
| for &cap in BERACHAIN_ADDITIONAL_CAPABILITIES { | ||
| caps.push(cap.to_string()); | ||
| } | ||
| Ok(caps) |
There was a problem hiding this comment.
caps is built by appending additional capabilities onto self.inner.capabilities().list(), which can introduce duplicates (previously add_capability ensured uniqueness). Consider de-duplicating (e.g., via a HashSet/BTreeSet while preserving order) before returning, to avoid sending repeated capability strings to the CL.
| use alloy_consensus::Transaction; | ||
| use alloy_eips::{Encodable2718, eip7685::Requests}; | ||
| use alloy_evm::block::state_changes::{balance_increment_state, post_block_balance_increments}; | ||
| use alloy_evm::{ | ||
| RecoveredTx, | ||
| block::state_changes::{balance_increment_state, post_block_balance_increments}, | ||
| }; |
There was a problem hiding this comment.
There are unused imports here (Encodable2718 and RecoveredTx). CI runs cargo clippy -- -D warnings, so these will fail the build; please remove them or use them as intended.
There was a problem hiding this comment.
🧹 Nitpick comments (7)
src/engine/builder.rs (1)
288-289: Consider extracting the block overhead constant.The magic number
1024representing estimated block header/structure overhead should be extracted into a documented constant for clarity.♻️ Suggested refactor
+/// Estimated overhead for block header, uncles, and structure encoding in RLP bytes. +const BLOCK_STRUCTURE_OVERHEAD: usize = 1024; + // ... in the function body: - let estimated_block_size_with_tx = - block_transactions_rlp_length + tx_rlp_len + withdrawals_rlp_length + 1024; + let estimated_block_size_with_tx = + block_transactions_rlp_length + tx_rlp_len + withdrawals_rlp_length + BLOCK_STRUCTURE_OVERHEAD;As per coding guidelines: "Extract magic numbers into documented constants" for
src/**/*.rsfiles.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/engine/builder.rs` around lines 288 - 289, The calculation for estimated_block_size_with_tx uses a magic number 1024 for block overhead; extract this into a documented constant (e.g., const ESTIMATED_BLOCK_OVERHEAD_BYTES: usize = 1024) near the top of the module and replace the literal in the expression that computes estimated_block_size_with_tx (the line that sums block_transactions_rlp_length + tx_rlp_len + withdrawals_rlp_length + 1024). Add a brief doc comment explaining that this constant is an estimated header/structure overhead so future readers can adjust it easily.src/engine/rpc.rs (1)
620-624: Avoid duplicate capability advertisement.At Line 620, this starts from upstream capabilities and then unconditionally appends Berachain extras. If upstream includes any of these in the future, the response will contain duplicates. Guard the append to preserve stable set-like output.
Proposed change
- let mut caps = self.inner.capabilities().list(); - for &cap in BERACHAIN_ADDITIONAL_CAPABILITIES { - caps.push(cap.to_string()); - } - Ok(caps) + let mut caps = self.inner.capabilities().list(); + for &cap in BERACHAIN_ADDITIONAL_CAPABILITIES { + if !caps.iter().any(|existing| existing == cap) { + caps.push(cap.to_string()); + } + } + Ok(caps)🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/engine/rpc.rs` around lines 620 - 624, The current capabilities aggregation (starting from self.inner.capabilities().list() into caps and then unconditionally iterating BERACHAIN_ADDITIONAL_CAPABILITIES) can produce duplicates; change the logic in the method that builds caps (use the caps variable returned by self.inner.capabilities().list()) to deduplicate before appending—e.g., check each BERACHAIN_ADDITIONAL_CAPABILITIES entry against existing caps and only push if not already present, or convert caps to a set (HashSet) and then produce a stable Vec; ensure the final Ok(caps) remains a stable, duplicate-free list.Cargo.toml (1)
8-20: Addrevto all 35 reth git-based dependencies for immutable pinning.All reth dependencies (lines 34–66 and 77–78) lack the
revfield. Usingtagalone is more drift-prone when lockfiles are regenerated. Addingrevhardens reproducibility and supply-chain guarantees.The resolved commit hash is
bef3d7b4d1da937fcccc9bbd6f8bd93e16380dc7. Update each reth entry:-reth = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.1" } +reth = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.1", rev = "bef3d7b4d1da937fcccc9bbd6f8bd93e16380dc7" }Apply this pattern to all 35 reth dependencies: reth, reth-basic-payload-builder, reth-chainspec, reth-cli, reth-cli-commands, reth-cli-util, reth-codecs, reth-consensus-common, reth-db, reth-db-api, reth-engine-local, reth-engine-primitives, reth-errors, reth-ethereum-cli, reth-ethereum-engine-primitives, reth-ethereum-payload-builder, reth-ethereum-primitives, reth-evm, reth-evm-ethereum, reth-network-peers, reth-node-api, reth-node-builder, reth-node-core, reth-node-ethereum, reth-payload-primitives, reth-payload-validator, reth-primitives-traits, reth-rpc, reth-rpc-convert, reth-rpc-engine-api, reth-rpc-eth-api, reth-rpc-eth-types, reth-transaction-pool, reth-e2e-test-utils, and reth-rpc-builder.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@Cargo.toml` around lines 8 - 20, Several reth git-based dependencies in Cargo.toml are missing an immutable rev pin; update each reth dependency entry (reth, reth-basic-payload-builder, reth-chainspec, reth-cli, reth-cli-commands, reth-cli-util, reth-codecs, reth-consensus-common, reth-db, reth-db-api, reth-engine-local, reth-engine-primitives, reth-errors, reth-ethereum-cli, reth-ethereum-engine-primitives, reth-ethereum-payload-builder, reth-ethereum-primitives, reth-evm, reth-evm-ethereum, reth-network-peers, reth-node-api, reth-node-builder, reth-node-core, reth-node-ethereum, reth-payload-primitives, reth-payload-validator, reth-primitives-traits, reth-rpc, reth-rpc-convert, reth-rpc-engine-api, reth-rpc-eth-api, reth-rpc-eth-types, reth-transaction-pool, reth-e2e-test-utils, reth-rpc-builder) to include the rev = "bef3d7b4d1da937fcccc9bbd6f8bd93e16380dc7" field alongside their existing git = and tag = entries so each dependency is pinned to that commit hash for reproducible builds.tests/e2e/mod.rs (1)
25-31: Prefer propagating setup errors instead of panicking in aResult-returning helper.Line 29 and Line 30 use
.expect(...), which bypasses theeyre::Resultcontract and can make e2e failures noisier than needed.♻️ Suggested change
+use eyre::WrapErr; + pub async fn setup_test_boilerplate() -> eyre::Result<(Runtime, Arc<BerachainChainSpec>)> { let runtime = Runtime::with_existing_handle(tokio::runtime::Handle::current())?; let genesis_path = concat!(env!("CARGO_MANIFEST_DIR"), "/tests/fixtures/eth-genesis.json"); - let genesis_json = std::fs::read_to_string(genesis_path).expect("Failed to read genesis file"); - let genesis = parse_genesis(&genesis_json).expect("Failed to parse genesis"); + let genesis_json = + std::fs::read_to_string(genesis_path).wrap_err("Failed to read genesis file")?; + let genesis = parse_genesis(&genesis_json).wrap_err("Failed to parse genesis")?; let chain_spec = Arc::new(BerachainChainSpec::from(genesis)); Ok((runtime, chain_spec)) }🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@tests/e2e/mod.rs` around lines 25 - 31, In setup_test_boilerplate, avoid panicking with .expect on reading and parsing the genesis; instead propagate errors through the eyre::Result by replacing std::fs::read_to_string(genesis_path).expect(...) and parse_genesis(&genesis_json).expect(...) with fallible calls using ? (optionally adding context via .wrap_err or .with_context) so read_to_string(...) and parse_genesis(...) return Err(e) into the function's eyre::Result; keep the creation of Runtime and construction of BerachainChainSpec the same and reference the functions read_to_string and parse_genesis to locate the changes.src/node/evm/config.rs (1)
183-183: Extract fallback0into a named constant.Line 183 introduces a magic number; giving it a domain name improves readability/maintainability for blob-gas transition logic.
♻️ Suggested change
const BERACHAIN_BLOCK_TIME_SECONDS: u64 = 2; +const DEFAULT_EXCESS_BLOB_GAS_ON_FORK_TRANSITION: u64 = 0; @@ let blob_excess_gas_and_price = parent .maybe_next_block_excess_blob_gas(blob_params) - .or_else(|| blob_params.map(|_| 0)) + .or_else(|| blob_params.map(|_| DEFAULT_EXCESS_BLOB_GAS_ON_FORK_TRANSITION)) .map(|excess_blob_gas| {As per coding guidelines, "Extract magic numbers into documented constants".
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/node/evm/config.rs` at line 183, Replace the magic literal 0 used in the blob-gas transition fallback (the expression .or_else(|| blob_params.map(|_| 0))) with a named constant; add a documented const like BLOB_GAS_TRANSITION_FALLBACK (or DEFAULT_BLOB_GAS_GAS) near the top of the module (module-level scope used by config.rs), and then use that constant inside the closure (.or_else(|| blob_params.map(|_| BLOB_GAS_TRANSITION_FALLBACK))). Ensure the constant has an appropriate integer type matching the surrounding API and add a brief doc comment explaining its purpose.src/rpc/api.rs (1)
461-463: Remove inline policy comments from Rust source.These new inline comments violate the repository rule for
src/**/*.rs; please move this rationale to docs/ADR or PR description instead.Suggested change
- // Upstream reth v1.11.1 changed eth_sendRawTransaction to pass External origin, - // but Berachain treats all RPC-submitted transactions as Local to bypass pool - // capacity limits and ensure consistent block gas utilization.As per coding guidelines "src/**/*.rs: No comments in code unless explicitly requested".
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/rpc/api.rs` around lines 461 - 463, Remove the inline policy comment block in src/rpc/api.rs that explains why eth_sendRawTransaction is treated as Local (the lines mentioning "Upstream reth v1.11.1..." and the Berachain rationale), and instead place that rationale in project documentation (e.g., docs/ADR or the PR description); ensure the code retains only necessary short technical comments if any, and update any reference to eth_sendRawTransaction or the surrounding RPC handling functions so no policy justification remains in the Rust source.src/node/evm/executor.rs (1)
254-255: Remove inline explanatory comment in Rust source.This newly added comment should be moved out of code to comply with repository style.
Suggested change
- // Skip commit for POL transactions as it's already been applied in - // apply_pre_execution_changesAs per coding guidelines "src/**/*.rs: No comments in code unless explicitly requested".
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/node/evm/executor.rs` around lines 254 - 255, Remove the inline explanatory comment "// Skip commit for POL transactions as it's already been applied in apply_pre_execution_changes" from the Rust source and instead document that behavior outside the code (e.g., PR description or design doc); locate the comment near the POL transaction commit logic and the call/usage of apply_pre_execution_changes and delete the comment line so the code file contains no inline explanatory comments per the style guide.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@Cargo.toml`:
- Around line 8-20: Several reth git-based dependencies in Cargo.toml are
missing an immutable rev pin; update each reth dependency entry (reth,
reth-basic-payload-builder, reth-chainspec, reth-cli, reth-cli-commands,
reth-cli-util, reth-codecs, reth-consensus-common, reth-db, reth-db-api,
reth-engine-local, reth-engine-primitives, reth-errors, reth-ethereum-cli,
reth-ethereum-engine-primitives, reth-ethereum-payload-builder,
reth-ethereum-primitives, reth-evm, reth-evm-ethereum, reth-network-peers,
reth-node-api, reth-node-builder, reth-node-core, reth-node-ethereum,
reth-payload-primitives, reth-payload-validator, reth-primitives-traits,
reth-rpc, reth-rpc-convert, reth-rpc-engine-api, reth-rpc-eth-api,
reth-rpc-eth-types, reth-transaction-pool, reth-e2e-test-utils,
reth-rpc-builder) to include the rev =
"bef3d7b4d1da937fcccc9bbd6f8bd93e16380dc7" field alongside their existing git =
and tag = entries so each dependency is pinned to that commit hash for
reproducible builds.
In `@src/engine/builder.rs`:
- Around line 288-289: The calculation for estimated_block_size_with_tx uses a
magic number 1024 for block overhead; extract this into a documented constant
(e.g., const ESTIMATED_BLOCK_OVERHEAD_BYTES: usize = 1024) near the top of the
module and replace the literal in the expression that computes
estimated_block_size_with_tx (the line that sums block_transactions_rlp_length +
tx_rlp_len + withdrawals_rlp_length + 1024). Add a brief doc comment explaining
that this constant is an estimated header/structure overhead so future readers
can adjust it easily.
In `@src/engine/rpc.rs`:
- Around line 620-624: The current capabilities aggregation (starting from
self.inner.capabilities().list() into caps and then unconditionally iterating
BERACHAIN_ADDITIONAL_CAPABILITIES) can produce duplicates; change the logic in
the method that builds caps (use the caps variable returned by
self.inner.capabilities().list()) to deduplicate before appending—e.g., check
each BERACHAIN_ADDITIONAL_CAPABILITIES entry against existing caps and only push
if not already present, or convert caps to a set (HashSet) and then produce a
stable Vec; ensure the final Ok(caps) remains a stable, duplicate-free list.
In `@src/node/evm/config.rs`:
- Line 183: Replace the magic literal 0 used in the blob-gas transition fallback
(the expression .or_else(|| blob_params.map(|_| 0))) with a named constant; add
a documented const like BLOB_GAS_TRANSITION_FALLBACK (or DEFAULT_BLOB_GAS_GAS)
near the top of the module (module-level scope used by config.rs), and then use
that constant inside the closure (.or_else(|| blob_params.map(|_|
BLOB_GAS_TRANSITION_FALLBACK))). Ensure the constant has an appropriate integer
type matching the surrounding API and add a brief doc comment explaining its
purpose.
In `@src/node/evm/executor.rs`:
- Around line 254-255: Remove the inline explanatory comment "// Skip commit for
POL transactions as it's already been applied in apply_pre_execution_changes"
from the Rust source and instead document that behavior outside the code (e.g.,
PR description or design doc); locate the comment near the POL transaction
commit logic and the call/usage of apply_pre_execution_changes and delete the
comment line so the code file contains no inline explanatory comments per the
style guide.
In `@src/rpc/api.rs`:
- Around line 461-463: Remove the inline policy comment block in src/rpc/api.rs
that explains why eth_sendRawTransaction is treated as Local (the lines
mentioning "Upstream reth v1.11.1..." and the Berachain rationale), and instead
place that rationale in project documentation (e.g., docs/ADR or the PR
description); ensure the code retains only necessary short technical comments if
any, and update any reference to eth_sendRawTransaction or the surrounding RPC
handling functions so no policy justification remains in the Rust source.
In `@tests/e2e/mod.rs`:
- Around line 25-31: In setup_test_boilerplate, avoid panicking with .expect on
reading and parsing the genesis; instead propagate errors through the
eyre::Result by replacing std::fs::read_to_string(genesis_path).expect(...) and
parse_genesis(&genesis_json).expect(...) with fallible calls using ? (optionally
adding context via .wrap_err or .with_context) so read_to_string(...) and
parse_genesis(...) return Err(e) into the function's eyre::Result; keep the
creation of Runtime and construction of BerachainChainSpec the same and
reference the functions read_to_string and parse_genesis to locate the changes.
ℹ️ Review info
Configuration used: defaults
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
Cargo.lockis excluded by!**/*.lock
📒 Files selected for processing (19)
.github/assets/hive/build_simulators.sh.github/assets/hive/expected_failures.yaml.github/assets/hive/ignored_tests.yamlCargo.tomlCross.tomldeny.tomlsrc/engine/builder.rssrc/engine/mod.rssrc/engine/rpc.rssrc/node/evm/config.rssrc/node/evm/executor.rssrc/node/evm/receipt.rssrc/pool/mod.rssrc/rpc/api.rstests/e2e/coinbase_system_state_change_test.rstests/e2e/gas_limit_regression_test.rstests/e2e/mod.rstests/e2e/pol_revert_test.rstests/e2e/transaction_tests.rs
💤 Files with no reviewable changes (1)
- deny.toml
…-aware task spawning
793fc1d to
f5cbd44
Compare
This PR bumps reth dependency from
v1.10.2tov1.11.1. Note that it required bumping alloy and revm dependencies as well.Reth v1.11.x contains several breaking SDK changes, most notable being:
BlockExecutortrait restructured with newtype Result: TxResultassociated type, requiring a newBerachainTxResulttype in the executorReceiptBuilderCtxchangedtxfield totx_type, updating the receipt builder accordinglyPoolBuildertrait gained anEvmgeneric parameter, updatingBerachainPoolBuilderboundsEngineTypestrait now requiresExecutionPayloadEnvelopeV6, added as alias to V5EngineCapabilities::add_capabilityremoved, requiring updated capability list buildingEthTransactions::send_transactiongained anoriginparameter, updating the RPC implTaskManagerreplaced byRuntime, updating all e2e testsThis PR also aligns with upstream behavioral changes:
Additionally,
cargo updateresolved three new security advisories in transitive dependencies and removed the staleRUSTSEC-2025-0073ignore fromdeny.toml.Note: The alloy dependencies align exactly with upstream reth v1.11.1 release, see here
Test plan
Summary by CodeRabbit
Chores
Bug Fixes
Tests