Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(inter-protocol): write liquidation auction results to Vstorage #8994

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
b353c13
# This is a combination of 22 commits.
Jorge-Lopes Jan 12, 2024
09120bf
chore(liquidationVisibility): update dependencies
anilhelvaci Feb 16, 2024
0e63755
chore(liquidationVisibility): fix test 'visibility-after-upgrade'
anilhelvaci Feb 16, 2024
04662fe
fix(liquidationVisibility): start using boot package
anilhelvaci Feb 19, 2024
87a3089
parent 1f641d9bcdf35161e0ca053742918c29a2f53090
anilhelvaci Feb 19, 2024
239e6e6
chore(liquidationVisibility): prepare upgrade proposal
anilhelvaci Feb 20, 2024
02de8a6
chore(liquidationVisibility): copy old version of vaultFactory and up…
Jorge-Lopes Feb 22, 2024
1ec3b7d
feat(liquidationVisibility): add bootstrap tests for back compatibili…
Jorge-Lopes Feb 23, 2024
ddf980b
feat(liquidationVisibility): Store `liquidationsStorageNode` in ephem…
anilhelvaci Feb 23, 2024
6d9fa50
fix(LiquidationVisibility): #21 #22 fix rebase changes, add utils pag…
Jorge-Lopes Feb 16, 2024
1144114
fix(liquidationVisibility): minor updates to contract and bootstrap t…
Jorge-Lopes Feb 26, 2024
00ee30b
fix(liquidationVisibility): rebase fixes
anilhelvaci Feb 26, 2024
6aeaef8
fix(liquidationVisibility): lint fixes
anilhelvaci Feb 26, 2024
e20f0da
chore(liquidationVisibility): add snapshot
anilhelvaci Feb 26, 2024
4508c86
fixup(liquidationVisibility): remove the unused prefix
anilhelvaci Jun 10, 2024
c45b568
fixup(liquidationVisibility): destructure helper facet
anilhelvaci Jun 10, 2024
b5bd27a
fixup(liquidationVisibility): drop references to `LiquidationVisibili…
anilhelvaci Jun 10, 2024
298aa06
fixup(liquidationVisibility): add `startTime` field to `auctionResult…
anilhelvaci Jun 10, 2024
3ae097a
fixup(liquidationVisibility): remove leftover comment and fix typo.
anilhelvaci Jun 10, 2024
d835bd8
fixup(liquidationVisibility): implement `checkWritersPresent` and rem…
anilhelvaci Jun 12, 2024
6188fc8
fixup(liquidationVisibility): Directly invoking methods on `liquidati…
anilhelvaci Jun 13, 2024
7c9d989
fixup(liquidationVisibility): Remove compatability tests and their re…
anilhelvaci Jun 13, 2024
3699de9
fixup(liquidationVisibility): Remove `allValuesSetteled()`
anilhelvaci Jun 17, 2024
95f8c8e
fixup(liquidationVisibility): Rebase fixes
anilhelvaci Jun 19, 2024
e42c203
fixup(liquidationVisibility): Rebase fixes - type and lint
anilhelvaci Jun 19, 2024
2093f0a
fixup(liquidationVisibility): Rebase fixes - type and lint
anilhelvaci Jun 20, 2024
0fa050f
chore(liquidationVisibility): Add new data fields
anilhelvaci Jun 20, 2024
541a6d5
test(liquidationVisibility): update expected auctionResult of checkVi…
Jorge-Lopes Jun 20, 2024
c013902
chore(liquidationVisibility): update LiquidationOutcome and expected …
Jorge-Lopes Jun 21, 2024
38687dc
chore(liquidationVisibility): Add a3p proposal
anilhelvaci Jun 21, 2024
6931290
chore(liquidationVisibility): Remove unnecessary change from liquidat…
anilhelvaci Jun 21, 2024
09f3452
chore(liquidationVisibility): `builders` lint fix
anilhelvaci Jun 25, 2024
84c896c
fix(liquidationVisibility): rebase fix
anilhelvaci Jul 15, 2024
f3a508c
fix(liquidationVisibility): lint fixes
anilhelvaci Jul 15, 2024
a31107d
fix(liquidationVisibility): lint fixes
anilhelvaci Jul 15, 2024
66108ca
fix(liquidationVisibility): remove `Work Backlog`
anilhelvaci Jul 15, 2024
8483c67
fix(liquidationVisibility): rename `test-liquidation-visibility.js` t…
anilhelvaci Jul 16, 2024
bd8a071
fix(liquidationVisibility): start using `submission` for builds
anilhelvaci Jul 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(liquidationVisibility): rename test-liquidation-visibility.js t…
…o `eval-liquidation-visibility.js`

Refs: #35
  • Loading branch information
anilhelvaci committed Jul 16, 2024
commit 8483c67417ce9f4d03716efc0d80dd2476c89bf2
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