From 016da83757ff316de197eb39e91955cab4f0159d Mon Sep 17 00:00:00 2001 From: Mathieu Hofman Date: Fri, 19 Jan 2024 02:45:11 +0000 Subject: [PATCH] ci: test wallet-factory core proposal --- a3p-integration/proposals/a:upgrade-14/package.json | 6 +++++- a3p-integration/proposals/a:upgrade-14/post.test.js | 8 ++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 a3p-integration/proposals/a:upgrade-14/post.test.js diff --git a/a3p-integration/proposals/a:upgrade-14/package.json b/a3p-integration/proposals/a:upgrade-14/package.json index 86ae7acddae7..e2bbd73583e2 100644 --- a/a3p-integration/proposals/a:upgrade-14/package.json +++ b/a3p-integration/proposals/a:upgrade-14/package.json @@ -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/build-wallet-factory2-upgrade.js" + ] + }, "type": "Software Upgrade Proposal" }, "type": "module", diff --git a/a3p-integration/proposals/a:upgrade-14/post.test.js b/a3p-integration/proposals/a:upgrade-14/post.test.js new file mode 100644 index 000000000000..e26fb1e280b8 --- /dev/null +++ b/a3p-integration/proposals/a:upgrade-14/post.test.js @@ -0,0 +1,8 @@ +import test from 'ava'; +import { getIncarnation } from '@agoric/synthetic-chain/src/lib/vat-status.js'; + +test(`Smart Wallet vat was upgraded`, async t => { + const incarnation = await getIncarnation('walletFactory'); + + t.is(incarnation, 2); +});