-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
add-paths nil pointer dereference #426
Comments
Turns out the If I stop the chains, then I get:
|
Thanks for the write up. Will look into it now. Are you using a custom ICS20 implementation? If I recall correctly, both versions need to be ics20-1 |
Looks like there are multiple issues with path validation. I'll see if I can rework it and post a fix |
Also, this is not good news, but I don't think the relayer can support what you are trying to do. From my understanding of the relayer architecture, there can only be one chain of a certain chain-id and only one path end for that chain. Obviously this makes the golang relayer pretty limited and this is a completely reasonable request, but the way it is designed prevents an easy fix. The best I could try to do is rework the Is this the last feature you need from the golang relayer? This is starting to enter the territory of complexity that might be better off with a redesign of the relayer It might take me some time to work through a fix that doesn't break things too much Edit: the relayer can support this, I found that it already has a hacky fix, |
Unfortunately, things seemed to work properly before the bottom-up validation was implemented. So I see it mainly as a regression, and without this basic use case working (and since the Hermes/Rust relayer is not yet ready) I can't deploy cosmos-sdk v0.41.0 in good faith. The feature I need is to configure multiple paths for a single connection, and start/stop a separate relayer instance independently for those paths. That was working in the relayer that used cosmos-sdk v0.40.0-rc4.
Yeah, that was my experience before the validation.
Hmm. This should be made better with first-class connections. Thanks for your help, I'll test it now. |
Hi, when I try adding a new path, I get the following error:
The
nchainz/config/paths
directory contains only a single file,path-1.json
, whose contents are:Output from
rly config list
(note thatpath-0
is currently being streaming relayed, but I've reproduced the failure even when the relayer is stopped):The text was updated successfully, but these errors were encountered: