Skip to content

Conversation

@jmg-duarte
Copy link
Contributor

@jmg-duarte jmg-duarte commented Dec 9, 2025

Description

Migrate the rest of the solver and solvers crates to alloy

Changes

  • Migrates the remaining structures to alloy
  • Removes the ethcontract, primitives-types and ethereum-types dependencies

How to test

Existing tests

@jmg-duarte jmg-duarte requested a review from a team as a code owner December 9, 2025 16:33
@jmg-duarte jmg-duarte marked this pull request as draft December 9, 2025 16:33
@jmg-duarte jmg-duarte force-pushed the jmgd/alloy/solvers branch 2 times, most recently from 14d5803 to 0c3728b Compare December 10, 2025 12:14
@jmg-duarte jmg-duarte changed the base branch from jmgd/alloy/solver to main December 10, 2025 12:14
@jmg-duarte jmg-duarte changed the title Migrate the rest of the solvers crate to alloy Migrate the rest of the solver(s) crates to alloy Dec 10, 2025
@jmg-duarte jmg-duarte marked this pull request as ready for review December 10, 2025 12:16
Copy link
Contributor

@m-sz m-sz left a comment

Choose a reason for hiding this comment

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

Overall looks good to me. There are some inconsistencies around using U256::ONE and U256::from(1), and the question regarding adding .expect() when migrating from as_u128()

@m-sz
Copy link
Contributor

m-sz commented Dec 10, 2025

As we are not introducing any new panics, I do not lean strongly on You having to change U256::from(1) to U256::ONE.

@jmg-duarte jmg-duarte added this pull request to the merge queue Dec 10, 2025
Merged via the queue into main with commit 094a638 Dec 10, 2025
18 checks passed
@jmg-duarte jmg-duarte deleted the jmgd/alloy/solvers branch December 10, 2025 18:12
@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants