@agoric/builders 0.1.1-dev-8ecb5d7.0 → 0.1.1-dev-376e47d.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/builders",
3
- "version": "0.1.1-dev-8ecb5d7.0+8ecb5d7",
3
+ "version": "0.1.1-dev-376e47d.0+376e47d",
4
4
  "description": "Build scripts for proposals to an Agoric chain",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -8,9 +8,8 @@
8
8
  "scripts": {
9
9
  "build": "exit 0",
10
10
  "build:add-STARS-proposal": "echo This command has been deprecated. Please run this instead: agoric run scripts/inter-protocol/add-STARS.js",
11
- "build:restart-vats-proposal": "echo echo This command has been deprecated. Please run this instead: agoric run scripts/vats/restart-vats.js",
11
+ "build:restart-vats-proposal": "echo This command has been deprecated. Please run this instead: agoric run scripts/vats/restart-vats.js",
12
12
  "build:zcf-proposal": "echo This command has been deprecated. Please run this instead: agoric run scripts/vats/replace-zoe.js",
13
- "build:null-upgrade-zoe-proposal": "echo This command has been deprecated. Please run this instead: agoric run scripts/vats/replace-zoe.js",
14
13
  "prepack": "tsc --build tsconfig.build.json",
15
14
  "postpack": "git clean -f '*.d.ts*'",
16
15
  "test": "ava",
@@ -24,14 +23,14 @@
24
23
  "author": "Agoric",
25
24
  "license": "Apache-2.0",
26
25
  "dependencies": {
27
- "@agoric/ertp": "0.16.3-dev-8ecb5d7.0+8ecb5d7",
28
- "@agoric/internal": "0.3.3-dev-8ecb5d7.0+8ecb5d7",
29
- "@agoric/network": "0.1.1-dev-8ecb5d7.0+8ecb5d7",
30
- "@agoric/notifier": "0.6.3-dev-8ecb5d7.0+8ecb5d7",
31
- "@agoric/smart-wallet": "0.5.4-dev-8ecb5d7.0+8ecb5d7",
32
- "@agoric/vat-data": "0.5.3-dev-8ecb5d7.0+8ecb5d7",
33
- "@agoric/vats": "0.15.2-dev-8ecb5d7.0+8ecb5d7",
34
- "@agoric/zoe": "0.26.3-dev-8ecb5d7.0+8ecb5d7",
26
+ "@agoric/ertp": "0.16.3-dev-376e47d.0+376e47d",
27
+ "@agoric/internal": "0.3.3-dev-376e47d.0+376e47d",
28
+ "@agoric/network": "0.1.1-dev-376e47d.0+376e47d",
29
+ "@agoric/notifier": "0.6.3-dev-376e47d.0+376e47d",
30
+ "@agoric/smart-wallet": "0.5.4-dev-376e47d.0+376e47d",
31
+ "@agoric/vat-data": "0.5.3-dev-376e47d.0+376e47d",
32
+ "@agoric/vats": "0.15.2-dev-376e47d.0+376e47d",
33
+ "@agoric/zoe": "0.26.3-dev-376e47d.0+376e47d",
35
34
  "@endo/bundle-source": "^3.0.1",
36
35
  "@endo/captp": "^4.0.1",
37
36
  "@endo/eventual-send": "^1.0.1",
@@ -43,14 +42,14 @@
43
42
  "import-meta-resolve": "^2.2.1"
44
43
  },
45
44
  "devDependencies": {
46
- "@agoric/assert": "0.6.1-dev-8ecb5d7.0+8ecb5d7",
47
- "@agoric/deploy-script-support": "0.10.4-dev-8ecb5d7.0+8ecb5d7",
48
- "@agoric/governance": "0.10.4-dev-8ecb5d7.0+8ecb5d7",
49
- "@agoric/inter-protocol": "0.16.2-dev-8ecb5d7.0+8ecb5d7",
50
- "@agoric/store": "0.9.3-dev-8ecb5d7.0+8ecb5d7",
51
- "@agoric/swing-store": "0.9.2-dev-8ecb5d7.0+8ecb5d7",
52
- "@agoric/swingset-liveslots": "0.10.3-dev-8ecb5d7.0+8ecb5d7",
53
- "@agoric/time": "0.3.3-dev-8ecb5d7.0+8ecb5d7",
45
+ "@agoric/assert": "0.6.1-dev-376e47d.0+376e47d",
46
+ "@agoric/deploy-script-support": "0.10.4-dev-376e47d.0+376e47d",
47
+ "@agoric/governance": "0.10.4-dev-376e47d.0+376e47d",
48
+ "@agoric/inter-protocol": "0.16.2-dev-376e47d.0+376e47d",
49
+ "@agoric/store": "0.9.3-dev-376e47d.0+376e47d",
50
+ "@agoric/swing-store": "0.9.2-dev-376e47d.0+376e47d",
51
+ "@agoric/swingset-liveslots": "0.10.3-dev-376e47d.0+376e47d",
52
+ "@agoric/time": "0.3.3-dev-376e47d.0+376e47d",
54
53
  "ava": "^5.3.0",
55
54
  "c8": "^7.13.0"
56
55
  },
@@ -82,5 +81,5 @@
82
81
  "typeCoverage": {
83
82
  "atLeast": 67.05
84
83
  },
85
- "gitHead": "8ecb5d7a91f89656e84d291ec330669cd6ab3048"
84
+ "gitHead": "376e47d1b7eba11d1e587778489d8f199d53870f"
86
85
  }
@@ -0,0 +1,29 @@
1
+ import { makeHelpers } from '@agoric/deploy-script-support';
2
+
3
+ /**
4
+ * @file
5
+ * `agoric run scripts/smart-wallet/build-wallet-factory2-upgrade.js`
6
+ * produces a proposal and permit file, as well as the necessary bundles. It
7
+ * also prints helpful instructions for copying the files and installing them.
8
+ */
9
+
10
+ /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder} */
11
+ export const defaultProposalBuilder = async ({ publishRef, install }) =>
12
+ harden({
13
+ sourceSpec:
14
+ '@agoric/smart-wallet/src/proposals/upgrade-wallet-factory2-proposal.js',
15
+ getManifestCall: [
16
+ 'getManifestForUpgradeWallet',
17
+ {
18
+ walletRef: publishRef(
19
+ // @ts-expect-error eslint is confused. The call is correct.
20
+ install('@agoric/smart-wallet/src/walletFactory.js'),
21
+ ),
22
+ },
23
+ ],
24
+ });
25
+
26
+ export default async (homeP, endowments) => {
27
+ const { writeCoreProposal } = await makeHelpers(homeP, endowments);
28
+ await writeCoreProposal('upgrade-wallet-factory', defaultProposalBuilder);
29
+ };
@@ -3,7 +3,7 @@ import { makeHelpers } from '@agoric/deploy-script-support';
3
3
  /** @type {import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder} */
4
4
  export const defaultProposalBuilder = async ({ publishRef, install }) =>
5
5
  harden({
6
- sourceSpec: '@agoric/vats/src/proposals/null-upgrade-zoe-proposal.js',
6
+ sourceSpec: '@agoric/vats/src/proposals/upgrade-zoe-proposal.js',
7
7
  getManifestCall: [
8
8
  'getManifestForUpgradingZoe',
9
9
  {
@@ -14,5 +14,5 @@ export const defaultProposalBuilder = async ({ publishRef, install }) =>
14
14
 
15
15
  export default async (homeP, endowments) => {
16
16
  const { writeCoreProposal } = await makeHelpers(homeP, endowments);
17
- await writeCoreProposal('null-upgrade-zoe', defaultProposalBuilder);
17
+ await writeCoreProposal('upgrade-zoe', defaultProposalBuilder);
18
18
  };