Fix/issue 70 backup verification#99
Open
Emmanuel-Ugochukwu1 wants to merge 2 commits into
Open
Conversation
…n host errors ReentrancyGuard and TenantBondManager tests accessed storage directly without a registered contract context (env.register_contract + env.as_contract), causing all 17 pool_manager tests to panic with: this function is not accessible outside of a contract Changes: - reentrancy_guard.rs: 4 tests now register SoroSusu and wrap in as_contract - tenant_bond.rs: 13 tests now use the same pattern; invariant test batches lock/unlock ops to stay under Soroban host budget limit Test results: 384 passed, 0 failed (was 153 passed, 17 failed)
…ing (closes VeriNode-Labs#70) Implements the Scheduled Database Backup Verification with Restore Testing feature: - StateSnapshot: epoch-scoped snapshots with SHA-256 Merkle root integrity - BackupScheduler: configurable interval, cache eviction (256 snapshots max) - StateChunk: per-chunk integrity hashing and tamper detection - Restore testing: chunk-level comparison against stored snapshots - SnapshotHealth enum: Healthy/Corrupted/Missing Integration tests (11) and inline unit tests (14) cover the full lifecycle: creation, verification, eviction, restore, edge cases.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #70