evstack / evstack/ev-reth

alloy-evm cannot be bumped to 0.28 until reth updates its dependency

Aperta
#154 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
8
Fork
9
Merge medio
2g 13h
PR unite (30g)
6

Descrizione

## 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.