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 7fcd59c commit dd296e9
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-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"releaseNotes": "TBD",
"sdkImageTag": "latest",
"planName": "UNRELEASED_UPGRADE",
"upgradeInfo": {},
"upgradeInfo": {
"coreProposals": [
"@agoric/builders/scripts/vats/init-network.js"
]
},
"type": "Software Upgrade Proposal"
},
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions a3p-integration/proposals/a:upgrade-next/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 dd296e9

Please sign in to comment.