@agoric/cosmos 0.34.2-dev-440d7a8.0 → 0.34.2-dev-6c8bf5c.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/git-revision.txt CHANGED
@@ -1 +1 @@
1
- 440d7a8
1
+ 6c8bf5c
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/cosmos",
3
- "version": "0.34.2-dev-440d7a8.0+440d7a8",
3
+ "version": "0.34.2-dev-6c8bf5c.0+6c8bf5c",
4
4
  "description": "Connect JS to the Cosmos blockchain SDK",
5
5
  "parsers": {
6
6
  "js": "mjs"
@@ -39,5 +39,5 @@
39
39
  "typeCoverage": {
40
40
  "atLeast": 0
41
41
  },
42
- "gitHead": "440d7a8c94374874d01523aa109a631b12baf10b"
42
+ "gitHead": "6c8bf5c1a42dca67dd1739e06eb642c2362eb52a"
43
43
  }
@@ -64,7 +64,7 @@ func InitGenesis(ctx sdk.Context, k Keeper, swingStoreExportsHandler *SwingStore
64
64
  ReadNextArtifact: artifactProvider.ReadNextArtifact,
65
65
  },
66
66
  keeper.SwingStoreRestoreOptions{
67
- ArtifactMode: keeper.SwingStoreArtifactModeReplay,
67
+ ArtifactMode: keeper.SwingStoreArtifactModeOperational,
68
68
  ExportDataMode: keeper.SwingStoreExportDataModeAll,
69
69
  },
70
70
  )
@@ -98,9 +98,8 @@ func ExportGenesis(ctx sdk.Context, k Keeper, swingStoreExportsHandler *SwingSto
98
98
  // The export will fail if the export of a historical height was requested
99
99
  snapshotHeight,
100
100
  swingStoreGenesisEventHandler{exportDir: swingStoreExportDir, snapshotHeight: snapshotHeight},
101
- // The export will fail if the swing-store does not contain all replay artifacts
102
101
  keeper.SwingStoreExportOptions{
103
- ArtifactMode: keeper.SwingStoreArtifactModeReplay,
102
+ ArtifactMode: keeper.SwingStoreArtifactModeOperational,
104
103
  ExportDataMode: keeper.SwingStoreExportDataModeSkip,
105
104
  },
106
105
  )
@@ -125,7 +125,7 @@ func (snapshotter *ExtensionSnapshotter) InitiateSnapshot(height int64) error {
125
125
  blockHeight := uint64(height)
126
126
 
127
127
  return snapshotter.swingStoreExportsHandler.InitiateExport(blockHeight, snapshotter, SwingStoreExportOptions{
128
- ArtifactMode: SwingStoreArtifactModeReplay,
128
+ ArtifactMode: SwingStoreArtifactModeOperational,
129
129
  ExportDataMode: SwingStoreExportDataModeSkip,
130
130
  })
131
131
  }
@@ -304,6 +304,6 @@ func (snapshotter *ExtensionSnapshotter) RestoreExtension(blockHeight uint64, fo
304
304
 
305
305
  return snapshotter.swingStoreExportsHandler.RestoreExport(
306
306
  SwingStoreExportProvider{BlockHeight: blockHeight, GetExportDataReader: getExportDataReader, ReadNextArtifact: readNextArtifact},
307
- SwingStoreRestoreOptions{ArtifactMode: SwingStoreArtifactModeReplay, ExportDataMode: SwingStoreExportDataModeAll},
307
+ SwingStoreRestoreOptions{ArtifactMode: SwingStoreArtifactModeOperational, ExportDataMode: SwingStoreExportDataModeAll},
308
308
  )
309
309
  }