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: use height in store for checking upgrade status #340

Merged
merged 1 commit into from
Apr 24, 2023
Merged

Conversation

yutianwu
Copy link
Contributor

@yutianwu yutianwu commented Apr 24, 2023

Description

This pr will fix the issue that we can not get the right commit id when there is a fork to calculate the hash of the merkle tree.

It will use the height of the commit itself to check the upgrade status instead of the height set in begin block when calculating the hash of the merkle trees.

Rationale

Fix issue calculate store hash.

Example

N/A

Changes

Notable changes:

  • use height in store for checking upgrade status

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