feature/storage-ttl-v2-and-safe-pause-guards#385
Merged
Cedarich merged 4 commits intoApr 30, 2026
Merged
Conversation
…-v2-and-safe-pause-guards
…n on activity, and robust cleanup Implement per-record TTL policy for escrow, stealth escrow, fee config, and ID map Auto-extend TTL on all read/write activity to reduce user friction and storage waste Refactor storage helpers to use new TTL logic Add/extend tests for ledger aging, retention, and cleanup safety Ensure cleanup does not break active escrows
- Implement irreversible Emergency Mode to lock contract state during crises. - Block risky entry points (deposit, admin, and pause controls) while mode is active. - Ensure safe recovery paths (refund and cleanup) remain accessible during emergency. - Add Admin-only activation logic and event emission. - Fix test suite panics by ensuring proper contract initialization. - Resolve Host Error 10 by minting tokens to test accounts to establish ledger entries. - Standardize authorization mocking and ledger time-warping for refund verification.
|
@preciousadeyemi78 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
Author
|
@Cedarich please, approve workflow to run. |
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.
Feat: Storage TTL v2 & Safe Pause Guards
Overview
This PR delivers two critical operational and security enhancements:
Issue 1: Storage TTL Strategy v2 (#307)
Changes
Acceptance Criteria Met
Issue 2: Safe Pause Guards (#306)
Changes
Acceptance Criteria Met
Files Modified
Evidence
Closes #307
Closes #306