@agoric/cosmos 0.34.2-dev-97f26d4.0 → 0.34.2-dev-d708d81.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
@@ -104,6 +104,7 @@ import (
104
104
  "github.com/tendermint/tendermint/libs/log"
105
105
  tmos "github.com/tendermint/tendermint/libs/os"
106
106
  tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
107
+ tmtypes "github.com/tendermint/tendermint/types"
107
108
  dbm "github.com/tendermint/tm-db"
108
109
 
109
110
  gaiaappparams "github.com/Agoric/agoric-sdk/golang/cosmos/app/params"
@@ -795,7 +796,7 @@ func NewAgoricApp(
795
796
  upgradeName = "agoric-upgrade-12"
796
797
  upgradeNameTest = "agorictest-upgrade-12"
797
798
  )
798
-
799
+
799
800
  app.UpgradeKeeper.SetUpgradeHandler(
800
801
  upgradeName,
801
802
  upgrade12Handler(app, upgradeName),
@@ -832,6 +833,11 @@ func upgrade12Handler(app *GaiaApp, targetUpgrade string) func(sdk.Context, upgr
832
833
  // Record the plan to send to SwingSet
833
834
  app.upgradePlan = &plan
834
835
 
836
+ // Reflect default BlockParams.MaxBytes change to current params
837
+ cp := app.BaseApp.GetConsensusParams(ctx)
838
+ cp.Block.MaxBytes = tmtypes.DefaultBlockParams().MaxBytes
839
+ app.BaseApp.StoreConsensusParams(ctx, cp)
840
+
835
841
  // Always run module migrations
836
842
  mvm, err := app.mm.RunMigrations(ctx, app.configurator, fromVm)
837
843
  if err != nil {
package/git-revision.txt CHANGED
@@ -1 +1 @@
1
- 97f26d4
1
+ d708d81
package/go.mod CHANGED
@@ -15,6 +15,7 @@ require (
15
15
  github.com/rakyll/statik v0.1.7
16
16
  github.com/spf13/cast v1.5.0
17
17
  github.com/spf13/cobra v1.6.0
18
+ github.com/spf13/viper v1.13.0
18
19
  github.com/stretchr/testify v1.8.0
19
20
  github.com/tendermint/tendermint v0.34.23
20
21
  github.com/tendermint/tm-db v0.6.7
@@ -105,7 +106,6 @@ require (
105
106
  github.com/spf13/afero v1.8.2 // indirect
106
107
  github.com/spf13/jwalterweatherman v1.1.0 // indirect
107
108
  github.com/spf13/pflag v1.0.5 // indirect
108
- github.com/spf13/viper v1.13.0 // indirect
109
109
  github.com/subosito/gotenv v1.4.1 // indirect
110
110
  github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
111
111
  github.com/tendermint/btcd v0.1.1 // indirect
@@ -142,7 +142,7 @@ replace google.golang.org/grpc => google.golang.org/grpc v1.33.2
142
142
 
143
143
  // At least until post-v0.34.14 is released with
144
144
  // https://github.com/tendermint/tendermint/issue/6899 resolved.
145
- replace github.com/tendermint/tendermint => github.com/agoric-labs/tendermint v0.34.23-alpha.agoric.3
145
+ replace github.com/tendermint/tendermint => github.com/agoric-labs/tendermint v0.34.23-alpha.agoric.4
146
146
 
147
147
  // We need a fork of cosmos-sdk until all of the differences are merged.
148
148
  replace github.com/cosmos/cosmos-sdk => github.com/agoric-labs/cosmos-sdk v0.45.11-alpha.agoric.3
package/go.sum CHANGED
@@ -84,8 +84,8 @@ github.com/agoric-labs/cosmos-sdk v0.45.11-alpha.agoric.3 h1:CMWOJYFHoRpKnNt2l90
84
84
  github.com/agoric-labs/cosmos-sdk v0.45.11-alpha.agoric.3/go.mod h1:fdXvzy+wmYB+W+N139yb0+szbT7zAGgUjmxm5DBrjto=
85
85
  github.com/agoric-labs/cosmos-sdk/ics23/go v0.8.0-alpha.agoric.1 h1:2jvHI/2d+psWAZy6FQ0vXJCHUtfU3ZbbW+pQFL04arQ=
86
86
  github.com/agoric-labs/cosmos-sdk/ics23/go v0.8.0-alpha.agoric.1/go.mod h1:E45NqnlpxGnpfTWL/xauN7MRwEE28T4Dd4uraToOaKg=
87
- github.com/agoric-labs/tendermint v0.34.23-alpha.agoric.3 h1:aq6F1r3RQkKUYNeMNjRxgGn3dayvKnDK/R6gQF0WoFs=
88
- github.com/agoric-labs/tendermint v0.34.23-alpha.agoric.3/go.mod h1:rXVrl4OYzmIa1I91av3iLv2HS0fGSiucyW9J4aMTpKI=
87
+ github.com/agoric-labs/tendermint v0.34.23-alpha.agoric.4 h1:NWqGDUk5UkkXxsEVRtCWFpMeuCtu2MyRtC0Cib7sKH8=
88
+ github.com/agoric-labs/tendermint v0.34.23-alpha.agoric.4/go.mod h1:rXVrl4OYzmIa1I91av3iLv2HS0fGSiucyW9J4aMTpKI=
89
89
  github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
90
90
  github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
91
91
  github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/cosmos",
3
- "version": "0.34.2-dev-97f26d4.0+97f26d4",
3
+ "version": "0.34.2-dev-d708d81.0+d708d81",
4
4
  "description": "Connect JS to the Cosmos blockchain SDK",
5
5
  "parsers": {
6
6
  "js": "mjs"
@@ -38,5 +38,5 @@
38
38
  "typeCoverage": {
39
39
  "atLeast": 0
40
40
  },
41
- "gitHead": "97f26d4e149bd2665f96571edfdae04f1ffec22d"
41
+ "gitHead": "d708d81ab9cee46fe0c2dfa9555cbabd6f6f44f5"
42
42
  }