Skip to content

Commit

Permalink
fix(liquidationVisibility): rename test-liquidation-visibility.js t…
Browse files Browse the repository at this point in the history
…o `eval-liquidation-visibility.js`

Refs: #35
  • Loading branch information
anilhelvaci committed Jul 16, 2024
1 parent 66108ca commit 8483c67
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions a3p-integration/proposals/d:liquidation-visibility/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ phase. Notice that we don't run anything under `USE` phase as we don't want the
appropriate test circumstances to effect future builds.

To execute our core-eval we use;
* [test-liquidation-visibility.js](./test-liquidation-visibility.js)
* [eval-liquidation-visibility.js](./eval-liquidation-visibility.js)

Our main challenge in testing the visibility of liquidations is to trigger an actual liquidation in our post
eval tests. Below files are used to set up that environment;
Expand Down Expand Up @@ -51,7 +51,7 @@ sequenceDiagram
participant web as release
Note over image,image: vaultFactory: inc 0 code
Note over testFlow,agd: PHASE: EVAL
testFlow ->>+ agd: test-liquidation-visibility.js
testFlow ->>+ agd: eval-liquidation-visibility.js
agd -->>- testFlow: upgrade successful
Note over agd,agd: vaultFactory: inc 1
Note over testFlow,agd: PHASE: TEST
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ test.serial('fund user1 before the upgrade', async t => {
});

test.serial('test', async t => {
const dir = '/usr/src/proposals/b:liquidation-visibility/assets';
const dir = '/usr/src/proposals/d:liquidation-visibility/assets';
const bundleInfos = await readBundles(dir);

await passCoreEvalProposal(bundleInfos, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"scripts": {
"agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops",
"test:eval": "yarn ava test-liquidation-visibility.js",
"test:eval": "yarn ava eval-liquidation-visibility.js",
"test:post-liq": "yarn ava post.liquidation.js",
"test:post": "yarn ava post.test.js",
"test:scenario": "yarn ava post.scenario.js"
Expand Down

0 comments on commit 8483c67

Please sign in to comment.