@agoric/governance 0.10.4-dev-7cead9c.0 → 0.10.4-dev-97cb715.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/governance",
|
|
3
|
-
"version": "0.10.4-dev-
|
|
3
|
+
"version": "0.10.4-dev-97cb715.0+97cb715",
|
|
4
4
|
"description": "Core governance support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@agoric/assert": "0.6.1-dev-
|
|
35
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
36
|
-
"@agoric/internal": "0.3.3-dev-
|
|
37
|
-
"@agoric/network": "0.1.1-dev-
|
|
38
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
39
|
-
"@agoric/store": "0.9.3-dev-
|
|
40
|
-
"@agoric/time": "0.3.3-dev-
|
|
41
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
42
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
34
|
+
"@agoric/assert": "0.6.1-dev-97cb715.0+97cb715",
|
|
35
|
+
"@agoric/ertp": "0.16.3-dev-97cb715.0+97cb715",
|
|
36
|
+
"@agoric/internal": "0.3.3-dev-97cb715.0+97cb715",
|
|
37
|
+
"@agoric/network": "0.1.1-dev-97cb715.0+97cb715",
|
|
38
|
+
"@agoric/notifier": "0.6.3-dev-97cb715.0+97cb715",
|
|
39
|
+
"@agoric/store": "0.9.3-dev-97cb715.0+97cb715",
|
|
40
|
+
"@agoric/time": "0.3.3-dev-97cb715.0+97cb715",
|
|
41
|
+
"@agoric/vat-data": "0.5.3-dev-97cb715.0+97cb715",
|
|
42
|
+
"@agoric/zoe": "0.26.3-dev-97cb715.0+97cb715",
|
|
43
43
|
"@endo/bundle-source": "^2.7.0",
|
|
44
44
|
"@endo/captp": "^3.1.4",
|
|
45
45
|
"@endo/eventual-send": "^0.17.5",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"import-meta-resolve": "^2.2.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
53
|
+
"@agoric/swingset-vat": "0.32.3-dev-97cb715.0+97cb715",
|
|
54
54
|
"@endo/bundle-source": "^2.7.0",
|
|
55
55
|
"@endo/init": "^0.5.59",
|
|
56
56
|
"ava": "^5.3.0",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "97cb7158f1176d14b9a8d775328aa826458282ea"
|
|
79
79
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contractGovernorKit.d.ts","sourceRoot":"","sources":["contractGovernorKit.js"],"names":[],"mappings":"AAqBO,oDANI,OAAO,kBAAkB,EAAE,OAAO,UAClC;IACV,KAAS,EAAE,OAAO,wBAAwB,EAAE,YAAY,CAAC;IACzD,GAAO,EAAE,KAAK,UAAU,CAAC,CAAC;CACvB;;QAiCI,sCAAsC;iCAArB,QAAQ,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"contractGovernorKit.d.ts","sourceRoot":"","sources":["contractGovernorKit.js"],"names":[],"mappings":"AAqBO,oDANI,OAAO,kBAAkB,EAAE,OAAO,UAClC;IACV,KAAS,EAAE,OAAO,wBAAwB,EAAE,YAAY,CAAC;IACzD,GAAO,EAAE,KAAK,UAAU,CAAC,CAAC;CACvB;;QAiCI,sCAAsC;iCAArB,QAAQ,QAAQ,CAAC;QAOlC,wCAAwC;gCAAvB,QAAQ,UAAU,CAAC;;;;;;QAmEpC;;;WAGG;2CAFQ,UAAU,GACR,QAAQ,IAAI,CAAC;QAgB1B,iCAAiC;;QAOjC,kCAAkC;;QAelC,gCAAgC;;;;;;;;;;QA4BhC,gCAAgC;qCAApB,QAAQ;QAepB,6BAA6B;iCAAjB,QAAQ;QAWpB,uCAAuC;mCAA3B,WAAW;;;;QAxKvB,sCAAsC;iCAArB,QAAQ,QAAQ,CAAC;QAOlC,wCAAwC;gCAAvB,QAAQ,UAAU,CAAC;;;;;;QAmEpC;;;WAGG;2CAFQ,UAAU,GACR,QAAQ,IAAI,CAAC;QAgB1B,iCAAiC;;QAOjC,kCAAkC;;QAelC,gCAAgC;;;;;;;;;;QA4BhC,gCAAgC;qCAApB,QAAQ;QAepB,6BAA6B;iCAAjB,QAAQ;QAWpB,uCAAuC;mCAA3B,WAAW;;GAY9B;kCAEa,WAAW,WAAW,iCAAiC,CAAC,CAAC"}
|
|
@@ -53,9 +53,8 @@ export const prepareContractGovernorKit = (baggage, powers) => {
|
|
|
53
53
|
/** @type {() => Promise<Instance>} */
|
|
54
54
|
async getElectorateInstance() {
|
|
55
55
|
const { publicFacet } = this.state;
|
|
56
|
-
const invitationAmount =
|
|
57
|
-
CONTRACT_ELECTORATE
|
|
58
|
-
);
|
|
56
|
+
const invitationAmount =
|
|
57
|
+
await E(publicFacet).getInvitationAmount(CONTRACT_ELECTORATE);
|
|
59
58
|
return invitationAmount.value[0].instance;
|
|
60
59
|
},
|
|
61
60
|
/** @type {() => Promise<PoserFacet>} */
|
package/src/validators.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["validators.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,uCAFU,wBAAwB,
|
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["validators.js"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,uCAFU,wBAAwB,CAkChC;AAEF;;;;GAIG;AACH,uCAFU,wBAAwB,CAahC"}
|
package/src/validators.js
CHANGED
|
@@ -33,9 +33,8 @@ const assertContractGovernance = async (
|
|
|
33
33
|
'The alleged governed did not match the governed contract retrieved from the governor',
|
|
34
34
|
);
|
|
35
35
|
|
|
36
|
-
const governorInstallationFromGoverned =
|
|
37
|
-
zoe
|
|
38
|
-
).getInstallationForInstance(realGovernorInstance);
|
|
36
|
+
const governorInstallationFromGoverned =
|
|
37
|
+
await E(zoe).getInstallationForInstance(realGovernorInstance);
|
|
39
38
|
|
|
40
39
|
assert(
|
|
41
40
|
governorInstallationFromGoverned === contractGovernorInstallation,
|