You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/Docs/testnet/testplan/circuit-breaker/index.mdx
+42-11Lines changed: 42 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ description: "Test circuit breaker and mint status transitions - Requires Core T
7
7
weight: 7
8
8
---
9
9
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.**
11
11
12
12
---
13
13
@@ -55,20 +55,24 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
55
55
-`refunds_allowed`: `true`
56
56
- All operations proceed normally
57
57
58
+
**Proof to Submit:**
59
+
- BME status output showing `mint_status_healthy`
60
+
- Successful mint-act or deployment tx hash
61
+
58
62
---
59
63
60
64
### Test 6.2: Observe MintStatusWarning
61
65
62
66
**Objective:** Verify warning status when Collateralization Ratio approaches threshold
63
67
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.
65
69
66
70
**User Actions:**
67
71
1. Query current status:
68
72
```bash
69
73
akash query bme status
70
74
```
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
72
76
3. Query mint status again:
73
77
```bash
74
78
akash query bme status
@@ -85,16 +89,20 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
85
89
- New mints and deployments still work
86
90
- Epoch timing may increase (settlements slow down)
87
91
92
+
**Proof to Submit:**
93
+
- BME status output showing `mint_status_warning`
94
+
- Successful mint-act tx hash (operations still allowed)
95
+
88
96
---
89
97
90
98
### Test 6.3: MintStatusHaltCR - New Mints Blocked
91
99
92
100
**Objective:** Verify new AKT→ACT conversions blocked when Collateralization Ratio below halt threshold
93
101
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.
95
103
96
104
**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)
98
106
2. Query mint status:
99
107
```bash
100
108
akash query bme status
@@ -114,16 +122,21 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
114
122
- Mint-act transaction **fails** with circuit breaker error
115
123
- Burn-act still works (users can exit positions)
116
124
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
+
117
130
---
118
131
119
132
### Test 6.4: MintStatusHaltOracle - Oracle Failure
120
133
121
134
**Objective:** Verify system halts when oracle unavailable (separate from Collateralization Ratio halt)
122
135
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.
124
137
125
138
**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)
127
140
2. Wait for oracle staleness threshold
128
141
3. Query mint status:
129
142
```bash
@@ -140,6 +153,10 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
140
153
- Operations fail with oracle error
141
154
- Distinct from `mint_status_halt_cr` (different root cause)
142
155
156
+
**Proof to Submit:**
157
+
- BME status output showing `mint_status_halt_oracle`
158
+
- Error message from failed operation
159
+
143
160
---
144
161
145
162
### 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
162
179
akash query market lease list --owner <user-address>
163
180
```
164
181
165
-
3.**[Coordinate with Akash Core team]** Trigger circuit breaker (HaltCR)
182
+
3.Wait for circuit breaker to be triggered (HaltCR)
166
183
167
184
4. Verify existing deployment continues running:
168
185
```bash
@@ -180,6 +197,11 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
180
197
- Existing ACT can still be used for new deployments
181
198
- Provider burn-act still works
182
199
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
+
183
205
---
184
206
185
207
### Test 6.6: Circuit Breaker Recovery
@@ -195,7 +217,7 @@ When AKT price drops dramatically, the vault's USD value drops below the outstan
0 commit comments