Skip to content

fix: bump alloy to 0.15 #199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

fix: bump alloy to 0.15 #199

wants to merge 19 commits into from

Conversation

zerosnacks
Copy link
Member

@zerosnacks zerosnacks commented Mar 18, 2025

Motivation

Updates:

  • Alloy to 0.15

Temporarily comments out the examples related to:

  • Reth
  • Foundry Fork DB

Due to incompatibility in dependencies

We should filter these out from the book: foundry_fork_db, reth_db_layer and reth_db_provider

Blockers

Reth uses revm = { version = "22.0.1", default-features = false }
Foundry Fork DB uses revm = { version = "23.0.0", features = ["std", "serde"] }

Closes: #195

Pending:

- [ ] Bump foundry-fork-db after REVM compatibility (foundry-rs/foundry-fork-db#44)
- [ ] Update examples to be compatible with new REVM

End result should be a passing CI with no warnings

Added follow-up ticket here: #217

PR Checklist

  • Added Documentation
  • Breaking changes

@zerosnacks zerosnacks changed the title fix: ci build fix: bump alloy + bump revm + fix ci build May 8, 2025
@zerosnacks zerosnacks self-assigned this May 8, 2025
@zerosnacks zerosnacks changed the title fix: bump alloy + bump revm + fix ci build fix: bump alloy to 0.15 May 9, 2025
@zerosnacks zerosnacks marked this pull request as ready for review May 9, 2025 08:41
@zerosnacks zerosnacks requested a review from yash-atreya as a code owner May 9, 2025 08:41
@@ -76,7 +76,7 @@ async fn main() -> Result<()> {

// Create a provider with both signers pointing to anvil
let rpc_url = anvil.endpoint_url();
let provider = ProviderBuilder::new().wallet(wallet).on_http(rpc_url);
let provider = ProviderBuilder::new().wallet(wallet).connect_http(rpc_url);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seeing a

Sent approval: 0x93426765c406ba149df94b52df30b415bc812b7d384dbcaafb9a389a4eec3555
Error: server returned an error response: error code 3: execution reverted, data: "0x"

Does not appear to be a regression as it also appears on main

Still worth looking into

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding to the ignore list in run.sh for now

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added follow-up ticket for it here: #218

@github-project-automation github-project-automation bot moved this to Reviewed in Alloy May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Reviewed
Development

Successfully merging this pull request may close these issues.

chore: fix broken CI build
3 participants