Skip to content

perf(cargo): Use alloy 1.1.0 and fix some warning issue#26

Merged
louisliu2048 merged 3 commits intodevfrom
jimmyshi/alloy
Nov 10, 2025
Merged

perf(cargo): Use alloy 1.1.0 and fix some warning issue#26
louisliu2048 merged 3 commits intodevfrom
jimmyshi/alloy

Conversation

@JimmyShi22
Copy link
Copy Markdown

This pull request primarily updates the project to use the latest 1.1.0 versions of several alloy-* dependencies and switches their source from a forked repository (okx/alloy) to the official upstream (alloy-rs/alloy). Additionally, there are minor code cleanups and a new method added to the ProviderFactory for setting the genesis block number.

Dependency updates and source changes:

  • Updated all alloy-* dependencies in Cargo.toml from version 1.0.41 to 1.1.0.
  • Changed the [patch.crates-io] section to point to the official alloy-rs/alloy repository instead of the okx/alloy fork, with a new commit reference.

Codebase improvements:

  • Added a new with_genesis_block_number method to ProviderFactory, allowing the genesis block number to be set for an existing provider.
  • Cleaned up imports in crates/optimism/rpc/src/eth/mod.rs and crates/rpc/rpc/src/eth/filter/filter_xlayer.rs by removing unused items. [1] [2]

@louisliu2048 louisliu2048 merged commit ebca771 into dev Nov 10, 2025
Vui-Chee added a commit that referenced this pull request Nov 11, 2025
* dev: (458 commits)
  Ignore xlayer-e2e-test during integration testing (#32)
  feat(genesis): optimize genesis loading with built-in xlayer specs (#23)
  Mirror default timeout in `clap` args struct (#31)
  fix constraint (#30)
  support trace tx log (#16)
  Avoid cloning tx during payload execution (#29)
  Feature: import blockchain data into op-reth (#20)
  perf(cargo): Use alloy 1.1.0 and fix some warning issue (#26)
  feat: Add E2E Test Suite (#19)
  fix tx number inconsistencies issue cause by intercept bridge function (#25)
  fix build error
  feat: integrate Apollo dynamic configuration (#8)
  feat: support `eth_transactionPreExec` api (#10)
  chore: bump version
  chore: bump revm v31.0.1 (paradigmxyz#19567)
  Xiong/block bridge okb (#21)
  feat: Add legacy RPC routing support for historical block data migration (#6)
  feat(genesis): Support legacyXLayerBlock in genesis.json (#11)
  chore: Update cursor rules, add rust comprehensive cursor rules (#17)
  chore: bump v1.9.0 (paradigmxyz#19507)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants