Skip to content

Commit

Permalink
ci: simulate network core proposal in upgrade test
Browse files Browse the repository at this point in the history
  • Loading branch information
mhofman committed Jan 15, 2024
1 parent 986fe7d commit 65d8c5b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 5 additions & 1 deletion a3p-integration/proposals/a:upgrade-14/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"releaseNotes": "https://github.com/Agoric/agoric-sdk/releases/tag/agoric-upgrade-14",
"sdkImageTag": "latest",
"planName": "agoric-upgrade-14",
"upgradeInfo": {},
"upgradeInfo": {
"coreProposals": [
"@agoric/vats/scripts/init-network.js"
]
},
"type": "Software Upgrade Proposal"
},
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions a3p-integration/proposals/a:upgrade-14/post.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import test from 'ava';

import { getIncarnation } from '@agoric/synthetic-chain/src/lib/vat-status.js';

test(`Ensure Network Vat was installed`, async t => {
const incarnation = await getIncarnation('network');
t.is(incarnation, 0);
});

0 comments on commit 65d8c5b

Please sign in to comment.