@agoric/cosmos 0.34.2-dev-8830a6e.0 → 0.34.2-dev-8879538.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/app/app.go
CHANGED
|
@@ -895,11 +895,9 @@ func unreleasedUpgradeHandler(app *GaiaApp, targetUpgrade string) func(sdk.Conte
|
|
|
895
895
|
// Each CoreProposalStep runs sequentially, and can be constructed from
|
|
896
896
|
// one or more modules executing in parallel within the step.
|
|
897
897
|
CoreProposalSteps = []vm.CoreProposalStep{
|
|
898
|
-
/* upgrade-15 evals */
|
|
899
898
|
// Upgrade ZCF only
|
|
900
899
|
vm.CoreProposalStepForModules("@agoric/builders/scripts/vats/upgrade-zcf.js"),
|
|
901
|
-
|
|
902
|
-
vm.CoreProposalStepForModules("@agoric/builders/scripts/smart-wallet/build-wallet-factory2-upgrade.js"),
|
|
900
|
+
|
|
903
901
|
// upgrade the provisioning vat
|
|
904
902
|
vm.CoreProposalStepForModules("@agoric/builders/scripts/vats/replace-provisioning.js"),
|
|
905
903
|
// Enable low-level Orchestration.
|
|
@@ -916,11 +914,11 @@ func unreleasedUpgradeHandler(app *GaiaApp, targetUpgrade string) func(sdk.Conte
|
|
|
916
914
|
"@agoric/builders/scripts/vats/updateStkAtomPriceFeed.js",
|
|
917
915
|
),
|
|
918
916
|
// Add new auction contract. The old one will be retired shortly.
|
|
919
|
-
vm.CoreProposalStepForModules(
|
|
917
|
+
vm.CoreProposalStepForModules("@agoric/builders/scripts/vats/add-auction.js"),
|
|
920
918
|
// upgrade vaultFactory.
|
|
921
|
-
vm.CoreProposalStepForModules(
|
|
919
|
+
vm.CoreProposalStepForModules("@agoric/builders/scripts/vats/upgradeVaults.js"),
|
|
922
920
|
// upgrade scaledPriceAuthorities.
|
|
923
|
-
vm.CoreProposalStepForModules(
|
|
921
|
+
vm.CoreProposalStepForModules("@agoric/builders/scripts/vats/upgradeScaledPriceAuthorities.js"),
|
|
924
922
|
}
|
|
925
923
|
}
|
|
926
924
|
|
package/git-revision.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
8879538
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/cosmos",
|
|
3
|
-
"version": "0.34.2-dev-
|
|
3
|
+
"version": "0.34.2-dev-8879538.0+8879538",
|
|
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": "
|
|
42
|
+
"gitHead": "8879538cd1d125a08346f02dd5701d0d70c90bb8"
|
|
43
43
|
}
|
package/x/swingset/genesis.go
CHANGED
|
@@ -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.
|
|
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.
|
|
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:
|
|
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:
|
|
307
|
+
SwingStoreRestoreOptions{ArtifactMode: SwingStoreArtifactModeOperational, ExportDataMode: SwingStoreExportDataModeAll},
|
|
308
308
|
)
|
|
309
309
|
}
|