Skip to content

Conversation

@jmg-duarte
Copy link
Contributor

Description

Cleans up the usage of ethcontract exports, this makes it easier to track the migration progress

Changes

  • Replaces the ethcontract exports with the proper library
  • Removes unused APIs
  • Replaces some of the ethrpc legacy calls with alloy ones

How to test

Existing tests

@jmg-duarte jmg-duarte requested a review from a team as a code owner December 15, 2025 16:01
Copy link
Contributor

@MartinquaXD MartinquaXD left a comment

Choose a reason for hiding this comment

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

LGTM besides the dependency question.

url = { workspace = true }
web3 = { workspace = true }
mockall = { workspace = true, optional = true }
jsonrpc-core.workspace = true
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a particular reason this doesn't use the same formatting as every other dependency?

Copy link
Contributor

Choose a reason for hiding this comment

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

Also why do we need this dependency here in the first place? I don't see this being used anywhere in the PR. Is this similar to the feature unification issue where building some crates required them to be built together with some other crates?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here: https://github.com/cowprotocol/services/pull/3981/changes#diff-f48c389d126b8afd133990245b459039d7bbdc83c073d5114471ea5f937ecc33L4

About the formatting, I added it using cargo add so it came out like that. IMO we should use a formatter for the TOMLs too

@jmg-duarte jmg-duarte added this pull request to the merge queue Dec 16, 2025
Merged via the queue into main with commit 1a4790c Dec 16, 2025
18 checks passed
@jmg-duarte jmg-duarte deleted the jmgd/alloy/cleanup branch December 16, 2025 14:13
@github-actions github-actions bot locked and limited conversation to collaborators Dec 16, 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.

3 participants