Skip to content

client/providers: Update EVM RPC providers#3455

Merged
JoeGruffins merged 5 commits intodecred:masterfrom
JustinBeBoy:free-evm
Dec 30, 2025
Merged

client/providers: Update EVM RPC providers#3455
JoeGruffins merged 5 commits intodecred:masterfrom
JustinBeBoy:free-evm

Conversation

@JustinBeBoy
Copy link
Copy Markdown
Contributor

@JustinBeBoy JustinBeBoy commented Dec 24, 2025

Close #3447

This PR replace non-functional RPC providers with reliable alternatives for Ethereum and Polygon networks.

Copilot AI review requested due to automatic review settings December 24, 2025 10:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the RPC provider lists for Ethereum and Polygon networks, addressing issue #3447. The changes refresh the default provider configurations and test server lists to reflect current provider availability and performance characteristics.

Key Changes:

  • Updated Ethereum mainnet and Sepolia testnet provider lists with reordered priorities and new providers
  • Updated Polygon mainnet and Amoy testnet provider lists with reorganized providers and enhanced documentation
  • Added descriptive comments to provider entries indicating uptime, rate limits, and provider characteristics

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
client/asset/polygon/polygon.go Updated mainnet and testnet default provider lists with reordered priorities and added descriptive comments for each provider
client/asset/polygon/multirpc_live_test.go Reorganized test server lists, removed outdated passing/failing categorization comments, and added new providers
client/asset/eth/eth.go Updated Ethereum mainnet and Sepolia testnet provider lists with new priorities and descriptive comments
client/asset/eth/multirpc_live_test.go Updated test server lists, removed legacy Goerli references, and reorganized provider entries

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread client/asset/polygon/polygon.go Outdated
Comment thread client/asset/eth/multirpc_live_test.go Outdated
Copy link
Copy Markdown
Member

@JoeGruffins JoeGruffins left a comment

Choose a reason for hiding this comment

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

Looks great but the tests shows these don't seem to all be working at %100.

Comment thread client/asset/eth/multirpc_live_test.go
Comment thread client/asset/eth/eth.go
@JustinBeBoy
Copy link
Copy Markdown
Contributor Author

image

Some providers only support retrieving headers by hash or number. @JoeGruffins , please test this for me.

Copy link
Copy Markdown
Member

@JoeGruffins JoeGruffins left a comment

Choose a reason for hiding this comment

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

I think just remove dRPC and this is good.

Unless the code can be changed to only need one of the header methods. I don't know currently if we can do this though.

Comment thread client/asset/eth/eth.go
Comment thread client/asset/eth/multirpc.go Outdated
Comment thread client/asset/eth/multirpc_live_test.go
Comment on lines +139 to +143
// Verified working (2025-12-26)
"https://polygon-rpc.com", // Polygon Labs official
"https://rpc-mainnet.matic.quiknode.pro", // QuikNode
"https://gateway.tenderly.co/public/polygon", // Tenderly
"https://polygon-bor-rpc.publicnode.com", // PublicNode
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

All passing for me!

@JoeGruffins
Copy link
Copy Markdown
Member

JoeGruffins commented Dec 29, 2025

I thought llama was ok for you? I had a time out but maybe just me.

Well, llamarpc.com still not working for me, so you can decide:

XXXX "https://eth.llamarpc.com" FAILED : connect error: failed to connect to even a single provider among: llamarpc.com

providerInfura = "infura.io"
providerRivetCloud = "rivet.cloud"
providerAlchemy = "alchemy.com"
providerdRPC = "drpc.org"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can take out drpc I guess. Probably their paid service works but free does not so would need to check.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Or is it in here because it is working on testnet? I didn't check testnet but we should have these correct for mainnet.

Copy link
Copy Markdown
Contributor Author

@JustinBeBoy JustinBeBoy Dec 29, 2025

Choose a reason for hiding this comment

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

but it works on testnet.

@JustinBeBoy
Copy link
Copy Markdown
Contributor Author

I thought llama was ok for you? I had a time out but maybe just me.

Well, llamarpc.com still not working for me, so you can decide:

XXXX "https://eth.llamarpc.com" FAILED : connect error: failed to connect to even a single provider among: llamarpc.com

It seems your code isn't the latest version, I've removed it.

@JoeGruffins JoeGruffins merged commit 002c17a into decred:master Dec 30, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

client/providers: Update free evm providers.

3 participants