Skip to content

Commit

Permalink
unwrap ICS008 wasm client at ConnOpenTry and ConnOpenAck (#1246)
Browse files Browse the repository at this point in the history
* add GAT for ClientStateWrapperAtAnyCounterParty

* add trait bounds

* unwrap expecting a client state wrapper

* fix test

* rm trait bound

* rm Into::into

* validate_self_client takes wrapped client_state

* nit on trait method types

* revert logic

* unpack wasm client on wasm client id

* add tests for is_wasm_client_id

* add trait bounds

* add prost dep

* successful compilation

* impl fn to unpack host client state

* update cargo lockfiles for ci

* fix no_std import

* fix is_wasm_client_id

* fix comment

* add changelog entry

* doc-comment for unpack_host_client_state

* use constant for wasm client-id prefix
  • Loading branch information
rnbguy authored Jun 5, 2024
1 parent c2c8dfa commit ea662dc
Show file tree
Hide file tree
Showing 8 changed files with 263 additions and 143 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Unpack Wasm client state at `ConnectionOpenTry` and `ConnectionOpenAck` for
host client state. ([#1237](https://github.com/cosmos/ibc-rs/issues/1237)).
18 changes: 16 additions & 2 deletions ci/cw-check/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ea662dc

Please sign in to comment.