Skip to content

feat: easy RPC configuration for agents for all chains#5834

Closed
mkykadir wants to merge 6 commits intohyperlane-xyz:mainfrom
mkykadir:feat/single-rpc-config
Closed

feat: easy RPC configuration for agents for all chains#5834
mkykadir wants to merge 6 commits intohyperlane-xyz:mainfrom
mkykadir:feat/single-rpc-config

Conversation

@mkykadir
Copy link
Copy Markdown
Contributor

@mkykadir mkykadir commented Apr 3, 2025

Description

This PR introduces a new common configuration field rpcUrls which is a string argument expecting list of comma separated RPC URLs. Regardless of chains, any chain RPC URL can be provided in list and while configuration is loaded each RPC will be queried for its chain id so its utilized within related chain configuration.

This makes configuration very easy, especially for automated deployment environments.

Drive-by changes

Configuration loading is now async

Related issues

NA

Backward compatibility

Changes are backward compatible. Common rpcUrls field is optional, when provided URL preferred over chain specific fields so that its easy to configure RPC URLs by default. If common (new) field is not provided RPC URL configuration works as usual.

Testing

Manual, rpcUrls provided and tested

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 3, 2025

⚠️ No Changeset found

Latest commit: 12796a7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mkykadir
Copy link
Copy Markdown
Contributor Author

mkykadir commented Apr 3, 2025

Docs PR hyperlane-xyz/v3-docs#377

@mkykadir
Copy link
Copy Markdown
Contributor Author

mkykadir commented May 5, 2025

updated with latest main

@mkykadir
Copy link
Copy Markdown
Contributor Author

closing this that I dont have enough time to keep it updated with recent changes

@mkykadir mkykadir closed this Jan 27, 2026
@github-project-automation github-project-automation bot moved this from In Review to Done in Hyperlane Tasks Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant