-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Labels
Description
Description
Display all ledger entries (instance, persistent, temporary) accessed during contract execution along with their TTL (time-to-live) values, and warn when entries are near expiration.
Requirements
- List all ledger entries read or written during execution
- Display storage type: Instance / Persistent / Temporary
- Show TTL for each entry
- Warn when entries are within a configurable threshold of expiration
Suggested Execution
- Branch:
git checkout -b feature/ledger-inspector - Create
src/inspector/ledger.rs - Hook into host ledger entry access tracking
- Display entries grouped by type after execution
- Add
--ttl-warn-thresholdflag - Commit:
feat: add ledger entry inspector with TTL display
Acceptance Criteria
- All accessed ledger entries listed
- Grouped by storage type (Instance/Persistent/Temporary)
- TTL displayed for each entry
- Near-expiry warnings shown in yellow
- Tests for each storage type
Reactions are currently unavailable