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

unpack ICS008 wasm client state at ConnOpenTry and ConnOpenAck #1246

Merged
merged 22 commits into from
Jun 5, 2024

Conversation

rnbguy
Copy link
Collaborator

@rnbguy rnbguy commented Jun 3, 2024

Closes: #1237

Description


PR author checklist:

  • Added changelog entry, using unclog.
  • Added tests.
  • Linked to GitHub issue.
  • Updated code comments and documentation (e.g., docs/).
  • Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

  • Reviewed Files changed in the GitHub PR explorer.
  • Manually tested (in case integration/unit/mock tests are absent).

Copy link

codecov bot commented Jun 3, 2024

Codecov Report

Attention: Patch coverage is 71.42857% with 12 lines in your changes missing coverage. Please review.

Project coverage is 67.26%. Comparing base (c2c8dfa) to head (43b88a6).

Files Patch % Lines
ibc-core/ics03-connection/src/handler/mod.rs 50.00% 12 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1246   +/-   ##
=======================================
  Coverage   67.25%   67.26%           
=======================================
  Files         234      235    +1     
  Lines       23478    23516   +38     
=======================================
+ Hits        15791    15817   +26     
- Misses       7687     7699   +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rnbguy rnbguy force-pushed the rano/allow-country-party-client-state-wrapper branch from 67841b3 to 268fcab Compare June 3, 2024 16:01
@rnbguy rnbguy force-pushed the rano/allow-country-party-client-state-wrapper branch from 9374a29 to 8a2b25f Compare June 5, 2024 11:53
@rnbguy rnbguy marked this pull request as ready for review June 5, 2024 11:53
@rnbguy rnbguy force-pushed the rano/allow-country-party-client-state-wrapper branch from fb354e4 to c8c97fc Compare June 5, 2024 12:04
@rnbguy rnbguy requested a review from seanchen1991 June 5, 2024 12:05
@rnbguy rnbguy added this pull request to the merge queue Jun 5, 2024
Merged via the queue into main with commit ea662dc Jun 5, 2024
19 checks passed
@rnbguy rnbguy deleted the rano/allow-country-party-client-state-wrapper branch June 5, 2024 13:48
rnbguy added a commit that referenced this pull request Jun 5, 2024
* 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
@rnbguy rnbguy changed the title unwrap ICS008 wasm client at ConnOpenTry and ConnOpenAck pack/unpack ICS008 wasm consensus/client state at ConnOpenTry and ConnOpenAck Jun 7, 2024
@rnbguy rnbguy changed the title pack/unpack ICS008 wasm consensus/client state at ConnOpenTry and ConnOpenAck unpack ICS008 wasm client state at ConnOpenTry and ConnOpenAck Jun 7, 2024
Farhad-Shabani pushed a commit that referenced this pull request Sep 9, 2024
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support ICS008 wrapper type for host client and consensus state
2 participants