@agoric/cosmic-swingset 0.41.4-dev-df4954e.0 → 0.41.4-dev-074abce.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 +12 -12
- package/src/export-kernel-db.js +4 -0
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-074abce.0+074abce",
|
|
4
4
|
"description": "Agoric's Cosmos blockchain integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"author": "Agoric",
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@agoric/assert": "0.6.1-dev-
|
|
26
|
-
"@agoric/builders": "0.1.1-dev-
|
|
27
|
-
"@agoric/cosmos": "0.34.2-dev-
|
|
28
|
-
"@agoric/deploy-script-support": "0.10.4-dev-
|
|
29
|
-
"@agoric/internal": "0.3.3-dev-
|
|
30
|
-
"@agoric/store": "0.9.3-dev-
|
|
31
|
-
"@agoric/swing-store": "0.9.2-dev-
|
|
32
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
33
|
-
"@agoric/telemetry": "0.6.3-dev-
|
|
34
|
-
"@agoric/vm-config": "0.1.1-dev-
|
|
25
|
+
"@agoric/assert": "0.6.1-dev-074abce.0+074abce",
|
|
26
|
+
"@agoric/builders": "0.1.1-dev-074abce.0+074abce",
|
|
27
|
+
"@agoric/cosmos": "0.34.2-dev-074abce.0+074abce",
|
|
28
|
+
"@agoric/deploy-script-support": "0.10.4-dev-074abce.0+074abce",
|
|
29
|
+
"@agoric/internal": "0.3.3-dev-074abce.0+074abce",
|
|
30
|
+
"@agoric/store": "0.9.3-dev-074abce.0+074abce",
|
|
31
|
+
"@agoric/swing-store": "0.9.2-dev-074abce.0+074abce",
|
|
32
|
+
"@agoric/swingset-vat": "0.32.3-dev-074abce.0+074abce",
|
|
33
|
+
"@agoric/telemetry": "0.6.3-dev-074abce.0+074abce",
|
|
34
|
+
"@agoric/vm-config": "0.1.1-dev-074abce.0+074abce",
|
|
35
35
|
"@endo/bundle-source": "^3.2.3",
|
|
36
36
|
"@endo/env-options": "^1.1.4",
|
|
37
37
|
"@endo/far": "^1.1.2",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"typeCoverage": {
|
|
71
71
|
"atLeast": 80.48
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "074abced7540692878d513933dd6d49d23e6f0c2"
|
|
74
74
|
}
|
package/src/export-kernel-db.js
CHANGED
|
@@ -13,6 +13,7 @@ import { fileURLToPath } from 'url';
|
|
|
13
13
|
import { makePromiseKit } from '@endo/promise-kit';
|
|
14
14
|
import { Fail, q } from '@agoric/assert';
|
|
15
15
|
import { makeShutdown } from '@agoric/internal/src/node/shutdown.js';
|
|
16
|
+
import { waitUntilQuiescent } from '@agoric/internal/src/lib-nodejs/waitUntilQuiescent.js';
|
|
16
17
|
import { makeSwingStoreExporter } from '@agoric/swing-store';
|
|
17
18
|
|
|
18
19
|
import { isEntrypoint } from './helpers/is-entrypoint.js';
|
|
@@ -192,6 +193,9 @@ export const initiateSwingStoreExport = (
|
|
|
192
193
|
abortIfStopped();
|
|
193
194
|
startedKit.resolve();
|
|
194
195
|
log?.(`Starting DB export at block height ${savedBlockHeight}`);
|
|
196
|
+
// Let the `started` event be sent before proceeding with blocking processing:
|
|
197
|
+
// `getArtifactNames` may block the agent for a while.
|
|
198
|
+
await waitUntilQuiescent();
|
|
195
199
|
|
|
196
200
|
/** @type {StateSyncManifest} */
|
|
197
201
|
const manifest = {
|