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

ibc: extend prehash_key_before_comparison hack for new substore spec #3493

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

avahowell
Copy link
Contributor

Since we're using two JMT specs now, we need to extend the legacy mode to allow both to have no prehash_key_before_comparison.

@@ -233,6 +233,7 @@ pub fn validate_penumbra_client_state(
// allow legacy proof specs without prehash_key_before_comparison
let mut spec_with_prehash_key = tm_client_state.proof_specs.clone();
spec_with_prehash_key[0].prehash_key_before_comparison = true;
spec_with_prehash_key[0].prehash_key_before_comparison = true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think that's a typo it should be [1] right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, oof

@avahowell avahowell force-pushed the remaining-ibc-fixes branch from 4a80bf3 to d14d904 Compare December 8, 2023 23:40
@hdevalence hdevalence merged commit c8cfe17 into main Dec 9, 2023
5 checks passed
@hdevalence hdevalence deleted the remaining-ibc-fixes branch December 9, 2023 16:49
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.

3 participants