-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
store: app hash changes with each commit #520
Comments
sure, yes. any reason why this wouldn't be acceptable? |
If we want no-empty-blocks to work for SDK apps. Unless we change this behaviour, we will have a continual stream of empty blocks because the app hash always changes. |
Closing in favor of #1351 |
MSalopek
pushed a commit
to MSalopek/cosmos-sdk
that referenced
this issue
Feb 22, 2024
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
The AppHash is the SimpleHashFromMap of the
commitInfo
for each store.The
commitInfo
contains theVersion
, which increments for each height.Thus even with empty blocks, the SDK will change the AppHash with every commit.
Is this expected behaviour ?
The text was updated successfully, but these errors were encountered: