alloy-evm cannot be bumped to 0.28 until reth updates its dependency
- Vorherrschende Sprache
- Rust
- Sterne
- 8
- Forks
- 9
- Ø Merge
- 2 T. 13 Std.
- Gemergte PRs (30 T.)
- 6
Beschreibung
## Description
Dependabot opened a PR to bump `alloy-evm` from 0.27.2 to 0.28.0, but it **cannot be merged** because `reth v1.11.1` internally depends on `alloy-evm 0.27.3`.
Having both versions in the dependency graph causes type mismatches — Rust treats `alloy-evm 0.27::EthBlockExecutorFactory` and `alloy-evm 0.28::EthBlockExecutorFactory` as completely different types, resulting in compilation errors in `crates/ev-revm/src/factory.rs`.
## Required changes for alloy-evm 0.28
- **`Precompile` trait breaking change:** `is_pure()` was renamed to `supports_caching()` ([alloy-rs/evm#284](https://github.com/alloy-rs/evm/pull/284)). Requires a trivial fix in `crates/ev-precompiles/src/mint.rs`.
- **Version alignment:** `alloy-evm` must match the version used by reth to avoid duplicate types in the dependency graph.
## Action
- Close the dependabot PR for now
- Wait for a reth release that depends on `alloy-evm >= 0.28`
- Then update reth and alloy-evm together
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.