feat(studio): add Phoenix state scenarios - #9
Conversation
|
|
could you please check this PR here LimeChain/surfpool#9 as i believe it resolves the above mentioned reported problem |
|
8d8eeeb to
f6fb37f
Compare
|
Found one issue:
|
f6fb37f to
9cb3fbb
Compare
|
Tests weren’t run because dependencies aren’t installed. Backend compatibility could not be verified from this repository. |
Tests were not run because dependencies are not installed. |
Tests were not run; dependencies are unavailable in this checkout. |
Review limited to the specified changes. Tests were not run. |
Could not run the focused tests because |
|
Phoenix state preset and dialog for collateral stress, direct mark shock and spot/perp reference divergence, plus the liquidation cascade AI chip. Collateral goes through the MCP tool for its vault-backing check; market scenarios are built client-side and posted to the generic scenarios API. Market symbols come live from list_phoenix_markets, and the scenario editor renders dynamic_ref properties as that live dropdown. Update Action keeps a saved override's address.
e01ff36 to
3a7d038
Compare
Adds Phoenix Eternal scenario support to Studio:
flows
Verification
divergence, and two-stage cascade scenarios
Stacking
This PR is stacked on
feat/pump-protocol-ui.Once the Pump UI PR is merged into
develop, this branch will be rebased and retargeted todevelop.Greptile Summary
The PR adds Phoenix Eternal state-scenario creation and editing to Studio, designed to integrate with the explicitly coupled backend PR.
Confidence Score: 5/5
The PR appears safe to merge once its explicitly documented coupled backend dependency is available.
No blocking failure remains within the eligible follow-up-review scope.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart LR A[Phoenix preset] --> B[Phoenix state dialog] B --> C{State goal} C -->|Collateral stress| D[Phoenix scenario MCP tool] C -->|Direct mark shock| E[Load live markets] C -->|Reference divergence| E E --> F[Create scenario API] D --> G[Open scenario editor] F --> G G --> H[Edit and persist overrides]Reviews (13): Last reviewed commit: "feat(studio): add Phoenix Eternal state ..." | Re-trigger Greptile