alloy-evm cannot be bumped to 0.28 until reth updates its dependency
- 主要言語
- Rust
- スター
- 8
- フォーク
- 9
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 6
説明
## 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
コントリビューションガイド
調査の方向性
alloy-evm >= 0.28 を使用する reth のリリースを待ち、その後、依存関係の更新と crates/ev-precompiles/src/mint.rs を確認します。crates/ev-revm/src/factory.rs を確認し、プロジェクトのコンパイルチェックを実行します。完了の条件は、reth と alloy-evm が重複型エラーなしで互換性のあるバージョンに解決され、Precompile API の変更に対応できていることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- backend, blockchain
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 35/100