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

fix packet commitment paths: use sequences correctly #2837

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

avahowell
Copy link
Contributor

Our packet commitment paths were wrong, because they were modeled on the IBC spec, which contains state commitment paths different than what is currently deployed in ibc-go:

https://github.com/cosmos/ibc/blob/854f2e13ccab539dd99d9889dd9367339875f73e/spec/core/ics-004-channel-and-packet-semantics/README.md?plain=1#L231

vs ibc-go:

https://github.com/cosmos/ibc-go/blob/56a519c188ae841818b9ecd11244240941cc5d90/modules/core/24-host/keys.go#L212

this PR brings the penumbra commitment paths inline with ibc-go.

Should address #2834, but let's avoid closing that issue until we confirm with testing.

@avahowell avahowell requested a review from conorsch July 14, 2023 06:12
@avahowell avahowell temporarily deployed to smoke-test July 14, 2023 06:12 — with GitHub Actions Inactive
@avahowell
Copy link
Contributor Author

In the longer term, think we should probably move these commitment paths to ibc-types. cc @hdevalence

@conorsch conorsch temporarily deployed to smoke-test July 14, 2023 16:11 — with GitHub Actions Inactive
@conorsch
Copy link
Contributor

As usual, will merge this onto preview, and re-run the devnet/preview script locally to evaluate behavior.

@conorsch conorsch merged commit bb15cdd into main Jul 14, 2023
8 checks passed
@conorsch conorsch deleted the fix-packet-state-paths branch July 14, 2023 16:42
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.

2 participants