Skip to content

Conversation

@jmg-duarte
Copy link
Contributor

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

Description

Migrates almost all RPC calls to the alloy provider. As far as I can tell, the only remaining ones are related to the access lists which require more attention.

There are others missing because they use the transport variable and I was only searching for web3; I'll leave it for another PR

Changes

  • Migrate existing RPC calls into alloy
  • Refactor where applicable

How to test

Existing tests + staging

Base automatically changed from jmgd/alloy/cleanup to main December 16, 2025 14:13
@jmg-duarte jmg-duarte marked this pull request as ready for review December 16, 2025 14:26
@jmg-duarte jmg-duarte requested a review from a team as a code owner December 16, 2025 14:26
@squadgazzz
Copy link
Contributor

How to test
Existing tests + staging

Well, this change might affect the performance. It would be great to test it on prod as well and probably release it separately as a hotfix.

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.

If there are no old chain_id() calls left could you please also update our custom clippy lint.

@MartinquaXD
Copy link
Contributor

Well, this change might affect the performance.

Is there anything specific you worry about? The PR looks pretty innocent to me.

@squadgazzz
Copy link
Contributor

Is there anything specific you worry about?

I assume the RPC calls in the indexers are migrated to alloy. Not sure how it will behave.

Copy link
Contributor

@squadgazzz squadgazzz left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for running the tests ❤️

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

5 participants