Skip to content

test: add tampered snapshot verification regression test#24

Merged
DigiEmu merged 1 commit intomainfrom
test/tampered-snapshot-verify-v1
May 7, 2026
Merged

test: add tampered snapshot verification regression test#24
DigiEmu merged 1 commit intomainfrom
test/tampered-snapshot-verify-v1

Conversation

@DigiEmu
Copy link
Copy Markdown
Owner

@DigiEmu DigiEmu commented May 7, 2026

Summary

Adds a regression test ensuring that VerifierV1 fails when a snapshot is tampered after expected_hash_v1 was produced.

Why

DigiEmu Core v1.0 requires falsifiable verification behavior:

same state → same hash
tampered state → different hash → verification FAIL

Test

  • TestVerifyFailsForTamperedSnapshot

Verification

go test ./...

@DigiEmu DigiEmu merged commit f3c9b7b into main May 7, 2026
5 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.

1 participant