⚠️ NOTE: Tests 7.2 and 7.3 require the system to be in warning state, which is part of the circuit breaker testing window. Run these tests during the announced 24-hour circuit breaker testing window — see Category 6 for details.
Background - Dynamic Epoch Timing:
The BME module adjusts epoch timing based on the mint status:
- Healthy: Epochs run at minimum interval (e.g., every 10 blocks / ~1 minute)
- Warning: Epoch interval increases (backoff) to slow down settlements
- Halt: Epochs continue but with extended intervals
This mechanism helps protect the system during stress by reducing settlement frequency.
Relevant BME Params:
akash query bme paramsLook for: min_epoch_blocks, epoch_blocks_backoff
Test 7.1: Normal Epoch Timing
Objective: Verify epochs run at minimum interval during healthy operation
User Actions:
-
Confirm system is healthy:
Terminal window akash query bme statusVerify:
status: mint_status_healthy -
Query BME params to note minimum epoch blocks:
Terminal window akash query bme paramsNote the
min_epoch_blocksvalue (e.g., 10 blocks) -
Submit a mint-act request:
Terminal window akash tx bme mint-act 50000000uakt --from <wallet> -y -
Monitor vault-state changes to observe epoch processing:
Terminal window # Check immediatelyakash query bme vault-state# Wait ~1 minute (10 blocks × 6 sec/block)sleep 60# Check again - should show ACT mintedakash query bme vault-stateakash query bank balances <wallet>
Expected Results:
- Epoch processes within ~1 minute (minimum interval)
- ACT appears in balance after epoch completes
- No unusual delays during healthy operation
Proof to Submit:
- BME status showing
mint_status_healthy - BME params showing
min_epoch_blocks - Pre/post vault-state showing epoch processed within expected time
Test 7.2: Epoch Backoff During Warning
Objective: Verify epoch interval increases when system enters warning state
Precondition: Run during the announced circuit breaker testing window when system is in warning state.
User Actions:
-
Wait for oracle price adjustment to trigger warning state (CR between 0.90 and 0.95)
-
Verify warning state:
Terminal window akash query bme statusConfirm:
status: mint_status_warning -
Query current epoch timing from status:
Terminal window akash query bme statusNote any epoch-related fields (e.g.,
epoch_height_diff) -
Submit a mint-act request (if still allowed):
Terminal window akash tx bme mint-act 25000000uakt --from <wallet> -y -
Monitor how long epoch takes to process:
Terminal window # Check immediatelyakash query bme vault-state# Wait longer than normal (~2-3 minutes or more)sleep 120# Check for processingakash query bme vault-stateakash query bank balances <wallet>
Expected Results:
- Epoch takes longer than during healthy operation
epoch_blocks_backoffparameter influences the delay- Settlements slow down to reduce system stress
- Operations still complete, just with longer intervals
Proof to Submit:
- BME status showing
mint_status_warning - Timestamps showing epoch processing took longer than normal (~2+ minutes vs ~1 minute)
Test 7.3: Epoch Timing Recovery
Objective: Verify epoch timing returns to normal when system recovers to healthy
Precondition: System is currently in warning state with extended epoch timing.
User Actions:
-
Confirm system is in warning state:
Terminal window akash query bme status -
Wait for oracle price to be restored to healthy levels (CR > 0.95)
-
Verify recovery to healthy state:
Terminal window akash query bme statusConfirm:
status: mint_status_healthy -
Submit a mint-act request:
Terminal window akash tx bme mint-act 25000000uakt --from <wallet> -y -
Monitor epoch timing — should return to normal:
Terminal window # Check immediatelyakash query bme vault-state# Wait ~1 minute (normal timing)sleep 60# Should be processedakash query bme vault-stateakash query bank balances <wallet>
Expected Results:
- Status returns to
mint_status_healthy - Epoch interval returns to minimum (
min_epoch_blocks) - Processing time back to ~1 minute
- No lingering effects from warning state
Proof to Submit:
- BME status showing recovery to
mint_status_healthy - Timestamps showing epoch processing returned to normal (~1 minute)