@agoric/cosmos 0.34.2-upgrade-16-dev-d492653.0 → 0.34.2-upgrade-16-dev-d45b478.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 +5 -5
- package/git-revision.txt +1 -1
- package/package.json +2 -2
package/app/app.go
CHANGED
|
@@ -863,7 +863,7 @@ func NewAgoricApp(
|
|
|
863
863
|
for name := range upgradeNamesOfThisVersion {
|
|
864
864
|
app.UpgradeKeeper.SetUpgradeHandler(
|
|
865
865
|
name,
|
|
866
|
-
|
|
866
|
+
upgrade16Handler(app, name),
|
|
867
867
|
)
|
|
868
868
|
}
|
|
869
869
|
|
|
@@ -908,8 +908,8 @@ func NewAgoricApp(
|
|
|
908
908
|
}
|
|
909
909
|
|
|
910
910
|
var upgradeNamesOfThisVersion = map[string]bool{
|
|
911
|
-
"
|
|
912
|
-
"
|
|
911
|
+
"agoric-upgrade-16": true,
|
|
912
|
+
"agorictest-upgrade-16": true,
|
|
913
913
|
}
|
|
914
914
|
|
|
915
915
|
func isFirstTimeUpgradeOfThisVersion(app *GaiaApp, ctx sdk.Context) bool {
|
|
@@ -921,8 +921,8 @@ func isFirstTimeUpgradeOfThisVersion(app *GaiaApp, ctx sdk.Context) bool {
|
|
|
921
921
|
return true
|
|
922
922
|
}
|
|
923
923
|
|
|
924
|
-
//
|
|
925
|
-
func
|
|
924
|
+
// upgrade16Handler performs standard upgrade actions plus custom actions for upgrade-16.
|
|
925
|
+
func upgrade16Handler(app *GaiaApp, targetUpgrade string) func(sdk.Context, upgradetypes.Plan, module.VersionMap) (module.VersionMap, error) {
|
|
926
926
|
return func(ctx sdk.Context, plan upgradetypes.Plan, fromVm module.VersionMap) (module.VersionMap, error) {
|
|
927
927
|
app.CheckControllerInited(false)
|
|
928
928
|
|
package/git-revision.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
d45b478
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/cosmos",
|
|
3
|
-
"version": "0.34.2-upgrade-16-dev-
|
|
3
|
+
"version": "0.34.2-upgrade-16-dev-d45b478.0+d45b478",
|
|
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": "d45b478fe2dd21ff463660522e1998ab3e8bbe65"
|
|
43
43
|
}
|