-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hermes Chain Configuration Unclear #1272
Comments
Based on the example config, https://hermes.informal.systems/config.html#example-configuration-file, it seems Hermes expects an operator to run a full-node for both chains, typically on the same host? If so, feel free to close this issue :) |
Hi Alexandr,
Hermes does expect connectivity to all endpoints (namely, rpc, grpc, and ws) for all chains specified in config.toml. But it depends what functionality do you want to use Hermes for concretely. Suppose you configure two chains
Then at runtime Hermes will not try to establish connection to any of the endpoints configured for chain
Not necessarily on the same host.
Each
If you run |
Thanks for the excellent explanation @adizere! Quick clarification,
|
That's correct. If there are only two chains configured, then only packets between those two can Hermes relay, i.e., the two chains will serve as a source for each other, and likewise as a destination for each other's relevant events. Hermes will ignore all events that pertain to chains which are unknown (unspecified in config.toml). |
Glad to help! Is there a specific use-case you might have in mind that you'd like Hermes to cover (e.g., uni-directional relaying)? Also, I leave it up to you to close this issue if we managed to clarify it. |
This clarifies it for me. Thank you so much. |
Let's actually re-open this until we clarify the points above directly in the configuration/guide. |
Crate
ibc-relayer(-cli)
Summary
Please close this issue if a duplicate.
Relayers are still a relatively new thing in the Cosmos/IBC landscape and there aren't many operators that run them or know how to run and configure them effectively.
The current configuration, specifically the
[[chain]]
, doesn't really document what chains the values correspond to.Specifically, I imagine a relayer will listen for events/txs from a source chain and relay them to a destination chain and this relayer will typically exist on the same host of the destination chain. It's not clear, for example, if the
id
is the source chain in this context or the chain being relayed (txs sent) to (I assume the destination chain). The same applies for the gRPC, websocket, and RPC endpoints. I think the rest of the configurations are pretty self-explanatory (they're for the destination chain).Proposal
Document in the configuration if the relevant values correspond to the source or destination chain.
For Admin Use
The text was updated successfully, but these errors were encountered: