Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

chore(workspace): Bump dependencies#2344

Merged
clabby merged 1 commit intomainfrom
cl/bump-deps
Jul 7, 2025
Merged

chore(workspace): Bump dependencies#2344
clabby merged 1 commit intomainfrom
cl/bump-deps

Conversation

@clabby
Copy link
Contributor

@clabby clabby commented Jul 6, 2025

Overview

Bumps the workspace's dependencies.

@clabby clabby self-assigned this Jul 6, 2025
Copilot AI review requested due to automatic review settings July 6, 2025 16:21
@clabby clabby requested a review from dhyaniarun1993 as a code owner July 6, 2025 16:21
@clabby clabby added the K-chore Kind: chore label Jul 6, 2025
@clabby clabby added the A-workspace Area: workspace level modifications label Jul 6, 2025
@clabby clabby requested a review from theochap as a code owner July 6, 2025 16:21
@clabby clabby added the F-deps Flag: Updates dependencies label Jul 6, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Bumps workspace dependencies to their latest versions, with API and type adjustments to align with updated crates.

  • Added Debug trait bounds to several generic parameters for enhanced logging and diagnostics.
  • Refactored block builder code to use U256 for numeric fields and updated blob fee computation patterns.
  • Updated MPT utils and node logic with unchecked indexing and iterator-based unpacking adjustments.

Reviewed Changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
crates/proof/proof/src/executor.rs Added Debug trait bounds on executor generic parameters
crates/proof/proof-interop/src/consolidation.rs Added Debug bound to CommsClient generic parameter
crates/proof/mpt/src/util.rs Switched to from_iter_unchecked and simplified nibble unpacking
crates/proof/mpt/src/node.rs Replaced slice comparisons and indexing with unchecked and to_vec
crates/proof/executor/src/builder/env.rs Converted block number/timestamp to U256 and revamped blob logic
crates/proof/executor/src/builder/core.rs Added Debug bounds and updated log formatting for U256
crates/proof/executor/src/builder/assemble.rs Used saturating_to::<u64>() for converting U256 fields
crates/node/p2p/src/gossip/block_validity.rs Removed test_block_invalid_base_fee test
Cargo.toml Bumped versions for Alloy, OP Alloy, revm, reth, and other crates
Comments suppressed due to low confidence (6)

crates/node/p2p/src/gossip/block_validity.rs:656

  • The removal of test_block_invalid_base_fee drops coverage for an important block validity scenario. If behavior has changed, add a replacement test to cover the invalid base fee case.
    #[test]

crates/proof/proof/src/executor.rs:58

  • [nitpick] The Debug trait bound on P doesn’t appear to be used within the implementation. Consider removing it to avoid unnecessary trait constraints.
    P: TrieDBProvider + Debug + Send + Sync + Clone,

crates/proof/proof/src/executor.rs:59

  • [nitpick] The Debug bound on H also seems unused. Dropping it will simplify the trait requirements if you’re not logging or formatting H.
    H: TrieHinter + Debug + Send + Sync + Clone,

crates/proof/proof-interop/src/consolidation.rs:45

  • [nitpick] Adding a Debug bound on C may be unnecessary if you’re not printing or formatting the client; consider removing it for clarity.
    C: CommsClient + Debug + Send + Sync,

crates/proof/mpt/src/util.rs:89

  • Calling rest.to_vec() allocates an intermediate Vec<u8>. You could avoid this extra allocation by using rest.iter().copied() in the chain.
    Nibbles::from_iter_unchecked(first.into_iter().chain(rest.to_vec()))

crates/proof/mpt/src/node.rs:163

  • Comparing path.to_vec() == prefix.to_vec() incurs two heap allocations. You can compare slices directly (e.g. path.as_slice() == prefix.as_slice()) to avoid cloning.
            Self::Leaf { prefix, value } => Ok((path.to_vec() == prefix.to_vec()).then_some(value)),

@clabby clabby force-pushed the cl/bump-deps branch 2 times, most recently from 304ac9e to 13ad273 Compare July 6, 2025 16:32
}

#[test]
fn test_block_invalid_base_fee() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codecov
Copy link

codecov bot commented Jul 6, 2025

Codecov Report

Attention: Patch coverage is 80.95238% with 8 lines in your changes missing coverage. Please review.

Project coverage is 80.6%. Comparing base (b52c150) to head (3d39cb6).
Report is 4 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
crates/node/p2p/src/gossip/driver.rs 0.0% 2 Missing ⚠️
crates/node/p2p/src/gossip/event.rs 0.0% 2 Missing ⚠️
crates/proof/mpt/src/node.rs 90.0% 2 Missing ⚠️
bin/client/src/fpvm_evm/factory.rs 50.0% 1 Missing ⚠️
crates/proof/executor/src/builder/env.rs 88.8% 1 Missing ⚠️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@clabby
Copy link
Contributor Author

clabby commented Jul 6, 2025

Blocked by alloy-rs/nybbles#31

e: alloy-rs/nybbles#32

@clabby clabby marked this pull request as draft July 6, 2025 16:48
@clabby clabby force-pushed the cl/bump-deps branch 2 times, most recently from faaa4df to c12020e Compare July 7, 2025 20:06
@clabby clabby marked this pull request as ready for review July 7, 2025 20:06
fn handle_gossip_event(&mut self, event: Event) -> Option<OpNetworkPayloadEnvelope> {
match event {
Event::Gossipsub(e) => return self.handle_gossipsub_event(e),
Event::Gossipsub(e) => return self.handle_gossipsub_event(*e),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could just pass in a reference here and change the parameter type, but for the sake of keeping this bump pr lean, this is fine

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I see it's boxed

Copy link
Contributor

@refcell refcell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice

@clabby clabby added this pull request to the merge queue Jul 7, 2025
Merged via the queue into main with commit bbc12e8 Jul 7, 2025
25 checks passed
@clabby clabby deleted the cl/bump-deps branch July 7, 2025 22:01
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Dec 10, 2025
## Overview

Bumps the workspace's dependencies.
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 14, 2026
## Overview

Bumps the workspace's dependencies.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A-workspace Area: workspace level modifications F-deps Flag: Updates dependencies K-chore Kind: chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants