-
Notifications
You must be signed in to change notification settings - Fork 329
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
Creating a channel fails trying to simulate the tx and ultimately fails out #2385
Comments
Yes please paste the full output, thanks! |
Could you also provide the cosmos-sdk and ibc-go versions used by (the new) Curium chain? |
Here is the full output, in an attachment. |
Cosmos SDK version: v0.44.3 |
IBC Go version: v1.2.2 |
Thanks. It looks like the allowed client types is not set in the store and SDK panics when trying to get it during client creation. Can you check that genesis.json for the curium chain includes something like this:
|
Thanks so much! I believe your suggestion totally resolved the original issues. I am running into some more that I would appreciate help on. Given you helped me with the first one, perhaps this one will be resolved too, @ancazamfir ? Please see the attached. Basically, it did not die right away and tried to create the IBC connection. In fact, it seems there is a valid TX registered to start the connection but ultimately, Hermes stops. Seems related to #1971 from the standpoint that the error I see in my setup is mentioned there in 1971. It would seem the message "ConnectionOpenTry" is unknown...? Thanks. |
Could you check again
The relevant part being |
Thanks. Look like we are making good progress @ancazamfir. It went further but then gave more errors. Interesting thing is this time, Hermes did not end, but it did give a bunch of errors. Attached: You can see here on Big Dipper, which IBC-related messages went through: http://preview.bluzelle.com/transactions Please advise. Greatly appreciate it. |
Looks like transfer module did not bind to the transfer port so has not claimed the capability. Maybe this is missing this from the
|
Ok @ancazamfir looks like you REALLY know your stuff. Thanks. Just made those changed and it appears the handshake worked and there is a path between the two chains now.
More soon :). Thanks a bunch! |
great! are there any more issues you are seeing? if not we can maybe close this one? |
All good for now. Will ping if something new comes up... probably as a different issue. Hopefully, that won't be necessary. BTW, I am writing up some docs... sort of a "quick start" for Hermes + connecting two chains. I know the docs for Hermes have this, but mine is perhaps more deeper, for lack of a better word. Would this be of value to the community? Where can I put it? Thanks again! |
Glad to hear that, and yeah please don't hesitate to open issues if you run into any other kind of trouble.
Wow that's great, we would love to check it out once it's ready and could perhaps add it to the Hermes guide if you'd agree. Feel free to open a PR against the guide or just link us to a GitHub Gist and we'll take a look :) |
Sorry for the delay. Heads down with related work but this will come out and will announce when ready :). |
Summary of Bug
When I try to create a channel with Hermes, it fails with a lengthy output. I was attempting this between Osmosis testnet and my own Testnet for Bluzelle. Interestingly, an earlier version of Curium chain works fine with Hermes. This deployment of Curium chain has some parametric differences and is a fork of an existing LaunchPad network, but I don't see how the fork itself is the difference/cause. Obviously, something different explains this new failure.
The key aspect of the failure appears to be the call to "CreateClient", where an attempt to estimate the gas, fails.
Here is the output (with much of the golang output purged for practicality -- please ask if the rest is needed):
Version
Hermes version:
hermes 0.15.0+4e83aae
Steps to Reproduce
Here is the command that was run and can be run again to reproduce:
hermes create channel osmo-test-4 -c curium --port-a transfer --port-b transfer --new-client-connection
You will need an adequately funded curium account. Here is the json you can use to add the key to Hermes:
Note: You will likely need to add the following parameter when adding the key above to Hermes:
You will need an adequately funded osmosis account. For simplicity, I provide here the json you can use for adding a key for osmosis:
Here is a relevant snippet of Hermes' config.toml I use (modifed with the rpc and grpc endpoints working for the Internet):
The other sections of config.toml is the default if I recall.
Acceptance Criteria
I can run the command to create a channel, successfully.
For Admin Use
The text was updated successfully, but these errors were encountered: