@agoric/cosmic-swingset 0.41.4-dev-d6bb564.0 → 0.41.4-dev-d1a4a53.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/economy-template.json +12 -12
- package/package.json +11 -11
- package/src/chain-main.js +9 -5
package/economy-template.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
[
|
|
2
|
-
"@agoric/
|
|
3
|
-
"@agoric/
|
|
2
|
+
"@agoric/builders/scripts/vats/init-core.js",
|
|
3
|
+
"@agoric/builders/scripts/vats/init-network.js",
|
|
4
4
|
{
|
|
5
|
-
"module": "@agoric/inter-protocol/
|
|
5
|
+
"module": "@agoric/builders/scripts/inter-protocol/init-core.js",
|
|
6
6
|
"entrypoint": "defaultProposalBuilder",
|
|
7
7
|
"args": [
|
|
8
8
|
{
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
-
"@agoric/
|
|
16
|
+
"@agoric/builders/scripts/pegasus/init-core.js",
|
|
17
17
|
{
|
|
18
|
-
"module": "@agoric/inter-protocol/
|
|
18
|
+
"module": "@agoric/builders/scripts/inter-protocol/add-collateral-core.js",
|
|
19
19
|
"entrypoint": "defaultProposalBuilder",
|
|
20
20
|
"args": [
|
|
21
21
|
{
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
"module": "@agoric/inter-protocol/
|
|
33
|
+
"module": "@agoric/builders/scripts/inter-protocol/add-collateral-core.js",
|
|
34
34
|
"entrypoint": "psmProposalBuilder",
|
|
35
35
|
"args": [
|
|
36
36
|
{
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
]
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
|
-
"module": "@agoric/inter-protocol/
|
|
47
|
+
"module": "@agoric/builders/scripts/inter-protocol/add-collateral-core.js",
|
|
48
48
|
"entrypoint": "psmProposalBuilder",
|
|
49
49
|
"args": [
|
|
50
50
|
{
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
"module": "@agoric/inter-protocol/
|
|
61
|
+
"module": "@agoric/builders/scripts/inter-protocol/add-collateral-core.js",
|
|
62
62
|
"entrypoint": "psmProposalBuilder",
|
|
63
63
|
"args": [
|
|
64
64
|
{
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
]
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
|
-
"module": "@agoric/inter-protocol/
|
|
75
|
+
"module": "@agoric/builders/scripts/inter-protocol/add-collateral-core.js",
|
|
76
76
|
"entrypoint": "psmProposalBuilder",
|
|
77
77
|
"args": [
|
|
78
78
|
{
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
]
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
|
-
"module": "@agoric/inter-protocol/
|
|
89
|
+
"module": "@agoric/builders/scripts/inter-protocol/add-collateral-core.js",
|
|
90
90
|
"entrypoint": "psmProposalBuilder",
|
|
91
91
|
"args": [
|
|
92
92
|
{
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
|
-
"module": "@agoric/inter-protocol/
|
|
103
|
+
"module": "@agoric/builders/scripts/inter-protocol/price-feed-core.js",
|
|
104
104
|
"entrypoint": "defaultProposalBuilder",
|
|
105
105
|
"args": [
|
|
106
106
|
{
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
]
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
|
-
"module": "@agoric/inter-protocol/
|
|
128
|
+
"module": "@agoric/builders/scripts/inter-protocol/invite-committee-core.js",
|
|
129
129
|
"entrypoint": "defaultProposalBuilder",
|
|
130
130
|
"args": [
|
|
131
131
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/cosmic-swingset",
|
|
3
|
-
"version": "0.41.4-dev-
|
|
3
|
+
"version": "0.41.4-dev-d1a4a53.0+d1a4a53",
|
|
4
4
|
"description": "Agoric's Cosmos blockchain integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
"author": "Agoric",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@agoric/assert": "0.6.1-dev-
|
|
26
|
-
"@agoric/cosmos": "0.34.2-dev-
|
|
27
|
-
"@agoric/deploy-script-support": "0.10.4-dev-
|
|
28
|
-
"@agoric/internal": "0.3.3-dev-
|
|
29
|
-
"@agoric/store": "0.9.3-dev-
|
|
30
|
-
"@agoric/swing-store": "0.9.2-dev-
|
|
31
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
32
|
-
"@agoric/telemetry": "0.6.3-dev-
|
|
33
|
-
"@agoric/vm-config": "0.1.1-dev-
|
|
25
|
+
"@agoric/assert": "0.6.1-dev-d1a4a53.0+d1a4a53",
|
|
26
|
+
"@agoric/cosmos": "0.34.2-dev-d1a4a53.0+d1a4a53",
|
|
27
|
+
"@agoric/deploy-script-support": "0.10.4-dev-d1a4a53.0+d1a4a53",
|
|
28
|
+
"@agoric/internal": "0.3.3-dev-d1a4a53.0+d1a4a53",
|
|
29
|
+
"@agoric/store": "0.9.3-dev-d1a4a53.0+d1a4a53",
|
|
30
|
+
"@agoric/swing-store": "0.9.2-dev-d1a4a53.0+d1a4a53",
|
|
31
|
+
"@agoric/swingset-vat": "0.32.3-dev-d1a4a53.0+d1a4a53",
|
|
32
|
+
"@agoric/telemetry": "0.6.3-dev-d1a4a53.0+d1a4a53",
|
|
33
|
+
"@agoric/vm-config": "0.1.1-dev-d1a4a53.0+d1a4a53",
|
|
34
34
|
"@endo/far": "^0.2.19",
|
|
35
35
|
"@endo/import-bundle": "^0.3.5",
|
|
36
36
|
"@endo/init": "^0.5.57",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
],
|
|
62
62
|
"timeout": "20m"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "d1a4a539cd1f60bf7bc04c037688ec46e0ce6a40"
|
|
65
65
|
}
|
package/src/chain-main.js
CHANGED
|
@@ -298,20 +298,20 @@ export default async function main(progname, args, { env, homedir, agcc }) {
|
|
|
298
298
|
if (typeof key !== 'string') {
|
|
299
299
|
throw Fail`Unexpected swingStore exported key ${q(key)}`;
|
|
300
300
|
}
|
|
301
|
-
const path = `${STORAGE_PATH.SWING_STORE}.${key}`;
|
|
302
301
|
if (value == null) {
|
|
303
|
-
return [
|
|
302
|
+
return [key];
|
|
304
303
|
}
|
|
305
304
|
if (typeof value !== 'string') {
|
|
306
305
|
throw Fail`Unexpected ${typeof value} value for swingStore exported key ${q(
|
|
307
306
|
key,
|
|
308
307
|
)}`;
|
|
309
308
|
}
|
|
310
|
-
return [
|
|
309
|
+
return [key, value];
|
|
311
310
|
});
|
|
312
|
-
|
|
311
|
+
chainSend(
|
|
312
|
+
portNums.swingset,
|
|
313
313
|
stringify({
|
|
314
|
-
method: '
|
|
314
|
+
method: 'swingStoreUpdateExportData',
|
|
315
315
|
args: entries,
|
|
316
316
|
}),
|
|
317
317
|
);
|
|
@@ -652,6 +652,10 @@ export default async function main(progname, args, { env, homedir, agcc }) {
|
|
|
652
652
|
|
|
653
653
|
!blockingSend || Fail`Swingset already initialized`;
|
|
654
654
|
|
|
655
|
+
if (action.swingsetPort) {
|
|
656
|
+
portNums.swingset = action.swingsetPort;
|
|
657
|
+
}
|
|
658
|
+
|
|
655
659
|
if (action.vibcPort) {
|
|
656
660
|
portNums.dibc = action.vibcPort;
|
|
657
661
|
}
|