-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8588 from Agoric/mhofman/8578-upgrade-13-name
agoric-upgrade-13
- Loading branch information
Showing
14 changed files
with
59 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
packages/deployment/upgrade-test/upgrade-test-scripts/agoric-upgrade-12/.gitignore
This file was deleted.
Oops, something went wrong.
68 changes: 0 additions & 68 deletions
68
packages/deployment/upgrade-test/upgrade-test-scripts/agoric-upgrade-12/actions.test.js
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/deployment/upgrade-test/upgrade-test-scripts/agoric-upgrade-12/post.test.js
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
packages/deployment/upgrade-test/upgrade-test-scripts/agoric-upgrade-12/pre.test.js
This file was deleted.
Oops, something went wrong.
Empty file.
File renamed without changes.
21 changes: 21 additions & 0 deletions
21
packages/deployment/upgrade-test/upgrade-test-scripts/agoric-upgrade-13/actions.test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import test from 'ava'; | ||
|
||
import { agops } from '../cliHelper.js'; | ||
import { GOV1ADDR } from '../constants.js'; | ||
import { adjustVault, closeVault, mintIST, openVault } from '../econHelpers.js'; | ||
|
||
test.before(async t => { | ||
await mintIST(GOV1ADDR, 12340000000, 10000, 2000); | ||
}); | ||
|
||
test.skip('Open Vaults', async t => { | ||
const currentVaults = await agops.vaults('list', '--from', GOV1ADDR); | ||
t.is(currentVaults.length, 5); | ||
|
||
// TODO get as return value from openVault | ||
const vaultId = 'vault6'; | ||
await openVault(GOV1ADDR, 7, 11); | ||
await adjustVault(GOV1ADDR, vaultId, { giveMinted: 1.5 }); | ||
await adjustVault(GOV1ADDR, vaultId, { giveCollateral: 2.0 }); | ||
await closeVault(GOV1ADDR, vaultId, 5.75); | ||
}); |
1 change: 1 addition & 0 deletions
1
packages/deployment/upgrade-test/upgrade-test-scripts/agoric-upgrade-13/post.test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import test from 'ava'; |
9 changes: 9 additions & 0 deletions
9
packages/deployment/upgrade-test/upgrade-test-scripts/agoric-upgrade-13/pre.test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import test from 'ava'; | ||
|
||
import { waitForBlock } from '../commonUpgradeHelpers.js'; | ||
|
||
test.before(async () => { | ||
console.log('Wait for upgrade to settle'); | ||
|
||
await waitForBlock(5); | ||
}); |
File renamed without changes.