-
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.
base upgrade-next on top of latest (use-upgrade-14) (#9204)
closes: #9206 ## Description With Agoric/agoric-3-proposals#141 `a3p:latest` now includes `dev-upgrade-14` branch's upgrade handler. This removes the redundant parts from the UNRELEASED upgrade handler and its tests in a3p-integration. It also introduces a convention `initial.test.js` to make clear what tests are of the post-upgrade state, to be run before tests that can modify the state. Another option is to number the tests so they run in order. I figure this can happen when needed; the test.sh allows any logic. ### Security Considerations n/a ### Scaling Considerations n/a ### Documentation Considerations no ### Testing Considerations Tests ### Upgrade Considerations Upgrade tests
- Loading branch information
Showing
22 changed files
with
66 additions
and
248 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"private": true, | ||
"agoricSyntheticChain": { | ||
"fromTag": "use-upgrade-13" | ||
"fromTag": "latest" | ||
}, | ||
"scripts": { | ||
"build": "yarn run build:sdk && yarn run build:submissions && yarn run build:synthetic-chain", | ||
|
@@ -12,8 +12,8 @@ | |
"doctor": "yarn synthetic-chain doctor" | ||
}, | ||
"dependencies": { | ||
"@agoric/synthetic-chain": "^0.0.7" | ||
"@agoric/synthetic-chain": "^0.0.10" | ||
}, | ||
"packageManager": "[email protected].0", | ||
"packageManager": "[email protected].1", | ||
"license": "Apache-2.0" | ||
} |
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
74 changes: 0 additions & 74 deletions
74
a3p-integration/proposals/a:upgrade-next/ante-fees.test.js
This file was deleted.
Oops, something went wrong.
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,19 @@ | ||
import test from 'ava'; | ||
|
||
import { getVatDetails } from '@agoric/synthetic-chain'; | ||
|
||
const vats = { | ||
network: { incarnation: 0 }, | ||
ibc: { incarnation: 0 }, | ||
localchain: { incarnation: 0 }, | ||
walletFactory: { incarnation: 2 }, | ||
zoe: { incarnation: 1 }, | ||
}; | ||
|
||
test(`vat details`, async t => { | ||
await null; | ||
for (const [vatName, expected] of Object.entries(vats)) { | ||
const actual = await getVatDetails(vatName); | ||
t.like(actual, expected, `${vatName} details mismatch`); | ||
} | ||
}); |
8 changes: 0 additions & 8 deletions
8
a3p-integration/proposals/a:upgrade-next/invite-submission/README.md
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
a3p-integration/proposals/a:upgrade-next/invite-submission/sendInvite-permit.json
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
a3p-integration/proposals/a:upgrade-next/invite-submission/sendInvite.tjs
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"agoricProposal": { | ||
"releaseNotes": "TBD", | ||
"releaseNotes": false, | ||
"sdkImageTag": "unreleased", | ||
"planName": "UNRELEASED_UPGRADE", | ||
"upgradeInfo": { | ||
|
@@ -14,7 +14,7 @@ | |
"type": "module", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"@agoric/synthetic-chain": "^0.0.7", | ||
"@agoric/synthetic-chain": "^0.0.10", | ||
"ava": "^5.3.1" | ||
}, | ||
"ava": { | ||
|
@@ -27,5 +27,5 @@ | |
"scripts": { | ||
"agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops" | ||
}, | ||
"packageManager": "[email protected].0" | ||
"packageManager": "[email protected].1" | ||
} |
This file was deleted.
Oops, something went wrong.
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
46 changes: 0 additions & 46 deletions
46
a3p-integration/proposals/a:upgrade-next/wallet-repairs.test.js
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
"type": "module", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"@agoric/synthetic-chain": "^0.0.7", | ||
"@agoric/synthetic-chain": "^0.0.10", | ||
"ava": "^5.3.1" | ||
}, | ||
"ava": { | ||
|
@@ -19,5 +19,5 @@ | |
"!submission" | ||
] | ||
}, | ||
"packageManager": "[email protected].0" | ||
"packageManager": "[email protected].1" | ||
} |
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
Oops, something went wrong.