@agoric/inter-protocol 0.17.0-u18.4 → 0.17.0-u18.5
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/inter-protocol",
|
|
3
|
-
"version": "0.17.0-u18.
|
|
3
|
+
"version": "0.17.0-u18.5",
|
|
4
4
|
"description": "Core cryptoeconomy contracts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@agoric/store": "^0.9.3-u18.0",
|
|
39
39
|
"@agoric/time": "^0.3.3-u18.0",
|
|
40
40
|
"@agoric/vat-data": "^0.5.3-u18.0",
|
|
41
|
-
"@agoric/vats": "^0.16.0-u18.
|
|
41
|
+
"@agoric/vats": "^0.16.0-u18.4",
|
|
42
42
|
"@agoric/zoe": "^0.26.3-u18.0",
|
|
43
43
|
"@endo/captp": "^4.4.2",
|
|
44
44
|
"@endo/errors": "^1.2.7",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"jessie.js": "^0.3.4"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@agoric/smart-wallet": "^0.5.4-u18.
|
|
53
|
+
"@agoric/smart-wallet": "^0.5.4-u18.4",
|
|
54
54
|
"@agoric/swingset-liveslots": "^0.10.3-u18.0",
|
|
55
55
|
"@agoric/swingset-vat": "^0.33.0-u18.0",
|
|
56
56
|
"@agoric/zone": "^0.3.0-u18.0",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"typeCoverage": {
|
|
85
85
|
"atLeast": 95.8
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "ff46c4aacd7b01ce8ea1fa14b77c187efa9a3b7f"
|
|
88
88
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-auction.d.ts","sourceRoot":"","sources":["add-auction.js"],"names":[],"mappings":"AA4BO,0sBATI,OAAO,qBAAqB,EAAE,sBAAsB,GAC1D,eAAe,gGACT;IACN,OAAO,EAAE;QACP,mBAAmB,EAAE;YAAE,QAAQ,EAAE,MAAM,CAAA;SAAE,CAAC;QAC1C,4BAA4B,EAAE,YAAY,CAAC;KAC5C,CAAC;CACH,
|
|
1
|
+
{"version":3,"file":"add-auction.d.ts","sourceRoot":"","sources":["add-auction.js"],"names":[],"mappings":"AA4BO,0sBATI,OAAO,qBAAqB,EAAE,sBAAsB,GAC1D,eAAe,gGACT;IACN,OAAO,EAAE;QACP,mBAAmB,EAAE;YAAE,QAAQ,EAAE,MAAM,CAAA;SAAE,CAAC;QAC1C,4BAA4B,EAAE,YAAY,CAAC;KAC5C,CAAC;CACH,iBAuMH;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCG;AASI,yDAHJ;IAAmB,UAAU,EAArB,GAAG;CACX,0CAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiBb;8BAlRY,cAAc,CAAC;IACvB,yBAAyB,EAAE,QAAQ,CAAC;IACpC,2BAA2B,EAAE,GAAG,CAAC;IACjC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,wBAAwB,EAAE,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CACtD,CAAC;uBAbkB,gCAAgC"}
|
|
@@ -88,6 +88,20 @@ export const addAuction = async (
|
|
|
88
88
|
produceRetiredInstances,
|
|
89
89
|
);
|
|
90
90
|
|
|
91
|
+
const governedContractKits = await governedContractKitsP;
|
|
92
|
+
trace('has', governedContractKits.has(legacyKit.instance));
|
|
93
|
+
if (governedContractKits.has(legacyKit.instance)) {
|
|
94
|
+
// bootstrap tests start having already run this upgrade. Actual upgrades on
|
|
95
|
+
// mainNet or testnets should start with the promiseSpace post upgrade-17,
|
|
96
|
+
// which doesn't have this entry in the map.
|
|
97
|
+
trace(
|
|
98
|
+
'⚠️ WARNING: not expected during chain upgrade. It IS normal during bootstrap tests',
|
|
99
|
+
);
|
|
100
|
+
} else {
|
|
101
|
+
// @ts-expect-error The original auctioneerKit had everything it needs
|
|
102
|
+
governedContractKits.init(legacyKit.instance, legacyKit);
|
|
103
|
+
}
|
|
104
|
+
|
|
91
105
|
// save the auctioneer instance so we can manage it later
|
|
92
106
|
const boardID = await E(board).getId(legacyKit.instance);
|
|
93
107
|
const identifier = `auctioneer-${boardID}`;
|
|
@@ -205,7 +219,6 @@ export const addAuction = async (
|
|
|
205
219
|
governedInstance,
|
|
206
220
|
);
|
|
207
221
|
|
|
208
|
-
const governedContractKits = await governedContractKitsP;
|
|
209
222
|
governedContractKits.init(kit.instance, kit);
|
|
210
223
|
auctionUpgradeNewInstance.resolve(governedInstance);
|
|
211
224
|
auctionUpgradeNewGovCreator.resolve(kit.governorCreatorFacet);
|