Summary
The RESTORING lifecycle state covers the period when a creator's archived state is being copied back to active storage. During this window the contract should continue serving read calls and queue write calls until restoration is complete. An integration test should simulate the RESTORING transition and confirm reads succeed while writes are correctly gated.
Scope
- Transition a creator's archive manifest to RESTORING state
- Call
get_price and get_balance during RESTORING — assert both return current values
- Attempt a buy during RESTORING — assert it panics with
state_restoring
- Complete the restoration and assert a buy succeeds immediately after
- Assert the restored state matches the pre-archive state
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The RESTORING lifecycle state covers the period when a creator's archived state is being copied back to active storage. During this window the contract should continue serving read calls and queue write calls until restoration is complete. An integration test should simulate the RESTORING transition and confirm reads succeed while writes are correctly gated.
Scope
get_priceandget_balanceduring RESTORING — assert both return current valuesstate_restoringAcceptance Criteria
state_restoringduring RESTORINGETA: 12 hours
Coordinate on Telegram