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 getting next governance sequence #87

Merged
merged 10 commits into from
Oct 19, 2023
Merged

Conversation

Lbqds
Copy link
Member

@Lbqds Lbqds commented Oct 17, 2023

We need to get the current governance sequence from all chains and then use the max(governanceSeqsFromAllChains) + 1 as the next governance sequence. But we cannot determine how many governance VAA have already been executed from the ETH contract(as ETH does not store sequence info but uses a map to record all executed VAA, and in Solidity, we cannot get the size of a map). So I modified it here to get the next governance sequence from the explorer-backend.

@Lbqds Lbqds requested a review from h0ngcha0 October 17, 2023 13:32
Copy link
Member

@h0ngcha0 h0ngcha0 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Lbqds Lbqds merged commit 09fc636 into master Oct 19, 2023
8 of 11 checks passed
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