Skip to content

Commit 65e1f58

Browse files
authored
Merge pull request #1001 from akash-network/upadate-testnet8-docs-part2
feat: testnet-8 completion of submission criteria for all sections
2 parents 0804fd9 + 6c4ca0e commit 65e1f58

File tree

9 files changed

+478
-490
lines changed

9 files changed

+478
-490
lines changed

src/content/Docs/testnet/testplan/circuit-breaker/index.mdx

Lines changed: 42 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: "Test circuit breaker and mint status transitions - Requires Core T
77
weight: 7
88
---
99

10-
**⚠️ NOTE: Circuit breaker states (Warning, HaltCR, HaltOracle) must be initiated by the Akash Core team prior to testing. Coordinate with the team before running tests 6.2-6.7.**
10+
**⚠️ NOTE: Circuit breaker states (Warning, HaltCR, HaltOracle) require the Akash Core team to intentionally adjust the price feeder to simulate severe AKT price movements. The Core team will announce a dedicated 24-hour circuit breaker testing window — the date and a schedule of state transitions will be announced in the testnet Discord channel. The schedule will specify time windows for each state (Warning, HaltCR, HaltOracle, Recovery) so testers know when to run each test. Tests 6.2-6.7 should only be run during this window.**
1111

1212
---
1313

@@ -55,20 +55,24 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
5555
- `refunds_allowed`: `true`
5656
- All operations proceed normally
5757

58+
**Proof to Submit:**
59+
- BME status output showing `mint_status_healthy`
60+
- Successful mint-act or deployment tx hash
61+
5862
---
5963

6064
### Test 6.2: Observe MintStatusWarning
6165

6266
**Objective:** Verify warning status when Collateralization Ratio approaches threshold
6367

64-
**Precondition:** Coordinate with Akash Core team to adjust oracle price to trigger warning state.
68+
**Precondition:** Run during the announced circuit breaker testing window when CR is between warning and halt thresholds.
6569

6670
**User Actions:**
6771
1. Query current status:
6872
```bash
6973
akash query bme status
7074
```
71-
2. **[Coordinate with Akash Core team]** Adjust oracle price until Collateralization Ratio between warn (0.95) and halt (0.90) thresholds
75+
2. Wait for oracle price adjustment until Collateralization Ratio is between warn (0.95) and halt (0.90) thresholds
7276
3. Query mint status again:
7377
```bash
7478
akash query bme status
@@ -85,16 +89,20 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
8589
- New mints and deployments still work
8690
- Epoch timing may increase (settlements slow down)
8791

92+
**Proof to Submit:**
93+
- BME status output showing `mint_status_warning`
94+
- Successful mint-act tx hash (operations still allowed)
95+
8896
---
8997

9098
### Test 6.3: MintStatusHaltCR - New Mints Blocked
9199

92100
**Objective:** Verify new AKT→ACT conversions blocked when Collateralization Ratio below halt threshold
93101

94-
**Precondition:** Coordinate with Akash Core team to trigger circuit breaker.
102+
**Precondition:** Run during the announced circuit breaker testing window when CR is below halt threshold.
95103

96104
**User Actions:**
97-
1. **[Coordinate with Akash Core team]** Adjust oracle price until Collateralization Ratio < 0.90 (halt threshold)
105+
1. Wait for oracle price adjustment until Collateralization Ratio < 0.90 (halt threshold)
98106
2. Query mint status:
99107
```bash
100108
akash query bme status
@@ -114,16 +122,21 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
114122
- Mint-act transaction **fails** with circuit breaker error
115123
- Burn-act still works (users can exit positions)
116124

125+
**Proof to Submit:**
126+
- BME status output showing `mint_status_halt_cr` and `mints_allowed: false`
127+
- Error message from failed mint-act attempt
128+
- Successful burn-act tx hash (showing exits still work)
129+
117130
---
118131

119132
### Test 6.4: MintStatusHaltOracle - Oracle Failure
120133

121134
**Objective:** Verify system halts when oracle unavailable (separate from Collateralization Ratio halt)
122135

123-
**Precondition:** Coordinate with Akash Core team to stop price feeder entirely.
136+
**Precondition:** Run during the announced circuit breaker testing window when oracle staleness is being tested.
124137

125138
**User Actions:**
126-
1. **[Coordinate with Akash Core team]** Stop oracle price feeder completely (no price updates)
139+
1. Wait for oracle price feeder to be stopped (no price updates)
127140
2. Wait for oracle staleness threshold
128141
3. Query mint status:
129142
```bash
@@ -140,6 +153,10 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
140153
- Operations fail with oracle error
141154
- Distinct from `mint_status_halt_cr` (different root cause)
142155

156+
**Proof to Submit:**
157+
- BME status output showing `mint_status_halt_oracle`
158+
- Error message from failed operation
159+
143160
---
144161

145162
### Test 6.5: Existing Deployments Continue During Halt
@@ -162,7 +179,7 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
162179
akash query market lease list --owner <user-address>
163180
```
164181

165-
3. **[Coordinate with Akash Core team]** Trigger circuit breaker (HaltCR)
182+
3. Wait for circuit breaker to be triggered (HaltCR)
166183

167184
4. Verify existing deployment continues running:
168185
```bash
@@ -180,6 +197,11 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
180197
- Existing ACT can still be used for new deployments
181198
- Provider burn-act still works
182199

200+
**Proof to Submit:**
201+
- Lease list before and after circuit breaker trigger (showing still active)
202+
- BME status showing halt state
203+
- Provider balance showing continued ACT receipt
204+
183205
---
184206

185207
### Test 6.6: Circuit Breaker Recovery
@@ -195,7 +217,7 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
195217
# Expected: FAIL
196218
```
197219

198-
3. **[Coordinate with Akash Core team]** Restore legitimate price feeder / adjust price upward
220+
3. Wait for price feeder to be restored / price adjusted upward
199221

200222
4. Wait for price to update and Collateralization Ratio to recover
201223

@@ -216,6 +238,11 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
216238
- No manual intervention required beyond restoring price feed
217239
- Vault state remains consistent (no corruption)
218240

241+
**Proof to Submit:**
242+
- BME status showing halt state before recovery
243+
- BME status showing healthy state after recovery
244+
- Successful mint-act tx hash after recovery
245+
219246
---
220247

221248
### Test 6.7: Mint Status State Transitions
@@ -234,7 +261,7 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
234261
| HaltOracle | Previous | Oracle recovers |
235262

236263
**User Actions:**
237-
1. Coordinate with Akash Core team to walk through each transition
264+
1. During the testing window, observe each transition as Core team adjusts price feeder
238265
2. Query status after each change:
239266
```bash
240267
akash query bme status
@@ -246,4 +273,8 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
246273
- All transitions occur as documented
247274
- No invalid state combinations
248275
- System recovers cleanly from each halt state
249-
- Vault state remains consistent throughout
276+
- Vault state remains consistent throughout
277+
278+
**Proof to Submit:**
279+
- BME status output at each state transition
280+
- Summary table of observed transitions matching test matrix

0 commit comments

Comments
 (0)