helios icon indicating copy to clipboard operation
helios copied to clipboard

refactor: remove alloy-trie direct dependency and use alloy::trie feature

Open avorylli opened this issue 5 months ago • 0 comments

Problem

Direct dependency on alloy-trie caused version conflicts when alloy umbrella package updated to a new minor version of alloy-trie, requiring tricky patching from dependent projects.

Solution

  • Remove direct alloy-trie dependency from workspace
  • Add "trie" feature to alloy dependency
  • Update all module Cargo.toml files to use alloy = { workspace = true, features = ["trie"] }
  • Change imports from alloy_trie:: to alloy::trie:: and alloy::consensus::

Changes

  • 13 Cargo.toml files: Updated alloy dependency configuration
  • 2 source files: Updated import statements in core/src/execution/proof.rs and core/src/execution/providers/rpc.rs

Closes #658

avorylli avatar Aug 17 '25 13:08 avorylli