chain-registry
chain-registry copied to clipboard
PR 681 changes breaks some relayer commands
I was just playing with the relayer code in vscode
and tried to execute command rly paths fetch
with the chains set to cosmoshub
and osmosis
. However, it panics each time and I think that is because of PR #681
The IBCData
struct still uses dashes
for the key names in the json registry files.
See https://github.com/cosmos/relayer/blob/ffc46dc11b306b5673b7ca03ce5c4ee77ce4ce57/relayer/path.go#L105 for reference.
Here is the error.
hi @ashishchandr70 , thanks for bringing this up.
For now, I believe reverting the change may resolve your issue, and likely not impact anything else built around the underscores, since it is a recent change. However, I believe the issue that called for that change has some validity. I'm wondering (and hoping) that a PR to update that struct at the same time can resolve this and prevent issues like this in the future...
@JeremyParish69 thanks for your response. Would the PR be created by someone on the relayer
team? Should I close this issue or leave it open?
@JeremyParish69 thanks for your response. Would the PR be created by someone on the
relayer
team? Should I close this issue or leave it open?
I submitted a PR that has been merged. I might wait a couple days before closing to see if anyone (you?) can confirm that the issue is truly resolved.