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

solo: verify DB hash #2617

Merged
merged 2 commits into from
Jun 22, 2023
Merged

solo: verify DB hash #2617

merged 2 commits into from
Jun 22, 2023

Conversation

dessaya
Copy link
Collaborator

@dessaya dessaya commented Jun 20, 2023

This is an attempt to address #2140 .

If a solo test is completely deterministic, then we can verify the DB hash at the end of the test. If we ever change the state contents (i.e. a breaking change), the hash will change, so the test will fail.

@dessaya dessaya force-pushed the statehash branch 7 times, most recently from 49ee89b to 6bc6ed0 Compare June 21, 2023 21:21
@dessaya dessaya merged commit 88c0a24 into iotaledger:develop Jun 22, 2023
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