You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: allow for multiple ws endpoints in remote config (#372)
<!-- greptile_comment -->
## Greptile Summary
This PR adds support for multiple WebSocket endpoints in the remote
configuration, enabling more flexible validator setup and improved
connection management.
- Added new `CustomWithMultipleWs` variant in
`magicblock-config/src/accounts.rs` to handle multiple WebSocket URLs
- Modified `RemoteAccountUpdatesShard` and `RemoteAccountUpdatesWorker`
to use direct URL and commitment fields instead of `RpcProviderConfig`
- Updated `magicblock-mutator/src/cluster.rs` needs improvement in
WebSocket URL handling and error cases
- Added test coverage in `magicblock-config/tests/parse_config.rs` for
multiple WebSocket configurations
- Simplified configuration parsing by removing custom deserialization in
favor of serde defaults
<!-- /greptile_comment -->
---------
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
0 commit comments