Skip to content

Use custom provider with multiple RPC's#2260

Merged
pablomendezroyo merged 15 commits intodevelopfrom
pablo/add-syncing-checker-to-provider
Sep 17, 2025
Merged

Use custom provider with multiple RPC's#2260
pablomendezroyo merged 15 commits intodevelopfrom
pablo/add-syncing-checker-to-provider

Conversation

@pablomendezroyo
Copy link
Copy Markdown
Contributor

@pablomendezroyo pablomendezroyo commented Sep 16, 2025

Implement a custom provider with multiple RPC's with a priority defined by the order of the URL item in the array. The main purpose of this implementation is to fetch the RPC and retry on error with the next RPC in the array. Also store the healthy status of the latest RPC queried as well as the timestamp, so the unhealthy RPC's are only re-queried if the timestamp has passed.

Todo: allow to define optional beaconchain URL associated with an execution URL to check if its synced or not

@pablomendezroyo pablomendezroyo requested a review from a team as a code owner September 16, 2025 11:16
@pablomendezroyo pablomendezroyo marked this pull request as draft September 16, 2025 11:17
@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 16, 2025

@github-actions github-actions bot temporarily deployed to commit September 16, 2025 12:20 Inactive
@github-actions github-actions bot temporarily deployed to commit September 16, 2025 12:38 Inactive
@github-actions github-actions bot temporarily deployed to commit September 16, 2025 14:13 Inactive
@pablomendezroyo pablomendezroyo marked this pull request as ready for review September 16, 2025 14:16
@github-actions github-actions bot temporarily deployed to commit September 16, 2025 14:18 Inactive
@github-actions github-actions bot temporarily deployed to commit September 16, 2025 14:19 Inactive
@github-actions github-actions bot temporarily deployed to commit September 16, 2025 14:23 Inactive
@github-actions github-actions bot temporarily deployed to commit September 16, 2025 14:26 Inactive
@github-actions github-actions bot temporarily deployed to commit September 16, 2025 14:28 Inactive
@github-actions github-actions bot temporarily deployed to commit September 16, 2025 14:45 Inactive
@github-actions github-actions bot temporarily deployed to commit September 16, 2025 14:50 Inactive
@pablomendezroyo pablomendezroyo merged commit 18043b1 into develop Sep 17, 2025
9 checks passed
@pablomendezroyo pablomendezroyo deleted the pablo/add-syncing-checker-to-provider branch September 17, 2025 07:10
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.

2 participants