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

Port v0.80.0 changes to main branch #4791

Merged
merged 9 commits into from
Aug 7, 2024
Merged

Conversation

conorsch
Copy link
Contributor

@conorsch conorsch commented Aug 5, 2024

Describe your changes

This PR cherry-picks all the commits from #4787, constituting v0.80.0, back into the main branch. It's necessary to do so, because the changes in #4787 were prepared against a release branch, release/v0.80.x, which was branched off of the v0.79.3 tag, to ensure the smallest possible diff.

Given that these changes are critical, let's get them into the main branch, so that regular development workflows will use them going forward.

Issue ticket number and link

Refs #4787.

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    These changes are consensus-critical, but were already reviewed in fix(ibc)!: handle ibc withdrawals correctly #4787.

Reviewing

The reviewer should ensure that this PR includes all of, and nothing but, the commits present in #4787.

avahowell and others added 9 commits August 5, 2024 13:36
This commit adds a `logic_version` flag to withdrawals,
to allow issuing compat address withdrawals. It also implements correct
error handling on withdrawal attemtps when counterparty chains
return an error.

(cherry picked from commit b49d69d)
(cherry picked from commit 0c0ca04)
This commit adds a pd migration, intended to permit upgrade
coordination, so that breaking changes related to ibc withdrawal
handling can be made to pd safely. The migration doesn't alter chain
state: it simply flips the halt bit off, and permits the chain to
resume, after folks have upgraded to a new version of pd.
This approach assumes that an upgrade proposal was submitted and passed,
in order to halt the chain in a coordinated upgrade.

chore: bump crate versions to 0.80.0-alpha.1
(cherry picked from commit 2c89729)
This adds a state change to the migration, in order to replace all of
the packets which had error acknowledgements, so that, post-migration,
the acks can be replayed with the correct logic for error acks, the
packets having been replaced in the state.

This also changes the IBC component visibility of a trait to reuse the
logic for inserting packet commitments.

(cherry picked from commit 09a822e)
(cherry picked from commit f8fd4b4)
@conorsch conorsch added consensus-breaking breaking change to execution of on-chain data state-breaking breaking change to on-chain data labels Aug 5, 2024
@conorsch conorsch merged commit c4db70a into main Aug 7, 2024
13 checks passed
@conorsch conorsch deleted the port-0_80_0-changes-to-main branch August 7, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus-breaking breaking change to execution of on-chain data state-breaking breaking change to on-chain data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants