Skip to content
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

Connection OpenTry from Cosmos to Sovereign fails #331

Closed
soareschen opened this issue May 17, 2024 · 0 comments · Fixed by #360
Closed

Connection OpenTry from Cosmos to Sovereign fails #331

soareschen opened this issue May 17, 2024 · 0 comments · Fixed by #360
Assignees
Labels
bug Something isn't working sovereign

Comments

@soareschen
Copy link
Collaborator

When relaying Connection OpenTry from Cosmos to Sovereign, the message fails on Sovereign with error in the form:

Processing IBC core message: Connection(OpenTry(MsgConnectionOpenTry { client_id_on_b: ClientId("07-tendermint-0"), client_state_of_b_on_a: Any { type_url: "/ibc.lightclients.wasm.v1.ClientState", ... }, counterparty: Counterparty { client_id: ClientId("08-wasm-0"), connection_id: Some(ConnectionId("connection-0")), prefix: ibc }, versions_on_a: [Version { identifier: "1", features: ["ORDER_ORDERED", "ORDER_UNORDERED"] }], ... , proofs_height_on_a: Height { revision: 2117181155, height: 29 }, consensus_height_of_b_on_a: Height { revision: 0, height: 8 }, delay_period: 0ns, signer: Signer("cosmos000000000000000000000000000000000000000"), proof_consensus_state_of_b: None, previous_connection_id: "" })) at visible slot number: 10
Tx 0xbd146a6ce7083b6aaa6e7405232720913b17c872efff1cb4d280ba6b84cbad06 was reverted error: ICS02 Client error: unknown client state type: `/ibc.lightclients.wasm.v1.ClientState`

This is probably caused by sovereign-ibc assuming that the SovereignClientState is stored natively on the Cosmos chain. However, in actual it is wrapped inside a WasmClientState on Cosmos.

This is currently being fixed on informalsystems/sovereign-ibc#160. After that, we will need to update the dependencies on sov-rollup-starter, and try running the test again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sovereign
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants