@agoric/solo 0.11.0-u21.0.1 → 0.11.0-u22.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/CHANGELOG.md +4 -164
- package/package.json +28 -28
- package/src/chain-cosmos-sdk.js +14 -17
package/CHANGELOG.md
CHANGED
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [0.11.0-
|
|
7
|
-
|
|
6
|
+
## [0.11.0-u22.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.10.3...@agoric/solo@0.11.0-u22.0) (2025-09-08)
|
|
8
7
|
|
|
9
8
|
### ⚠ BREAKING CHANGES
|
|
10
9
|
|
|
@@ -16,51 +15,38 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
16
15
|
* **internal:** Introduce deepCopyJsonable ([f875bb0](https://github.com/Agoric/agoric-sdk/commit/f875bb0923323d019396c605ea9bb4d1382f7f79))
|
|
17
16
|
* **solo:** Remove support for node -r esm modules ([343c4b1](https://github.com/Agoric/agoric-sdk/commit/343c4b1439b673efb5dc9e2818d51b33f5e30423))
|
|
18
17
|
|
|
19
|
-
|
|
20
18
|
### Bug Fixes
|
|
21
19
|
|
|
22
20
|
* DEBUG harmony ([#8136](https://github.com/Agoric/agoric-sdk/issues/8136)) ([d2ea4b4](https://github.com/Agoric/agoric-sdk/commit/d2ea4b46b9efa61e97eec8711830d9fdd741ca55))
|
|
23
21
|
* ensure script main rejections exit with error ([abdab87](https://github.com/Agoric/agoric-sdk/commit/abdab879014a5c3124ebd0e9246995ac6b1ce6e5))
|
|
24
22
|
* misc runtime robustness found by typecheck ([a033f26](https://github.com/Agoric/agoric-sdk/commit/a033f2638f9f11e19d94d7931e4e0614773b1f60))
|
|
23
|
+
* **solo:** avoid `agd query` problem when given `--chain-id` ([c5a4e95](https://github.com/Agoric/agoric-sdk/commit/c5a4e957001362c18b2e76c431cb12ad140463be))
|
|
25
24
|
* **solo:** correct lookup of wallet-ui ([c578851](https://github.com/Agoric/agoric-sdk/commit/c578851076ed54ac267a2dfe1367eedafcae4b55))
|
|
26
25
|
* **solo:** let `init` tolerate existing `html` directory ([4d14a2f](https://github.com/Agoric/agoric-sdk/commit/4d14a2f6c42628bd40ffab2d94510a20088111bb))
|
|
27
26
|
* **solo:** properly expose `/wallet/bridge.html` ([#8533](https://github.com/Agoric/agoric-sdk/issues/8533)) ([e26232e](https://github.com/Agoric/agoric-sdk/commit/e26232e68e2019db07078ae4962de47b3d0a6666))
|
|
28
27
|
* **solo:** remove `sim-chain` dependency ([da75a03](https://github.com/Agoric/agoric-sdk/commit/da75a03f95828d773fa3f662d30f0e221030c2ca))
|
|
29
28
|
* **solo:** update `abci_query` from `custom/vstorage/data` ([60f4220](https://github.com/Agoric/agoric-sdk/commit/60f4220193110c631bd8d41151ea88fde4026478))
|
|
29
|
+
* **solo:** upgrade `chain-cosmos-sdk.js` ([87db09a](https://github.com/Agoric/agoric-sdk/commit/87db09a430ac1edcefd97edd8c92a05b815ce1e3))
|
|
30
30
|
* **solo:** use alternative endo init ([584ec62](https://github.com/Agoric/agoric-sdk/commit/584ec624854ea0f4f755b189414bc9e0dabaa6e0))
|
|
31
31
|
* update for `[@jessie](https://github.com/jessie).js/safe-await-separator` ([94c6b3c](https://github.com/Agoric/agoric-sdk/commit/94c6b3c83a5326594f1e2886ae01d6a703a7a68f))
|
|
32
32
|
* update name of agd fee granter flag ([1aad20c](https://github.com/Agoric/agoric-sdk/commit/1aad20c49bf4374f6078bcbed87a6db9db3e6387))
|
|
33
33
|
* update TS types ([7580805](https://github.com/Agoric/agoric-sdk/commit/75808055afc129c81b7978fb83c33cfed7a4ecbd))
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
* use `Codec` and `CodecHelper` where appropriate ([f268e4a](https://github.com/Agoric/agoric-sdk/commit/f268e4ac6f52e8bf07f858d051d05ef8d8fac9b3))
|
|
36
35
|
|
|
37
36
|
### [0.10.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.10.2...@agoric/solo@0.10.3) (2023-06-09)
|
|
38
37
|
|
|
39
38
|
**Note:** Version bump only for package @agoric/solo
|
|
40
39
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
40
|
### [0.10.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.10.1...@agoric/solo@0.10.2) (2023-06-02)
|
|
46
41
|
|
|
47
42
|
**Note:** Version bump only for package @agoric/solo
|
|
48
43
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
44
|
### [0.10.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.10.0...@agoric/solo@0.10.1) (2023-05-24)
|
|
54
45
|
|
|
55
46
|
**Note:** Version bump only for package @agoric/solo
|
|
56
47
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
48
|
## [0.10.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.9.3...@agoric/solo@0.10.0) (2023-05-19)
|
|
62
49
|
|
|
63
|
-
|
|
64
50
|
### ⚠ BREAKING CHANGES
|
|
65
51
|
|
|
66
52
|
* **solo:** separate boot-solo.js out of boot.js (CONT.)
|
|
@@ -72,7 +58,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
72
58
|
* convert swing-store from LMDB to Sqlite ([579a6c7](https://github.com/Agoric/agoric-sdk/commit/579a6c796a47092c4ee880316c7530d07d92c961))
|
|
73
59
|
* refactor SwingStore APIs to cleanly distinguish kernel facet from host facet ([7126822](https://github.com/Agoric/agoric-sdk/commit/71268220d659469cd583c9c510ed8c1a1661f282))
|
|
74
60
|
|
|
75
|
-
|
|
76
61
|
### Bug Fixes
|
|
77
62
|
|
|
78
63
|
* handle branded TimestampRecord in solo/store/agoric-cli/governance ([8369dd6](https://github.com/Agoric/agoric-sdk/commit/8369dd6a47e7e6c1c799a131fc38f340f0018b38))
|
|
@@ -85,52 +70,30 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
85
70
|
* more await weeding ([#6745](https://github.com/Agoric/agoric-sdk/issues/6745)) ([19855de](https://github.com/Agoric/agoric-sdk/commit/19855de77cca7a96c1c3a42f090502d11ba36989))
|
|
86
71
|
* **solo:** unmangle assertion failure condition ([0aafc66](https://github.com/Agoric/agoric-sdk/commit/0aafc66e4072ef2347099560943fbd59476be854))
|
|
87
72
|
|
|
88
|
-
|
|
89
|
-
|
|
90
73
|
### [0.9.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.9.4...@agoric/solo@0.9.5) (2023-02-17)
|
|
91
74
|
|
|
92
|
-
|
|
93
75
|
### Bug Fixes
|
|
94
76
|
|
|
95
77
|
* **telemetry:** upgrade otel deps ([2c9b017](https://github.com/Agoric/agoric-sdk/commit/2c9b017d301048e5782b3b8cf684392e00419221))
|
|
96
78
|
|
|
97
|
-
|
|
98
|
-
|
|
99
79
|
### [0.9.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.9.3...@agoric/solo@0.9.4) (2022-12-14)
|
|
100
80
|
|
|
101
81
|
**Note:** Version bump only for package @agoric/solo
|
|
102
82
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
83
|
### [0.9.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.9.2...@agoric/solo@0.9.3) (2022-10-18)
|
|
108
84
|
|
|
109
85
|
**Note:** Version bump only for package @agoric/solo
|
|
110
86
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
87
|
### [0.9.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.9.1...@agoric/solo@0.9.2) (2022-10-08)
|
|
116
88
|
|
|
117
89
|
**Note:** Version bump only for package @agoric/solo
|
|
118
90
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
91
|
### [0.9.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.9.0...@agoric/solo@0.9.1) (2022-10-05)
|
|
124
92
|
|
|
125
93
|
**Note:** Version bump only for package @agoric/solo
|
|
126
94
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
95
|
## [0.9.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.8.0...@agoric/solo@0.9.0) (2022-09-20)
|
|
132
96
|
|
|
133
|
-
|
|
134
97
|
### Features
|
|
135
98
|
|
|
136
99
|
* **ses-ava:** support full API of Ava ([3b5fd6c](https://github.com/Agoric/agoric-sdk/commit/3b5fd6c103a4a9207eaf2e761b3a096ce78c3d16))
|
|
@@ -139,7 +102,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
139
102
|
* **solo:** add `cache` function to REPL ([c5e66d6](https://github.com/Agoric/agoric-sdk/commit/c5e66d6e13d7e2b82b719d3346da04a9bca88fea))
|
|
140
103
|
* **swing-store:** Switch to lmdb-js ([89adc87](https://github.com/Agoric/agoric-sdk/commit/89adc87848494e78213d68194357c876b9ae4cf0))
|
|
141
104
|
|
|
142
|
-
|
|
143
105
|
### Bug Fixes
|
|
144
106
|
|
|
145
107
|
* add a defaultReapInterval setting to active swingset configurations ([4f4ab5b](https://github.com/Agoric/agoric-sdk/commit/4f4ab5b436dd763a73c6a47250ed6a7831471e33)), closes [#4160](https://github.com/Agoric/agoric-sdk/issues/4160)
|
|
@@ -149,18 +111,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
149
111
|
* Use new `||` assert style, but when TS confused use `if` instead ([#6174](https://github.com/Agoric/agoric-sdk/issues/6174)) ([94625d3](https://github.com/Agoric/agoric-sdk/commit/94625d38c3bb5333b00a69dd3086b1ac13490f62))
|
|
150
112
|
* **wallet-connection:** retry on websocket not bridge ([#5485](https://github.com/Agoric/agoric-sdk/issues/5485)) ([9a805a0](https://github.com/Agoric/agoric-sdk/commit/9a805a0cc52737004420bc1774270e7fc0e35224))
|
|
151
113
|
|
|
152
|
-
|
|
153
|
-
|
|
154
114
|
## [0.8.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.7.0...@agoric/solo@0.8.0) (2022-05-28)
|
|
155
115
|
|
|
156
|
-
|
|
157
116
|
### Features
|
|
158
117
|
|
|
159
118
|
* **solo:** Add /connections and /install-bundle HTTP routes ([01cdbc9](https://github.com/Agoric/agoric-sdk/commit/01cdbc9ff3dfee1fc9dad5c4b19a0c41ff697787))
|
|
160
119
|
* **solo:** report WebSocket closure ([3e700ca](https://github.com/Agoric/agoric-sdk/commit/3e700ca6b3978af63055cf614b3ded1eeb9d5a85))
|
|
161
120
|
* **solo:** use `$SOLO_MNEMONIC` on init ([c151398](https://github.com/Agoric/agoric-sdk/commit/c1513989928df1afa2c133984a67dcb984d908ec))
|
|
162
121
|
|
|
163
|
-
|
|
164
122
|
### Bug Fixes
|
|
165
123
|
|
|
166
124
|
* **solo:** Add missing extension to test-env import ([ea3a1bf](https://github.com/Agoric/agoric-sdk/commit/ea3a1bfd2702b54127d6db963860982835af0369))
|
|
@@ -170,22 +128,16 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
170
128
|
* **solo:** Relax extraneous xsnap dependency ([616f26e](https://github.com/Agoric/agoric-sdk/commit/616f26e4f886845ad6b33a80fd58aee8665e972f))
|
|
171
129
|
* **solo-ui:** more robust history updates ([76edbc9](https://github.com/Agoric/agoric-sdk/commit/76edbc9305f37cd646c33d5651415aa3caf9b7d1))
|
|
172
130
|
|
|
173
|
-
|
|
174
|
-
|
|
175
131
|
## [0.7.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.6.0...@agoric/solo@0.7.0) (2022-05-09)
|
|
176
132
|
|
|
177
|
-
|
|
178
133
|
### Features
|
|
179
134
|
|
|
180
135
|
* **deployment:** integration: record xsnap and swingStore traces ([fa669e0](https://github.com/Agoric/agoric-sdk/commit/fa669e05c98a42ca647e1603c9ba1e95bec42769))
|
|
181
136
|
* Accept path for swingStore trace ([63a209c](https://github.com/Agoric/agoric-sdk/commit/63a209c8c7906f8be07f87aedf1313e607df7b42))
|
|
182
137
|
* Plumb env into makeSwingsetController ([53c2c93](https://github.com/Agoric/agoric-sdk/commit/53c2c93e6bf4fa569e1194c8a6126d187ecbdb84))
|
|
183
138
|
|
|
184
|
-
|
|
185
|
-
|
|
186
139
|
## [0.6.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.5.6...@agoric/solo@0.6.0) (2022-04-18)
|
|
187
140
|
|
|
188
|
-
|
|
189
141
|
### ⚠ BREAKING CHANGES
|
|
190
142
|
|
|
191
143
|
* consistent Node engine requirement (>=14.15.0)
|
|
@@ -197,36 +149,27 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
197
149
|
* **SOLO_OTEL_EXPORTER_PROMETHEUS_PORT:** new env var ([46f0a31](https://github.com/Agoric/agoric-sdk/commit/46f0a3188149b32dccec14a5c5d02b8b35ca2494))
|
|
198
150
|
* **telemetry:** `echo 2022-02-18T12:00:00Z | ./ingest.sh f.slog` ([bede363](https://github.com/Agoric/agoric-sdk/commit/bede363018656bad32b6764a5216acaaf2ca19bc))
|
|
199
151
|
|
|
200
|
-
|
|
201
152
|
### Bug Fixes
|
|
202
153
|
|
|
203
154
|
* **solo:** remove `SOLO_*` environment variables after extraction ([19444dc](https://github.com/Agoric/agoric-sdk/commit/19444dc7b7195c8273fe930c21a3b6dcd7f927af))
|
|
204
155
|
* **telemetry:** rework Prometheus metrics ([38a1922](https://github.com/Agoric/agoric-sdk/commit/38a1922ce2c21e4f31b4a1bedd634bbe627990f9))
|
|
205
156
|
|
|
206
|
-
|
|
207
157
|
### Miscellaneous Chores
|
|
208
158
|
|
|
209
159
|
* consistent Node engine requirement (>=14.15.0) ([ddc40fa](https://github.com/Agoric/agoric-sdk/commit/ddc40fa525f845ed900512c38b99f01458a3d131))
|
|
210
160
|
|
|
211
|
-
|
|
212
|
-
|
|
213
161
|
### [0.5.6](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.5.5...@agoric/solo@0.5.6) (2022-02-24)
|
|
214
162
|
|
|
215
|
-
|
|
216
163
|
### Features
|
|
217
164
|
|
|
218
165
|
* **cosmic-swingset:** add tools for core-eval governance ([7368aa6](https://github.com/Agoric/agoric-sdk/commit/7368aa6c22be840733843b1da125eb659cc21d84))
|
|
219
166
|
|
|
220
|
-
|
|
221
167
|
### Bug Fixes
|
|
222
168
|
|
|
223
169
|
* **solo:** prevent Object.freeze from borking the REPL ([9e50a54](https://github.com/Agoric/agoric-sdk/commit/9e50a54a598247de5fcf1f2317c3d8b2203b2b66))
|
|
224
170
|
|
|
225
|
-
|
|
226
|
-
|
|
227
171
|
### [0.5.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.5.4...@agoric/solo@0.5.5) (2022-02-21)
|
|
228
172
|
|
|
229
|
-
|
|
230
173
|
### Features
|
|
231
174
|
|
|
232
175
|
* **solo:** create `ag-solo-mnemonic` in preparation for CosmJS ([1091a9b](https://github.com/Agoric/agoric-sdk/commit/1091a9be12dd29a3072a8f156eb86c2584b29bdd))
|
|
@@ -235,7 +178,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
235
178
|
* **swing-store:** enable `LMDB_MAP_SIZE` and `SOLO_LMDB_MAP_SIZE` ([77f67a8](https://github.com/Agoric/agoric-sdk/commit/77f67a8010d84b4f595e1fbd524b344050ae47d6))
|
|
236
179
|
* **telemetry:** use `makeSlogSenderFromModule` ([2892da9](https://github.com/Agoric/agoric-sdk/commit/2892da96eff902c5f616424d6fb9946aaaef1b0f))
|
|
237
180
|
|
|
238
|
-
|
|
239
181
|
### Bug Fixes
|
|
240
182
|
|
|
241
183
|
* **solo:** kill off sim-chain child with `SIGTERM` ([e85dccd](https://github.com/Agoric/agoric-sdk/commit/e85dccdb445d213f3d85d2cd8a65bf65d61f84f0))
|
|
@@ -245,52 +187,37 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
245
187
|
* **solo:** Reject with error, not number ([e5f622f](https://github.com/Agoric/agoric-sdk/commit/e5f622fe3708994388b98a7d9d944b3c694d0ad5))
|
|
246
188
|
* **solo:** remove a symlink dependency in exchange for web config ([42fc52b](https://github.com/Agoric/agoric-sdk/commit/42fc52b9d7bd8217038164f92f0448c4540c6e64))
|
|
247
189
|
|
|
248
|
-
|
|
249
|
-
|
|
250
190
|
### [0.5.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.5.3...@agoric/solo@0.5.4) (2021-12-22)
|
|
251
191
|
|
|
252
|
-
|
|
253
192
|
### Bug Fixes
|
|
254
193
|
|
|
255
194
|
* **solo:** take a dependency on `esm` to reenable plugins ([16e9f9b](https://github.com/Agoric/agoric-sdk/commit/16e9f9b08edeb412fb722adab593f22fde1e29a8))
|
|
256
195
|
* **wallet:** allow wallet app deep linking ([96d372e](https://github.com/Agoric/agoric-sdk/commit/96d372e781d3ce405fc82edea78a0633b0d61b9f))
|
|
257
196
|
|
|
258
|
-
|
|
259
|
-
|
|
260
197
|
### [0.5.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.5.2...@agoric/solo@0.5.3) (2021-12-02)
|
|
261
198
|
|
|
262
|
-
|
|
263
199
|
### Features
|
|
264
200
|
|
|
265
201
|
* **agoric-cli:** enable the `agoric start --debug` option ([4f89a5b](https://github.com/Agoric/agoric-sdk/commit/4f89a5bc2250fb0d5cf64e937d2335b1a3857c7a))
|
|
266
202
|
* **solo:** tolerate transactions being rejected by ante handler ([6e3b6cd](https://github.com/Agoric/agoric-sdk/commit/6e3b6cd69fbd4eea38ea3979255dd40efd4daa32))
|
|
267
203
|
* replace internal usage of ag-chain-cosmos with agd ([d4e1128](https://github.com/Agoric/agoric-sdk/commit/d4e1128b8542c48b060ed1be9778e5779668d5b5))
|
|
268
204
|
|
|
269
|
-
|
|
270
205
|
### Bug Fixes
|
|
271
206
|
|
|
272
207
|
* **deps:** remove explicit `@agoric/babel-standalone` ([4f22453](https://github.com/Agoric/agoric-sdk/commit/4f22453a6f2de1a2c27ae8ad0d11b13116890dab))
|
|
273
208
|
* **solo:** export objects to CapTP on demand ([5e6dc54](https://github.com/Agoric/agoric-sdk/commit/5e6dc549da61f6c3e10be118a78167108b70b361))
|
|
274
209
|
* **solo:** trim overlong message bodies in debug logs ([7087181](https://github.com/Agoric/agoric-sdk/commit/7087181a33557871f509bee103787f667ef56969))
|
|
275
210
|
|
|
276
|
-
|
|
277
|
-
|
|
278
211
|
### [0.5.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.5.1...@agoric/solo@0.5.2) (2021-10-13)
|
|
279
212
|
|
|
280
213
|
**Note:** Version bump only for package @agoric/solo
|
|
281
214
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
215
|
### [0.5.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.5.0...@agoric/solo@0.5.1) (2021-09-23)
|
|
287
216
|
|
|
288
|
-
|
|
289
217
|
### Features
|
|
290
218
|
|
|
291
219
|
* **solo:** make client objects appear earlier, parallelise chain ([656514e](https://github.com/Agoric/agoric-sdk/commit/656514e5937389c57e139bc1302fa435edd2e674))
|
|
292
220
|
|
|
293
|
-
|
|
294
221
|
### Bug Fixes
|
|
295
222
|
|
|
296
223
|
* **solo:** chain events come from both 'NewBlockHeader' and 'Tx' ([3cefa07](https://github.com/Agoric/agoric-sdk/commit/3cefa0758ab3c0397d7430d0b79b0e544f0d4249))
|
|
@@ -298,11 +225,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
298
225
|
* **solo:** make `localTimerService` in ms, and update correctly ([d6d4724](https://github.com/Agoric/agoric-sdk/commit/d6d472445a05b8c3d83fc9621879c3c91bf4d737))
|
|
299
226
|
* **timer:** remove deprecated `createRepeater` ([b45c66d](https://github.com/Agoric/agoric-sdk/commit/b45c66d6d5aadcd91bd2e50d31104bce8d4d78f6))
|
|
300
227
|
|
|
301
|
-
|
|
302
|
-
|
|
303
228
|
## [0.5.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.4.6...@agoric/solo@0.5.0) (2021-09-15)
|
|
304
229
|
|
|
305
|
-
|
|
306
230
|
### ⚠ BREAKING CHANGES
|
|
307
231
|
|
|
308
232
|
* **solo:** watch for mailbox updates; not every Tendermint block
|
|
@@ -312,7 +236,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
312
236
|
|
|
313
237
|
* **solo:** add `keys`, `init`, and `delete` to `home.scratch` ([1cecdcb](https://github.com/Agoric/agoric-sdk/commit/1cecdcb7dd571146164aba1e8eda0b6ad91a975a))
|
|
314
238
|
|
|
315
|
-
|
|
316
239
|
### Bug Fixes
|
|
317
240
|
|
|
318
241
|
* **deploy:** use `@endo/captp` epochs to mitigate crosstalk ([f2b5ba4](https://github.com/Agoric/agoric-sdk/commit/f2b5ba4bc29ca48e00f32982c713de3ec972e879))
|
|
@@ -325,66 +248,40 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
325
248
|
* more missing Fars. kill "this" ([#3746](https://github.com/Agoric/agoric-sdk/issues/3746)) ([7bd027a](https://github.com/Agoric/agoric-sdk/commit/7bd027a879f98a9a3f30429ee1b54e6057efec42))
|
|
326
249
|
* XS + SES snapshots are deterministic (test) ([#3781](https://github.com/Agoric/agoric-sdk/issues/3781)) ([95c5f01](https://github.com/Agoric/agoric-sdk/commit/95c5f014b2808ef1b3a32302bb37b3894e449abe)), closes [#2776](https://github.com/Agoric/agoric-sdk/issues/2776)
|
|
327
250
|
|
|
328
|
-
|
|
329
251
|
### Code Refactoring
|
|
330
252
|
|
|
331
253
|
* clean up organization of swing-store ([3c7e57b](https://github.com/Agoric/agoric-sdk/commit/3c7e57b8f62c0b93660dd57c002ffb96c2cd4137))
|
|
332
254
|
|
|
333
|
-
|
|
334
|
-
|
|
335
255
|
### [0.4.6](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.4.5...@agoric/solo@0.4.6) (2021-08-22)
|
|
336
256
|
|
|
337
|
-
|
|
338
257
|
### Bug Fixes
|
|
339
258
|
|
|
340
259
|
* **solo:** make solo-to-chain more robust ([ea0ef15](https://github.com/Agoric/agoric-sdk/commit/ea0ef15645fd851d82c9edf3ad862dcc256e172d))
|
|
341
260
|
|
|
342
|
-
|
|
343
|
-
|
|
344
261
|
### [0.4.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.4.4...@agoric/solo@0.4.5) (2021-08-21)
|
|
345
262
|
|
|
346
263
|
**Note:** Version bump only for package @agoric/solo
|
|
347
264
|
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
265
|
### [0.4.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.4.3...@agoric/solo@0.4.4) (2021-08-21)
|
|
353
266
|
|
|
354
267
|
**Note:** Version bump only for package @agoric/solo
|
|
355
268
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
269
|
### [0.4.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.4.2...@agoric/solo@0.4.3) (2021-08-18)
|
|
361
270
|
|
|
362
|
-
|
|
363
271
|
### Features
|
|
364
272
|
|
|
365
273
|
* **solo:** allow rpc servers to be specified as an URL ([91650e0](https://github.com/Agoric/agoric-sdk/commit/91650e0dd5a8bea20f161b9225edb1792ca17b55))
|
|
366
274
|
|
|
367
|
-
|
|
368
|
-
|
|
369
275
|
### [0.4.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.4.1...@agoric/solo@0.4.2) (2021-08-17)
|
|
370
276
|
|
|
371
277
|
**Note:** Version bump only for package @agoric/solo
|
|
372
278
|
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
279
|
### [0.4.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.4.0...@agoric/solo@0.4.1) (2021-08-16)
|
|
378
280
|
|
|
379
281
|
**Note:** Version bump only for package @agoric/solo
|
|
380
282
|
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
283
|
## [0.4.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.2.11...@agoric/solo@0.4.0) (2021-08-15)
|
|
386
284
|
|
|
387
|
-
|
|
388
285
|
### ⚠ BREAKING CHANGES
|
|
389
286
|
|
|
390
287
|
* **swingset:** Convert RESM to NESM
|
|
@@ -393,27 +290,23 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
393
290
|
|
|
394
291
|
* **solo:** accept $SOLO_SLOGFILE to write a slogfile ([20f0c04](https://github.com/Agoric/agoric-sdk/commit/20f0c045eb7e948bbbac096b2f04d239767027d9))
|
|
395
292
|
|
|
396
|
-
|
|
397
293
|
### Bug Fixes
|
|
398
294
|
|
|
399
295
|
* **cosmos:** don't force the output format to JSON ([671b93d](https://github.com/Agoric/agoric-sdk/commit/671b93d6032656dceeee1616b849535145b3e10d))
|
|
400
296
|
* **solo:** use SDK-local binaries rather than relying on $PATH ([ad96231](https://github.com/Agoric/agoric-sdk/commit/ad962312557adf87b56b5510ff1059ad669331ad))
|
|
401
297
|
* **swingset:** delete unused snapshots ([#3505](https://github.com/Agoric/agoric-sdk/issues/3505)) ([317959d](https://github.com/Agoric/agoric-sdk/commit/317959d77ca669c8e4bbf504d89fe55bdd383253)), closes [#3374](https://github.com/Agoric/agoric-sdk/issues/3374) [#3431](https://github.com/Agoric/agoric-sdk/issues/3431)
|
|
402
298
|
|
|
403
|
-
|
|
404
299
|
### Code Refactoring
|
|
405
300
|
|
|
406
301
|
* **swingset:** Convert RESM to NESM ([bf7fd61](https://github.com/Agoric/agoric-sdk/commit/bf7fd6161a79e994c3bc48949e4ccb01b4048772))
|
|
407
302
|
|
|
408
303
|
### 0.26.10 (2021-07-28)
|
|
409
304
|
|
|
410
|
-
|
|
411
305
|
### Features
|
|
412
306
|
|
|
413
307
|
* improve ag-solo robustness and performance ([b101d3a](https://github.com/Agoric/agoric-sdk/commit/b101d3a4cd4fc97c4a6c794877efc47d43b12f02))
|
|
414
308
|
* **solo:** separate hot helper address from cold fees and egress ([20cdfa8](https://github.com/Agoric/agoric-sdk/commit/20cdfa8d89788d6903ea927bf9b3d59ece775251))
|
|
415
309
|
|
|
416
|
-
|
|
417
310
|
### Bug Fixes
|
|
418
311
|
|
|
419
312
|
* **cosmic-swingset:** decrease Nagling to 500ms ([260ecc9](https://github.com/Agoric/agoric-sdk/commit/260ecc9f437d427b2494e9b7d1a8a3994431164c))
|
|
@@ -423,11 +316,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
423
316
|
* **solo:** don't give a hint that isn't useful ([ffc68bf](https://github.com/Agoric/agoric-sdk/commit/ffc68bf65d60c2a82bc0f6a5815d6a04495f4755))
|
|
424
317
|
* **solo:** make delivery process more robust ([2a3ff01](https://github.com/Agoric/agoric-sdk/commit/2a3ff017e1d7e8a127154e052c45157c7605f3b9))
|
|
425
318
|
|
|
426
|
-
|
|
427
|
-
|
|
428
319
|
## [0.3.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.2.11...@agoric/solo@0.3.0) (2021-08-14)
|
|
429
320
|
|
|
430
|
-
|
|
431
321
|
### ⚠ BREAKING CHANGES
|
|
432
322
|
|
|
433
323
|
* **swingset:** Convert RESM to NESM
|
|
@@ -436,26 +326,22 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
436
326
|
|
|
437
327
|
* **solo:** accept $SOLO_SLOGFILE to write a slogfile ([20f0c04](https://github.com/Agoric/agoric-sdk/commit/20f0c045eb7e948bbbac096b2f04d239767027d9))
|
|
438
328
|
|
|
439
|
-
|
|
440
329
|
### Bug Fixes
|
|
441
330
|
|
|
442
331
|
* **cosmos:** don't force the output format to JSON ([671b93d](https://github.com/Agoric/agoric-sdk/commit/671b93d6032656dceeee1616b849535145b3e10d))
|
|
443
332
|
* **swingset:** delete unused snapshots ([#3505](https://github.com/Agoric/agoric-sdk/issues/3505)) ([317959d](https://github.com/Agoric/agoric-sdk/commit/317959d77ca669c8e4bbf504d89fe55bdd383253)), closes [#3374](https://github.com/Agoric/agoric-sdk/issues/3374) [#3431](https://github.com/Agoric/agoric-sdk/issues/3431)
|
|
444
333
|
|
|
445
|
-
|
|
446
334
|
### Code Refactoring
|
|
447
335
|
|
|
448
336
|
* **swingset:** Convert RESM to NESM ([bf7fd61](https://github.com/Agoric/agoric-sdk/commit/bf7fd6161a79e994c3bc48949e4ccb01b4048772))
|
|
449
337
|
|
|
450
338
|
### 0.26.10 (2021-07-28)
|
|
451
339
|
|
|
452
|
-
|
|
453
340
|
### Features
|
|
454
341
|
|
|
455
342
|
* improve ag-solo robustness and performance ([b101d3a](https://github.com/Agoric/agoric-sdk/commit/b101d3a4cd4fc97c4a6c794877efc47d43b12f02))
|
|
456
343
|
* **solo:** separate hot helper address from cold fees and egress ([20cdfa8](https://github.com/Agoric/agoric-sdk/commit/20cdfa8d89788d6903ea927bf9b3d59ece775251))
|
|
457
344
|
|
|
458
|
-
|
|
459
345
|
### Bug Fixes
|
|
460
346
|
|
|
461
347
|
* **cosmic-swingset:** decrease Nagling to 500ms ([260ecc9](https://github.com/Agoric/agoric-sdk/commit/260ecc9f437d427b2494e9b7d1a8a3994431164c))
|
|
@@ -465,17 +351,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
465
351
|
* **solo:** don't give a hint that isn't useful ([ffc68bf](https://github.com/Agoric/agoric-sdk/commit/ffc68bf65d60c2a82bc0f6a5815d6a04495f4755))
|
|
466
352
|
* **solo:** make delivery process more robust ([2a3ff01](https://github.com/Agoric/agoric-sdk/commit/2a3ff017e1d7e8a127154e052c45157c7605f3b9))
|
|
467
353
|
|
|
468
|
-
|
|
469
|
-
|
|
470
354
|
### [0.2.12](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.2.11...@agoric/solo@0.2.12) (2021-07-28)
|
|
471
355
|
|
|
472
|
-
|
|
473
356
|
### Features
|
|
474
357
|
|
|
475
358
|
* improve ag-solo robustness and performance ([b101d3a](https://github.com/Agoric/agoric-sdk/commit/b101d3a4cd4fc97c4a6c794877efc47d43b12f02))
|
|
476
359
|
* **solo:** separate hot helper address from cold fees and egress ([20cdfa8](https://github.com/Agoric/agoric-sdk/commit/20cdfa8d89788d6903ea927bf9b3d59ece775251))
|
|
477
360
|
|
|
478
|
-
|
|
479
361
|
### Bug Fixes
|
|
480
362
|
|
|
481
363
|
* **cosmic-swingset:** decrease Nagling to 500ms ([260ecc9](https://github.com/Agoric/agoric-sdk/commit/260ecc9f437d427b2494e9b7d1a8a3994431164c))
|
|
@@ -485,83 +367,54 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
485
367
|
* **solo:** don't give a hint that isn't useful ([ffc68bf](https://github.com/Agoric/agoric-sdk/commit/ffc68bf65d60c2a82bc0f6a5815d6a04495f4755))
|
|
486
368
|
* **solo:** make delivery process more robust ([2a3ff01](https://github.com/Agoric/agoric-sdk/commit/2a3ff017e1d7e8a127154e052c45157c7605f3b9))
|
|
487
369
|
|
|
488
|
-
|
|
489
|
-
|
|
490
370
|
### [0.2.11](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.2.10...@agoric/solo@0.2.11) (2021-07-01)
|
|
491
371
|
|
|
492
|
-
|
|
493
372
|
### Bug Fixes
|
|
494
373
|
|
|
495
374
|
* retreat from `xs-worker-no-gc` to `xs-worker` ([ce5ce00](https://github.com/Agoric/agoric-sdk/commit/ce5ce00c6a07d59ee249bfd736a3d5a66c8b903f))
|
|
496
375
|
|
|
497
|
-
|
|
498
|
-
|
|
499
376
|
### [0.2.10](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.2.9...@agoric/solo@0.2.10) (2021-07-01)
|
|
500
377
|
|
|
501
378
|
**Note:** Version bump only for package @agoric/solo
|
|
502
379
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
380
|
### [0.2.9](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.2.8...@agoric/solo@0.2.9) (2021-06-28)
|
|
508
381
|
|
|
509
|
-
|
|
510
382
|
### Features
|
|
511
383
|
|
|
512
384
|
* demand-paged vats are reloaded from heap snapshots ([#2848](https://github.com/Agoric/agoric-sdk/issues/2848)) ([cb239cb](https://github.com/Agoric/agoric-sdk/commit/cb239cbb27943ad58c304d85ee9b61ba917af79c)), closes [#2273](https://github.com/Agoric/agoric-sdk/issues/2273) [#2277](https://github.com/Agoric/agoric-sdk/issues/2277) [#2422](https://github.com/Agoric/agoric-sdk/issues/2422)
|
|
513
385
|
|
|
514
|
-
|
|
515
|
-
|
|
516
386
|
### [0.2.8](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.2.7...@agoric/solo@0.2.8) (2021-06-25)
|
|
517
387
|
|
|
518
|
-
|
|
519
388
|
### Features
|
|
520
389
|
|
|
521
390
|
* **swingset:** introduce 'xs-worker-no-gc' for forward compat ([e46cd88](https://github.com/Agoric/agoric-sdk/commit/e46cd883449c02559e2c0c49b66e26695b4b99da))
|
|
522
391
|
|
|
523
|
-
|
|
524
|
-
|
|
525
392
|
### [0.2.7](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.2.6...@agoric/solo@0.2.7) (2021-06-24)
|
|
526
393
|
|
|
527
|
-
|
|
528
394
|
### Bug Fixes
|
|
529
395
|
|
|
530
396
|
* maybe the best of both worlds: xs-worker but no explicit gc() ([8d38e9a](https://github.com/Agoric/agoric-sdk/commit/8d38e9a3d50987cd21e642e330d482e6e733cd3c))
|
|
531
397
|
|
|
532
|
-
|
|
533
|
-
|
|
534
398
|
### [0.2.6](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.2.5...@agoric/solo@0.2.6) (2021-06-24)
|
|
535
399
|
|
|
536
|
-
|
|
537
400
|
### Bug Fixes
|
|
538
401
|
|
|
539
402
|
* use 'local' worker, not xsnap, on both solo and chain ([a061a3e](https://github.com/Agoric/agoric-sdk/commit/a061a3e92f4ab90d293dfb5bff0223a24ed12d87)), closes [#3403](https://github.com/Agoric/agoric-sdk/issues/3403)
|
|
540
403
|
|
|
541
|
-
|
|
542
|
-
|
|
543
404
|
### [0.2.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.2.4...@agoric/solo@0.2.5) (2021-06-23)
|
|
544
405
|
|
|
545
|
-
|
|
546
406
|
### Bug Fixes
|
|
547
407
|
|
|
548
408
|
* **solo:** change default vatManager to 'xs-worker' ([eebaa2d](https://github.com/Agoric/agoric-sdk/commit/eebaa2d75aa2e42786892340af81d137d2058d99)), closes [#3393](https://github.com/Agoric/agoric-sdk/issues/3393)
|
|
549
409
|
* **solo:** finish changing default vatManager to 'xs-worker' ([ea19295](https://github.com/Agoric/agoric-sdk/commit/ea1929548de02d60bdbd8c204c3e032b9a258a63))
|
|
550
410
|
* **solo:** stop using install-metering-and-ses ([b21fb61](https://github.com/Agoric/agoric-sdk/commit/b21fb615016386edd206dfbe8f364cf42398b4d4)), closes [#3373](https://github.com/Agoric/agoric-sdk/issues/3373)
|
|
551
411
|
|
|
552
|
-
|
|
553
|
-
|
|
554
412
|
### [0.2.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.2.3...@agoric/solo@0.2.4) (2021-06-16)
|
|
555
413
|
|
|
556
414
|
**Note:** Version bump only for package @agoric/solo
|
|
557
415
|
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
416
|
### [0.2.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.2.2...@agoric/solo@0.2.3) (2021-06-15)
|
|
563
417
|
|
|
564
|
-
|
|
565
418
|
### Features
|
|
566
419
|
|
|
567
420
|
* modify all SwingStore uses to reflect constructor renaming ([9cda6a4](https://github.com/Agoric/agoric-sdk/commit/9cda6a4542bb64d72ddd42d08e2056f5323b18a9))
|
|
@@ -570,34 +423,22 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
570
423
|
* remove no-LMDB fallback from cosmic-swingset ([11dba7a](https://github.com/Agoric/agoric-sdk/commit/11dba7a145711097966ed41b9d36dd2ffdad2846))
|
|
571
424
|
* use 'engine-gc.js' to get the Node.js garbage collector ([0153529](https://github.com/Agoric/agoric-sdk/commit/0153529cbfc0b7da2d1ec434b32b2171bc246f93))
|
|
572
425
|
|
|
573
|
-
|
|
574
426
|
### Bug Fixes
|
|
575
427
|
|
|
576
428
|
* convert swing-store-simple to "type": "module" ([93279c1](https://github.com/Agoric/agoric-sdk/commit/93279c10a01ce55790a0aa8b5f9e2b2ce7e1732e))
|
|
577
429
|
* Pin ESM to forked version ([54dbb55](https://github.com/Agoric/agoric-sdk/commit/54dbb55d64d7ff7adb395bc4bd9d1461dd2d3c17))
|
|
578
430
|
* Preinitialize Babel ([bb76808](https://github.com/Agoric/agoric-sdk/commit/bb768089c3588e54612d7c9a4528972b5688f4e6))
|
|
579
431
|
|
|
580
|
-
|
|
581
|
-
|
|
582
432
|
## [0.2.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.2.1...@agoric/solo@0.2.2) (2021-05-10)
|
|
583
433
|
|
|
584
434
|
**Note:** Version bump only for package @agoric/solo
|
|
585
435
|
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
436
|
## [0.2.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/solo@0.2.0...@agoric/solo@0.2.1) (2021-05-05)
|
|
591
437
|
|
|
592
438
|
**Note:** Version bump only for package @agoric/solo
|
|
593
439
|
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
440
|
# 0.2.0 (2021-05-05)
|
|
599
441
|
|
|
600
|
-
|
|
601
442
|
### Bug Fixes
|
|
602
443
|
|
|
603
444
|
* more Docker paths ([7783bb4](https://github.com/Agoric/agoric-sdk/commit/7783bb4740f4ea83b788fec45c1d1aa70145bba1))
|
|
@@ -607,7 +448,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
607
448
|
* clean up Docker directory usage ([a97d0b3](https://github.com/Agoric/agoric-sdk/commit/a97d0b3edc1f47e04d93d37c6e999d0798903d03))
|
|
608
449
|
* eliminate unnecessary script indirection ([119d7b9](https://github.com/Agoric/agoric-sdk/commit/119d7b91d4042e0881b4bd8acf79391709bcd08d))
|
|
609
450
|
|
|
610
|
-
|
|
611
451
|
### Features
|
|
612
452
|
|
|
613
453
|
* default to xs-worker in chain ([#2995](https://github.com/Agoric/agoric-sdk/issues/2995)) ([7ebb5d8](https://github.com/Agoric/agoric-sdk/commit/7ebb5d8dac86662e167ff0333cc655bd511d2c58))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/solo",
|
|
3
|
-
"version": "0.11.0-
|
|
3
|
+
"version": "0.11.0-u22.0",
|
|
4
4
|
"description": "Agoric's Solo vat runner",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "exit 0",
|
|
13
13
|
"test": "ava",
|
|
14
|
-
"test:c8": "c8 --all $C8_OPTIONS ava",
|
|
14
|
+
"test:c8": "c8 --all ${C8_OPTIONS:-} ava",
|
|
15
15
|
"test:xs": "exit 0",
|
|
16
16
|
"lint-fix": "yarn lint:eslint --fix",
|
|
17
17
|
"lint": "yarn run -T run-s --continue-on-error 'lint:*'",
|
|
@@ -22,28 +22,28 @@
|
|
|
22
22
|
"author": "Agoric",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@agoric/access-token": "0.4.22-
|
|
26
|
-
"@agoric/cache": "0.
|
|
27
|
-
"@agoric/cosmic-proto": "0.5.0-
|
|
28
|
-
"@agoric/cosmic-swingset": "0.42.0-
|
|
29
|
-
"@agoric/internal": "0.4.0-
|
|
30
|
-
"@agoric/notifier": "0.7.0-
|
|
31
|
-
"@agoric/spawner": "0.6.9-
|
|
32
|
-
"@agoric/store": "0.
|
|
33
|
-
"@agoric/swing-store": "0.10.0-
|
|
34
|
-
"@agoric/swingset-vat": "0.33.0-
|
|
35
|
-
"@agoric/telemetry": "0.
|
|
36
|
-
"@agoric/time": "0.
|
|
37
|
-
"@agoric/vats": "0.16.0-
|
|
38
|
-
"@agoric/wallet": "0.19.0-
|
|
39
|
-
"@endo/base64": "^1.0.
|
|
40
|
-
"@endo/captp": "^4.4.
|
|
41
|
-
"@endo/errors": "^1.2.
|
|
42
|
-
"@endo/eventual-send": "^1.3.
|
|
43
|
-
"@endo/import-bundle": "^1.
|
|
44
|
-
"@endo/init": "^1.1.
|
|
45
|
-
"@endo/marshal": "^1.
|
|
46
|
-
"@endo/promise-kit": "^1.1.
|
|
25
|
+
"@agoric/access-token": "0.4.22-u22.0",
|
|
26
|
+
"@agoric/cache": "0.4.0-u22.0",
|
|
27
|
+
"@agoric/cosmic-proto": "0.5.0-u22.0",
|
|
28
|
+
"@agoric/cosmic-swingset": "0.42.0-u22.0",
|
|
29
|
+
"@agoric/internal": "0.4.0-u22.0",
|
|
30
|
+
"@agoric/notifier": "0.7.0-u22.0",
|
|
31
|
+
"@agoric/spawner": "0.6.9-u22.0",
|
|
32
|
+
"@agoric/store": "0.10.0-u22.0",
|
|
33
|
+
"@agoric/swing-store": "0.10.0-u22.0",
|
|
34
|
+
"@agoric/swingset-vat": "0.33.0-u22.0",
|
|
35
|
+
"@agoric/telemetry": "0.7.0-u22.0",
|
|
36
|
+
"@agoric/time": "0.4.0-u22.0",
|
|
37
|
+
"@agoric/vats": "0.16.0-u22.0",
|
|
38
|
+
"@agoric/wallet": "0.19.0-u22.0",
|
|
39
|
+
"@endo/base64": "^1.0.12",
|
|
40
|
+
"@endo/captp": "^4.4.8",
|
|
41
|
+
"@endo/errors": "^1.2.13",
|
|
42
|
+
"@endo/eventual-send": "^1.3.4",
|
|
43
|
+
"@endo/import-bundle": "^1.5.2",
|
|
44
|
+
"@endo/init": "^1.1.12",
|
|
45
|
+
"@endo/marshal": "^1.8.0",
|
|
46
|
+
"@endo/promise-kit": "^1.1.13",
|
|
47
47
|
"anylogger": "^0.21.0",
|
|
48
48
|
"deterministic-json": "^1.0.5",
|
|
49
49
|
"express": "^5.0.1",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"ws": "^7.2.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@agoric/ertp": "0.
|
|
60
|
-
"@endo/bundle-source": "^4.
|
|
59
|
+
"@agoric/ertp": "0.17.0-u22.0",
|
|
60
|
+
"@endo/bundle-source": "^4.1.2",
|
|
61
61
|
"ava": "^5.3.0",
|
|
62
62
|
"c8": "^10.1.3"
|
|
63
63
|
},
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"workerThreads": false
|
|
79
79
|
},
|
|
80
80
|
"typeCoverage": {
|
|
81
|
-
"atLeast": 73.
|
|
81
|
+
"atLeast": 73.92
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "dbf78c32d14bf4a38bfd7a10d061011a0ff368e6"
|
|
84
84
|
}
|
package/src/chain-cosmos-sdk.js
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
QueryDataRequest,
|
|
17
17
|
QueryDataResponse,
|
|
18
18
|
} from '@agoric/cosmic-proto/vstorage/query.js';
|
|
19
|
+
import { CodecHelper } from '@agoric/cosmic-proto';
|
|
19
20
|
|
|
20
21
|
import { makeNotifierKit } from '@agoric/notifier';
|
|
21
22
|
import {
|
|
@@ -200,18 +201,16 @@ export async function connectToChain(
|
|
|
200
201
|
|
|
201
202
|
let goodRpcHref = rpcHrefs[0];
|
|
202
203
|
const runHelper = (args, stdin = undefined) => {
|
|
203
|
-
const fullArgs = [
|
|
204
|
-
...args,
|
|
205
|
-
`--chain-id=${chainID}`,
|
|
206
|
-
`--node=${goodRpcHref}`,
|
|
207
|
-
`--home=${helperDir}`,
|
|
208
|
-
];
|
|
204
|
+
const fullArgs = [...args, `--node=${goodRpcHref}`, `--home=${helperDir}`];
|
|
209
205
|
console.debug(HELPER, ...fullArgs);
|
|
210
206
|
return new Promise(resolve => {
|
|
211
207
|
const proc = execFile(
|
|
212
208
|
HELPER,
|
|
213
209
|
fullArgs,
|
|
214
|
-
{
|
|
210
|
+
{
|
|
211
|
+
maxBuffer: MAX_BUFFER_SIZE,
|
|
212
|
+
env: { ...process.env, AGD_CHAIN_ID: chainID },
|
|
213
|
+
},
|
|
215
214
|
(_error, stdout, stderr) => {
|
|
216
215
|
resolve({ stdout, stderr });
|
|
217
216
|
},
|
|
@@ -305,7 +304,7 @@ export async function connectToChain(
|
|
|
305
304
|
};
|
|
306
305
|
|
|
307
306
|
const subscribeToTxHash = (txHash, cb) => {
|
|
308
|
-
const txQuery = `tm.event = 'Tx'
|
|
307
|
+
const txQuery = `tm.event = 'Tx' AND tx.hash = '${txHash}'`;
|
|
309
308
|
|
|
310
309
|
const bufHash = decodeHex(txHash);
|
|
311
310
|
const b64Hash = encodeBase64(bufHash);
|
|
@@ -328,7 +327,7 @@ export async function connectToChain(
|
|
|
328
327
|
cb(obj.error);
|
|
329
328
|
return;
|
|
330
329
|
}
|
|
331
|
-
if (!obj.result) {
|
|
330
|
+
if (!obj.result || Object.keys(obj.result).length === 0) {
|
|
332
331
|
return;
|
|
333
332
|
}
|
|
334
333
|
let txResult;
|
|
@@ -355,14 +354,16 @@ export async function connectToChain(
|
|
|
355
354
|
// This takes care of BeginBlock/EndBlock events.
|
|
356
355
|
const blockQuery = `tm.event = 'NewBlockHeader' AND storage.path = '${storagePath}'`;
|
|
357
356
|
// We need a separate query for events raised by transactions.
|
|
358
|
-
const txQuery = `tm.event = 'Tx'
|
|
357
|
+
const txQuery = `tm.event = 'Tx' AND storage.path = '${storagePath}'`;
|
|
359
358
|
|
|
360
359
|
// console.info('subscribeToStorage', blockQuery);
|
|
361
360
|
const blockSubscriptionId = sendRPC('subscribe', { query: blockQuery });
|
|
362
361
|
const txSubscriptionId = sendRPC('subscribe', { query: txQuery });
|
|
363
362
|
const queryId = sendRPC('abci_query', {
|
|
364
363
|
path: `/agoric.vstorage.Query/Data`,
|
|
365
|
-
data: encodeHex(
|
|
364
|
+
data: encodeHex(
|
|
365
|
+
CodecHelper(QueryDataRequest).toProto({ path: storagePath }),
|
|
366
|
+
),
|
|
366
367
|
});
|
|
367
368
|
|
|
368
369
|
const cleanup = () => {
|
|
@@ -385,18 +386,14 @@ export async function connectToChain(
|
|
|
385
386
|
// Query for our initial value.
|
|
386
387
|
setCallback(queryId, obj => {
|
|
387
388
|
// console.info(`got ${storagePath} query`, obj);
|
|
388
|
-
if (obj.result
|
|
389
|
+
if (obj.result?.response?.value) {
|
|
389
390
|
// Decode the layers up to the actual storage value.
|
|
390
391
|
const { value: b64JsonStorage, height: heightString } =
|
|
391
392
|
obj.result.response;
|
|
392
393
|
const buf = decodeBase64(b64JsonStorage);
|
|
393
394
|
const { value: storageValue } = QueryDataResponse.decode(buf);
|
|
394
395
|
guardedCb(BigInt(heightString), storageValue);
|
|
395
|
-
} else if (
|
|
396
|
-
obj.result &&
|
|
397
|
-
obj.result.response &&
|
|
398
|
-
obj.result.response.code === 6
|
|
399
|
-
) {
|
|
396
|
+
} else if (obj.result?.response?.code === 6) {
|
|
400
397
|
// No need to try again, just a missing value that our subscription
|
|
401
398
|
// will pick up.
|
|
402
399
|
const { height: heightString } = obj.result.response;
|