alloy-evm cannot be bumped to 0.28 until reth updates its dependency
- Ngôn ngữ chính
- Rust
- Star
- 8
- Fork
- 9
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 6
Mô tả
## 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
Hướng dẫn đóng góp
Hướng nghiên cứu
Chờ một bản phát hành reth sử dụng alloy-evm >= 0.28, sau đó kiểm tra các bản cập nhật dependency và crates/ev-precompiles/src/mint.rs. Kiểm tra crates/ev-revm/src/factory.rs và chạy các bước kiểm tra biên dịch của project; được xem là hoàn tất khi reth và alloy-evm phân giải thành các phiên bản tương thích mà không có lỗi kiểu trùng lặp, đồng thời thay đổi Precompile API đã được xử lý.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- rust
- Lĩnh vực
- backend, blockchain
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 35/100