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

ICS4: Change location where upgrade sequence gets incremented #804

Merged
merged 5 commits into from
Aug 1, 2022

Conversation

AdityaSripal
Copy link
Member

Suggestion from implementation team cc: @damiannolan @colin-axner

Copy link
Contributor

@mpoke mpoke left a comment

Choose a reason for hiding this comment

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

LGTM.

@AdityaSripal AdityaSripal merged commit 3270efe into main Aug 1, 2022
@AdityaSripal AdityaSripal deleted the aditya/increment-upgrade-in-init branch August 1, 2022 12:42
Comment on lines +397 to 398
if counterpartySequence > currentSequence {
provableStore.set(channelUpgradeSequencePath(portIdentifier, channelIdentifier), counterpartySequence)
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel it may be useful to reassign currentSequence as well, in case the spec gets refactored later, this would need to be accounted for

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

3 participants