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

basically revert changes from PR 2610. #2750

Merged
merged 1 commit into from
May 21, 2024

Conversation

BillyWooo
Copy link
Collaborator

PR 2610 breaks enclave upgrade process. "state.get_block_number()" will return None.

let next_sidechain_number = state.get_block_number().map_or(1, |n| n + 1);

Copy link
Contributor

@Traf333 Traf333 left a comment

Choose a reason for hiding this comment

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

Not sure about code, but tested locally full cycle of running and upgrading worker - works fine 🚀

Thanks @BillyWooo

@BillyWooo BillyWooo merged commit 2e5c99f into dev May 21, 2024
33 checks passed
@BillyWooo BillyWooo deleted the bug-fix-enclave-upgrade-always-mismatch branch May 21, 2024 10:04
Kailai-Wang added a commit that referenced this pull request May 31, 2024
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.

None yet

2 participants