@agoric/cosmos 0.35.0-mainnet1B-dev-cfa7cb2.0 → 0.35.0-mainnet1B-dev-b0c1f78.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/CHANGELOG.md CHANGED
@@ -3,6 +3,50 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.35.0-u13.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/cosmos@0.35.0-u12.0...@agoric/cosmos@0.35.0-u13.0) (2023-12-07)
7
+
8
+
9
+ ### Features
10
+
11
+ * **cosmos:** un-wire x/crisis ([#8582](https://github.com/Agoric/agoric-sdk/issues/8582)) ([19404a3](https://github.com/Agoric/agoric-sdk/commit/19404a3c5cd10d9c454f190b60cbf0aa715f605c))
12
+ * **x/swingset:** auto-provision smart wallet ([5073800](https://github.com/Agoric/agoric-sdk/commit/5073800f87c92a194a21c9cc59ad1bb570a39b95))
13
+ * **x/swingset:** refuse smart wallet messages if not provisioned ([50a5a55](https://github.com/Agoric/agoric-sdk/commit/50a5a557956562fc05b8c2defd99a0102a35153f))
14
+ * pick up return-grants from latest cosmos-sdk ([975533e](https://github.com/Agoric/agoric-sdk/commit/975533e088f96c80cf8d6f6b7c5f45665e3495ba))
15
+ * update ibc-go to v4, adapt packages and API ([6672e5c](https://github.com/Agoric/agoric-sdk/commit/6672e5cb780c8baa530ac59bff27d793e1ff8f50))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * handle hang-on-halt behavior from agoric-labs/cosmos-sdk[#305](https://github.com/Agoric/agoric-sdk/issues/305) ([7ae9a70](https://github.com/Agoric/agoric-sdk/commit/7ae9a705478727d1d7ace7c665861cfee14b5f28))
21
+ * update dependencies to fix tests ([9d750dd](https://github.com/Agoric/agoric-sdk/commit/9d750dd39993d380a5e889ea7faa4bb78c3257aa))
22
+
23
+
24
+ ### Reverts
25
+
26
+ * Revert "fix: handle hang-on-halt behavior from agoric-labs/cosmos-sdk#305" ([3a37f5e](https://github.com/Agoric/agoric-sdk/commit/3a37f5e472405d1d3bee2075b47ecd3632ba4073)), closes [agoric-labs/cosmos-sdk#305](https://github.com/agoric-labs/cosmos-sdk/issues/305) [agoric-labs/cosmos-sdk#305](https://github.com/agoric-labs/cosmos-sdk/issues/305)
27
+
28
+
29
+
30
+ ## [0.35.0-u12.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/cosmos@0.35.0-u11wf.0...@agoric/cosmos@0.35.0-u12.0) (2023-11-10)
31
+
32
+
33
+ ### ⚠ BREAKING CHANGES
34
+
35
+ * **vstorage:** Enforce path validation
36
+
37
+ ### Features
38
+
39
+ * **cosmos:** Lower `BlockParams.MaxBytes` to 5MB ([84908e5](https://github.com/Agoric/agoric-sdk/commit/84908e5a5a181e3f64da0e298d0105fedb97570a))
40
+
41
+ ### Bug Fixes
42
+
43
+ * **vibc:** accommodate ibc-go v3 breaking changes ([f582901](https://github.com/Agoric/agoric-sdk/commit/f582901fb3835d95d493c777aac6a63fc3ee4681))
44
+ * **vibc:** put extraneous `CounterpartyChannelID` in `Counterparty` struct ([9469971](https://github.com/Agoric/agoric-sdk/commit/946997192cec0ed6b07fdaa18d8f380f460ab004))
45
+ * **vstorage:** Enforce path validation ([d8db331](https://github.com/Agoric/agoric-sdk/commit/d8db3310fb21a8546388694752889f3563733010)), closes [#8337](https://github.com/Agoric/agoric-sdk/issues/8337)
46
+ * **cosmos:** Update cosmos-sdk with fix for state-sync restore of large payloads ([e04b398](https://github.com/Agoric/agoric-sdk/commit/e04b398bf16d884fa4708c16d4c03b39cc4e0f1b)), closes [#8325](https://github.com/Agoric/agoric-sdk/issues/8325)
47
+
48
+
49
+
6
50
  ## [0.35.0-u11wf.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/cosmos@0.35.0-u11.0...@agoric/cosmos@0.35.0-u11wf.0) (2023-09-23)
7
51
 
8
52
  **Note:** Version bump only for package @agoric/cosmos
package/Makefile CHANGED
@@ -106,7 +106,7 @@ t:
106
106
 
107
107
  TM_URL := file://$(shell go list -m -f '{{ .Dir }}' github.com/tendermint/tendermint)/proto/tendermint
108
108
  GOGO_PROTO_URL := file://$(shell go list -m -f '{{ .Dir }}' github.com/gogo/protobuf)
109
- IBC_PROTO_URL := file://$(shell go list -m -f '{{ .Dir }}' github.com/cosmos/ibc-go/v3)/proto/ibc/core
109
+ IBC_PROTO_URL := file://$(shell go list -m -f '{{ .Dir }}' github.com/cosmos/ibc-go/v4)/proto/ibc/core
110
110
  COSMOS_SDK_PROTO_URL := file://$(shell go list -m -f '{{ .Dir }}' github.com/cosmos/cosmos-sdk)/proto/cosmos
111
111
 
112
112
  GOGO_PROTO_TYPES = third_party/proto/gogoproto
package/ante/ante.go CHANGED
@@ -4,8 +4,8 @@ import (
4
4
  sdk "github.com/cosmos/cosmos-sdk/types"
5
5
  sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
6
6
  "github.com/cosmos/cosmos-sdk/x/auth/ante"
7
- ibcante "github.com/cosmos/ibc-go/v3/modules/core/ante"
8
- ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper"
7
+ ibcante "github.com/cosmos/ibc-go/v4/modules/core/ante"
8
+ ibckeeper "github.com/cosmos/ibc-go/v4/modules/core/keeper"
9
9
  )
10
10
 
11
11
  // HandlerOptions extend the SDK's AnteHandler options by requiring the IBC
@@ -217,3 +217,11 @@ func (msk mockSwingsetKeeper) GetBeansPerUnit(ctx sdk.Context) map[string]sdk.Ui
217
217
  func (msk mockSwingsetKeeper) ChargeBeans(ctx sdk.Context, addr sdk.AccAddress, beans sdk.Uint) error {
218
218
  return fmt.Errorf("not implemented")
219
219
  }
220
+
221
+ func (msk mockSwingsetKeeper) GetSmartWalletState(ctx sdk.Context, addr sdk.AccAddress) swingtypes.SmartWalletState {
222
+ panic(fmt.Errorf("not implemented"))
223
+ }
224
+
225
+ func (msk mockSwingsetKeeper) ChargeForSmartWallet(ctx sdk.Context, addr sdk.AccAddress) error {
226
+ return fmt.Errorf("not implemented")
227
+ }
package/app/app.go CHANGED
@@ -21,6 +21,7 @@ import (
21
21
  "github.com/cosmos/cosmos-sdk/server/config"
22
22
  servertypes "github.com/cosmos/cosmos-sdk/server/types"
23
23
  "github.com/cosmos/cosmos-sdk/simapp"
24
+ storetypes "github.com/cosmos/cosmos-sdk/store/types"
24
25
  sdk "github.com/cosmos/cosmos-sdk/types"
25
26
  "github.com/cosmos/cosmos-sdk/types/errors"
26
27
  "github.com/cosmos/cosmos-sdk/types/module"
@@ -43,8 +44,6 @@ import (
43
44
  "github.com/cosmos/cosmos-sdk/x/capability"
44
45
  capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper"
45
46
  capabilitytypes "github.com/cosmos/cosmos-sdk/x/capability/types"
46
- "github.com/cosmos/cosmos-sdk/x/crisis"
47
- crisiskeeper "github.com/cosmos/cosmos-sdk/x/crisis/keeper"
48
47
  crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types"
49
48
  distr "github.com/cosmos/cosmos-sdk/x/distribution"
50
49
  distrclient "github.com/cosmos/cosmos-sdk/x/distribution/client"
@@ -79,22 +78,22 @@ import (
79
78
  upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client"
80
79
  upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper"
81
80
  upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
82
- ica "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts"
83
-
84
- icahost "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/host"
85
- icahostkeeper "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/host/keeper"
86
- icahosttypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/host/types"
87
- icatypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/types"
88
- "github.com/cosmos/ibc-go/v3/modules/apps/transfer"
89
- ibctransferkeeper "github.com/cosmos/ibc-go/v3/modules/apps/transfer/keeper"
90
- ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types"
91
- ibc "github.com/cosmos/ibc-go/v3/modules/core"
92
- ibcclient "github.com/cosmos/ibc-go/v3/modules/core/02-client"
93
- ibcclientclient "github.com/cosmos/ibc-go/v3/modules/core/02-client/client"
94
- ibcclienttypes "github.com/cosmos/ibc-go/v3/modules/core/02-client/types"
95
- porttypes "github.com/cosmos/ibc-go/v3/modules/core/05-port/types"
96
- ibchost "github.com/cosmos/ibc-go/v3/modules/core/24-host"
97
- ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper"
81
+ ica "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts"
82
+
83
+ icahost "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/host"
84
+ icahostkeeper "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/host/keeper"
85
+ icahosttypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/host/types"
86
+ icatypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/types"
87
+ "github.com/cosmos/ibc-go/v4/modules/apps/transfer"
88
+ ibctransferkeeper "github.com/cosmos/ibc-go/v4/modules/apps/transfer/keeper"
89
+ ibctransfertypes "github.com/cosmos/ibc-go/v4/modules/apps/transfer/types"
90
+ ibc "github.com/cosmos/ibc-go/v4/modules/core"
91
+ ibcclient "github.com/cosmos/ibc-go/v4/modules/core/02-client"
92
+ ibcclientclient "github.com/cosmos/ibc-go/v4/modules/core/02-client/client"
93
+ ibcclienttypes "github.com/cosmos/ibc-go/v4/modules/core/02-client/types"
94
+ porttypes "github.com/cosmos/ibc-go/v4/modules/core/05-port/types"
95
+ ibchost "github.com/cosmos/ibc-go/v4/modules/core/24-host"
96
+ ibckeeper "github.com/cosmos/ibc-go/v4/modules/core/keeper"
98
97
  "github.com/gorilla/mux"
99
98
  "github.com/rakyll/statik/fs"
100
99
  "github.com/spf13/cast"
@@ -103,7 +102,6 @@ import (
103
102
  "github.com/tendermint/tendermint/libs/log"
104
103
  tmos "github.com/tendermint/tendermint/libs/os"
105
104
  tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
106
- tmtypes "github.com/tendermint/tendermint/types"
107
105
  dbm "github.com/tendermint/tm-db"
108
106
 
109
107
  gaiaappparams "github.com/Agoric/agoric-sdk/golang/cosmos/app/params"
@@ -160,7 +158,6 @@ var (
160
158
  swingsetclient.CoreEvalProposalHandler,
161
159
  ),
162
160
  params.AppModuleBasic{},
163
- crisis.AppModuleBasic{},
164
161
  slashing.AppModuleBasic{},
165
162
  feegrantmodule.AppModuleBasic{},
166
163
  authzmodule.AppModuleBasic{},
@@ -234,7 +231,6 @@ type GaiaApp struct { // nolint: golint
234
231
  MintKeeper mintkeeper.Keeper
235
232
  DistrKeeper distrkeeper.Keeper
236
233
  GovKeeper govkeeper.Keeper
237
- CrisisKeeper crisiskeeper.Keeper
238
234
  UpgradeKeeper upgradekeeper.Keeper
239
235
  ParamsKeeper paramskeeper.Keeper
240
236
  // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly
@@ -415,12 +411,6 @@ func NewAgoricApp(
415
411
  &stakingKeeper,
416
412
  app.GetSubspace(slashingtypes.ModuleName),
417
413
  )
418
- app.CrisisKeeper = crisiskeeper.NewKeeper(
419
- app.GetSubspace(crisistypes.ModuleName),
420
- invCheckPeriod,
421
- app.BankKeeper,
422
- vbanktypes.ReservePoolName,
423
- )
424
414
  app.UpgradeKeeper = upgradekeeper.NewKeeper(
425
415
  skipUpgradeHeights,
426
416
  keys[upgradetypes.StoreKey],
@@ -596,7 +586,6 @@ func NewAgoricApp(
596
586
 
597
587
  app.EvidenceKeeper = *evidenceKeeper
598
588
 
599
- skipGenesisInvariants := cast.ToBool(appOpts.Get(crisis.FlagSkipGenesisInvariants))
600
589
  swingStoreExportDir := cast.ToString(appOpts.Get(FlagSwingStoreExportDir))
601
590
 
602
591
  // NOTE: Any module instantiated in the module manager that is later modified
@@ -612,7 +601,6 @@ func NewAgoricApp(
612
601
  vesting.NewAppModule(app.AccountKeeper, app.BankKeeper, app.StakingKeeper),
613
602
  bank.NewAppModule(appCodec, app.BankKeeper, app.AccountKeeper),
614
603
  capability.NewAppModule(appCodec, *app.CapabilityKeeper),
615
- crisis.NewAppModule(&app.CrisisKeeper, skipGenesisInvariants),
616
604
  gov.NewAppModule(appCodec, app.GovKeeper, app.AccountKeeper, app.BankKeeper),
617
605
  mint.NewAppModule(appCodec, app.MintKeeper, app.AccountKeeper),
618
606
  slashing.NewAppModule(appCodec, app.SlashingKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper),
@@ -642,7 +630,6 @@ func NewAgoricApp(
642
630
  // upgrades should be run first
643
631
  upgradetypes.ModuleName,
644
632
  capabilitytypes.ModuleName,
645
- crisistypes.ModuleName,
646
633
  govtypes.ModuleName,
647
634
  stakingtypes.ModuleName,
648
635
  ibctransfertypes.ModuleName,
@@ -671,7 +658,6 @@ func NewAgoricApp(
671
658
  vibc.ModuleName,
672
659
  vbank.ModuleName,
673
660
  lien.ModuleName,
674
- crisistypes.ModuleName,
675
661
  govtypes.ModuleName,
676
662
  stakingtypes.ModuleName,
677
663
  ibctransfertypes.ModuleName,
@@ -712,7 +698,6 @@ func NewAgoricApp(
712
698
  slashingtypes.ModuleName,
713
699
  govtypes.ModuleName,
714
700
  minttypes.ModuleName,
715
- crisistypes.ModuleName,
716
701
  ibctransfertypes.ModuleName,
717
702
  ibchost.ModuleName,
718
703
  icatypes.ModuleName,
@@ -733,7 +718,6 @@ func NewAgoricApp(
733
718
  app.mm.SetOrderInitGenesis(moduleOrderForGenesisAndUpgrade...)
734
719
  app.mm.SetOrderMigrations(moduleOrderForGenesisAndUpgrade...)
735
720
 
736
- app.mm.RegisterInvariants(&app.CrisisKeeper)
737
721
  app.mm.RegisterRoutes(app.Router(), app.QueryRouter(), encodingConfig.Amino)
738
722
 
739
723
  app.configurator = module.NewConfigurator(app.appCodec, app.MsgServiceRouter(), app.GRPCQueryRouter())
@@ -792,19 +776,34 @@ func NewAgoricApp(
792
776
  app.SetEndBlocker(app.EndBlocker)
793
777
 
794
778
  const (
795
- upgradeName = "agoric-upgrade-12"
796
- upgradeNameTest = "agorictest-upgrade-12"
779
+ upgradeName = "agoric-upgrade-13"
780
+ upgradeNameTest = "agorictest-upgrade-13"
797
781
  )
798
782
 
799
783
  app.UpgradeKeeper.SetUpgradeHandler(
800
784
  upgradeName,
801
- upgrade12Handler(app, upgradeName),
785
+ upgrade13Handler(app, upgradeName),
802
786
  )
803
787
  app.UpgradeKeeper.SetUpgradeHandler(
804
788
  upgradeNameTest,
805
- upgrade12Handler(app, upgradeNameTest),
789
+ upgrade13Handler(app, upgradeNameTest),
806
790
  )
807
791
 
792
+ upgradeInfo, err := app.UpgradeKeeper.ReadUpgradeInfoFromDisk()
793
+ if err != nil {
794
+ panic(err)
795
+ }
796
+ if (upgradeInfo.Name == upgradeName || upgradeInfo.Name == upgradeNameTest) && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
797
+ storeUpgrades := storetypes.StoreUpgrades{
798
+ Deleted: []string{
799
+ crisistypes.ModuleName, // The SDK discontinued the crisis module in v0.51.0
800
+ },
801
+ }
802
+
803
+ // configure store loader that checks if version == upgradeHeight and applies store upgrades
804
+ app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storeUpgrades))
805
+ }
806
+
808
807
  if loadLatest {
809
808
  if err := app.LoadLatestVersion(); err != nil {
810
809
  tmos.Exit(fmt.Sprintf("failed to load latest version: %s", err))
@@ -825,24 +824,25 @@ func NewAgoricApp(
825
824
  return app
826
825
  }
827
826
 
828
- // upgrade12Handler performs standard upgrade actions plus custom actions for upgrade-12.
829
- func upgrade12Handler(app *GaiaApp, targetUpgrade string) func(sdk.Context, upgradetypes.Plan, module.VersionMap) (module.VersionMap, error) {
827
+ // upgrade13Handler performs standard upgrade actions plus custom actions for upgrade-13.
828
+ func upgrade13Handler(app *GaiaApp, targetUpgrade string) func(sdk.Context, upgradetypes.Plan, module.VersionMap) (module.VersionMap, error) {
830
829
  return func(ctx sdk.Context, plan upgradetypes.Plan, fromVm module.VersionMap) (module.VersionMap, error) {
831
830
  app.CheckControllerInited(false)
832
831
  // Record the plan to send to SwingSet
833
832
  app.upgradePlan = &plan
834
833
 
835
- // Reflect default BlockParams.MaxBytes change to current params
836
- cp := app.BaseApp.GetConsensusParams(ctx)
837
- cp.Block.MaxBytes = tmtypes.DefaultBlockParams().MaxBytes
838
- app.BaseApp.StoreConsensusParams(ctx, cp)
839
-
840
834
  // Always run module migrations
841
835
  mvm, err := app.mm.RunMigrations(ctx, app.configurator, fromVm)
842
836
  if err != nil {
843
837
  return mvm, err
844
838
  }
845
839
 
840
+ m := swingsetkeeper.NewMigrator(app.SwingSetKeeper)
841
+ err = m.MigrateParams(ctx)
842
+ if err != nil {
843
+ return mvm, err
844
+ }
845
+
846
846
  return mvm, nil
847
847
  }
848
848
  }
@@ -1177,7 +1177,6 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino
1177
1177
  paramsKeeper.Subspace(distrtypes.ModuleName)
1178
1178
  paramsKeeper.Subspace(slashingtypes.ModuleName)
1179
1179
  paramsKeeper.Subspace(govtypes.ModuleName).WithKeyTable(govtypes.ParamKeyTable())
1180
- paramsKeeper.Subspace(crisistypes.ModuleName)
1181
1180
  paramsKeeper.Subspace(ibctransfertypes.ModuleName)
1182
1181
  paramsKeeper.Subspace(ibchost.ModuleName)
1183
1182
  paramsKeeper.Subspace(icahosttypes.SubModuleName)
package/app/export.go CHANGED
@@ -65,9 +65,6 @@ func (app *GaiaApp) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs [
65
65
  allowedAddrsMap[addr] = true
66
66
  }
67
67
 
68
- /* Just to be safe, assert the invariants on current state. */
69
- app.CrisisKeeper.AssertInvariants(ctx)
70
-
71
68
  /* Handle fee distribution state. */
72
69
 
73
70
  // withdraw all validator commission
package/app/sim_test.go CHANGED
@@ -6,9 +6,9 @@ import (
6
6
  "os"
7
7
  "testing"
8
8
 
9
- gaia "github.com/cosmos/gaia/v7/app"
9
+ gaia "github.com/Agoric/agoric-sdk/golang/cosmos/app"
10
10
 
11
- "github.com/cosmos/gaia/v7/app/helpers"
11
+ "github.com/Agoric/agoric-sdk/golang/cosmos/app/helpers"
12
12
  "github.com/stretchr/testify/require"
13
13
  "github.com/tendermint/tendermint/libs/log"
14
14
  "github.com/tendermint/tendermint/libs/rand"
@@ -76,8 +76,8 @@ func interBlockCacheOpt() func(*baseapp.BaseApp) {
76
76
  return baseapp.SetInterBlockCache(store.NewCommitKVStoreCacheManager())
77
77
  }
78
78
 
79
- //// TODO: Make another test for the fuzzer itself, which just has noOp txs
80
- //// and doesn't depend on the application.
79
+ // // TODO: Make another test for the fuzzer itself, which just has noOp txs
80
+ // // and doesn't depend on the application.
81
81
  func TestAppStateDeterminism(t *testing.T) {
82
82
  if !simapp.FlagEnabledValue {
83
83
  t.Skip("skipping application simulation")
@@ -24,7 +24,6 @@ import (
24
24
  "github.com/cosmos/cosmos-sdk/x/auth/types"
25
25
  vestingcli "github.com/cosmos/cosmos-sdk/x/auth/vesting/client/cli"
26
26
  banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
27
- "github.com/cosmos/cosmos-sdk/x/crisis"
28
27
  genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
29
28
  "github.com/spf13/cast"
30
29
  "github.com/spf13/cobra"
@@ -155,7 +154,6 @@ func initRootCmd(sender Sender, rootCmd *cobra.Command, encodingConfig params.En
155
154
  }
156
155
 
157
156
  func addModuleInitFlags(startCmd *cobra.Command) {
158
- crisis.AddModuleInitFlags(startCmd)
159
157
  }
160
158
 
161
159
  func queryCommand() *cobra.Command {
package/git-revision.txt CHANGED
@@ -1 +1 @@
1
- cfa7cb2
1
+ b0c1f78
package/go.mod CHANGED
@@ -3,10 +3,9 @@ module github.com/Agoric/agoric-sdk/golang/cosmos
3
3
  go 1.20
4
4
 
5
5
  require (
6
- github.com/armon/go-metrics v0.4.0
7
- github.com/cosmos/cosmos-sdk v0.45.11
8
- github.com/cosmos/gaia/v7 v7.0.0-00010101000000-000000000000
9
- github.com/cosmos/ibc-go/v3 v3.4.0
6
+ github.com/armon/go-metrics v0.4.1
7
+ github.com/cosmos/cosmos-sdk v0.45.16
8
+ github.com/cosmos/ibc-go/v4 v4.5.1
10
9
  github.com/gogo/protobuf v1.3.3
11
10
  github.com/golang/protobuf v1.5.2
12
11
  github.com/gorilla/mux v1.8.0
@@ -14,46 +13,59 @@ require (
14
13
  github.com/pkg/errors v0.9.1
15
14
  github.com/rakyll/statik v0.1.7
16
15
  github.com/spf13/cast v1.5.0
17
- github.com/spf13/cobra v1.6.0
18
- github.com/spf13/viper v1.13.0
19
- github.com/stretchr/testify v1.8.0
20
- github.com/tendermint/tendermint v0.34.23
16
+ github.com/spf13/cobra v1.6.1
17
+ github.com/spf13/viper v1.14.0
18
+ github.com/stretchr/testify v1.8.1
19
+ github.com/tendermint/tendermint v0.34.27
21
20
  github.com/tendermint/tm-db v0.6.7
22
- google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a
23
- google.golang.org/grpc v1.50.1
21
+ google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa
22
+ google.golang.org/grpc v1.52.3
24
23
  gopkg.in/yaml.v2 v2.4.0
25
24
  )
26
25
 
27
26
  require (
28
- filippo.io/edwards25519 v1.0.0-beta.2 // indirect
29
- github.com/99designs/keyring v1.1.6 // indirect
27
+ cosmossdk.io/api v0.2.6 // indirect
28
+ cosmossdk.io/core v0.5.1 // indirect
29
+ cosmossdk.io/depinject v1.0.0-alpha.3 // indirect
30
+ filippo.io/edwards25519 v1.0.0-rc.1 // indirect
31
+ github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
32
+ github.com/99designs/keyring v1.2.1 // indirect
30
33
  github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d // indirect
31
- github.com/DataDog/zstd v1.4.5 // indirect
34
+ github.com/DataDog/zstd v1.5.0 // indirect
35
+ github.com/HdrHistogram/hdrhistogram-go v1.1.2 // indirect
32
36
  github.com/Workiva/go-datastructures v1.0.53 // indirect
33
37
  github.com/beorn7/perks v1.0.1 // indirect
34
- github.com/bgentry/speakeasy v0.1.0 // indirect
35
- github.com/btcsuite/btcd v0.22.1 // indirect
38
+ github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect
39
+ github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
36
40
  github.com/cespare/xxhash v1.1.0 // indirect
37
41
  github.com/cespare/xxhash/v2 v2.1.2 // indirect
38
- github.com/coinbase/rosetta-sdk-go v0.7.0 // indirect
39
- github.com/confio/ics23/go v0.7.0 // indirect
42
+ github.com/cockroachdb/errors v1.9.1 // indirect
43
+ github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
44
+ github.com/cockroachdb/pebble v0.0.0-20220817183557-09c6e030a677 // indirect
45
+ github.com/cockroachdb/redact v1.1.3 // indirect
46
+ github.com/coinbase/rosetta-sdk-go v0.7.9 // indirect
47
+ github.com/cometbft/cometbft-db v0.7.0 // indirect
48
+ github.com/confio/ics23/go v0.9.1 // indirect
40
49
  github.com/cosmos/btcutil v1.0.4 // indirect
50
+ github.com/cosmos/cosmos-db v0.0.0-20221226095112-f3c38ecb5e32 // indirect
51
+ github.com/cosmos/cosmos-proto v1.0.0-beta.1 // indirect
41
52
  github.com/cosmos/go-bip39 v1.0.0 // indirect
42
53
  github.com/cosmos/gorocksdb v1.2.0 // indirect
43
- github.com/cosmos/iavl v0.19.4 // indirect
44
- github.com/cosmos/ledger-cosmos-go v0.11.1 // indirect
45
- github.com/cosmos/ledger-go v0.9.2 // indirect
54
+ github.com/cosmos/iavl v0.19.5 // indirect
55
+ github.com/cosmos/ledger-cosmos-go v0.12.2 // indirect
46
56
  github.com/creachadair/taskgroup v0.3.2 // indirect
47
- github.com/danieljoos/wincred v1.1.0 // indirect
57
+ github.com/danieljoos/wincred v1.1.2 // indirect
48
58
  github.com/davecgh/go-spew v1.1.1 // indirect
59
+ github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
49
60
  github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
50
- github.com/dgraph-io/badger/v2 v2.2007.2 // indirect
61
+ github.com/dgraph-io/badger/v2 v2.2007.4 // indirect
51
62
  github.com/dgraph-io/ristretto v0.0.3 // indirect
52
63
  github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
53
64
  github.com/dustin/go-humanize v1.0.0 // indirect
54
- github.com/dvsekhvalnov/jose2go v0.0.0-20200901110807-248326c1351b // indirect
65
+ github.com/dvsekhvalnov/jose2go v1.5.0 // indirect
55
66
  github.com/felixge/httpsnoop v1.0.2 // indirect
56
- github.com/fsnotify/fsnotify v1.5.4 // indirect
67
+ github.com/fsnotify/fsnotify v1.6.0 // indirect
68
+ github.com/getsentry/sentry-go v0.17.0 // indirect
57
69
  github.com/ghodss/yaml v1.0.0 // indirect
58
70
  github.com/go-kit/kit v0.12.0 // indirect
59
71
  github.com/go-kit/log v0.2.1 // indirect
@@ -62,7 +74,7 @@ require (
62
74
  github.com/gogo/gateway v1.1.0 // indirect
63
75
  github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
64
76
  github.com/golang/snappy v0.0.4 // indirect
65
- github.com/google/btree v1.0.1 // indirect
77
+ github.com/google/btree v1.1.2 // indirect
66
78
  github.com/google/gofuzz v1.2.0 // indirect
67
79
  github.com/google/orderedcode v0.0.1 // indirect
68
80
  github.com/gorilla/handlers v1.5.1 // indirect
@@ -72,16 +84,18 @@ require (
72
84
  github.com/gtank/merlin v0.1.1 // indirect
73
85
  github.com/gtank/ristretto255 v0.1.2 // indirect
74
86
  github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
75
- github.com/hashicorp/golang-lru v0.5.4 // indirect
87
+ github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect
76
88
  github.com/hashicorp/hcl v1.0.0 // indirect
77
- github.com/hdevalence/ed25519consensus v0.0.0-20210204194344-59a8610d2b87 // indirect
89
+ github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3 // indirect
78
90
  github.com/improbable-eng/grpc-web v0.14.1 // indirect
79
91
  github.com/inconshreveable/mousetrap v1.0.1 // indirect
80
92
  github.com/jmhodges/levigo v1.0.0 // indirect
81
- github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d // indirect
82
93
  github.com/klauspost/compress v1.15.11 // indirect
94
+ github.com/kr/pretty v0.3.1 // indirect
95
+ github.com/kr/text v0.2.0 // indirect
83
96
  github.com/lib/pq v1.10.6 // indirect
84
97
  github.com/libp2p/go-buffer-pool v0.1.0 // indirect
98
+ github.com/linxGnu/grocksdb v1.7.10 // indirect
85
99
  github.com/magiconair/properties v1.8.6 // indirect
86
100
  github.com/mattn/go-colorable v0.1.13 // indirect
87
101
  github.com/mattn/go-isatty v0.0.16 // indirect
@@ -94,27 +108,29 @@ require (
94
108
  github.com/pelletier/go-toml/v2 v2.0.5 // indirect
95
109
  github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect
96
110
  github.com/pmezard/go-difflib v1.0.0 // indirect
97
- github.com/prometheus/client_golang v1.12.2 // indirect
98
- github.com/prometheus/client_model v0.2.0 // indirect
99
- github.com/prometheus/common v0.34.0 // indirect
111
+ github.com/prometheus/client_golang v1.14.0 // indirect
112
+ github.com/prometheus/client_model v0.3.0 // indirect
113
+ github.com/prometheus/common v0.37.0 // indirect
100
114
  github.com/prometheus/procfs v0.8.0 // indirect
101
115
  github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
102
116
  github.com/regen-network/cosmos-proto v0.3.1 // indirect
117
+ github.com/rogpeppe/go-internal v1.9.0 // indirect
103
118
  github.com/rs/cors v1.8.2 // indirect
104
119
  github.com/rs/zerolog v1.27.0 // indirect
105
120
  github.com/sasha-s/go-deadlock v0.3.1 // indirect
106
- github.com/spf13/afero v1.8.2 // indirect
121
+ github.com/spf13/afero v1.9.2 // indirect
107
122
  github.com/spf13/jwalterweatherman v1.1.0 // indirect
108
123
  github.com/spf13/pflag v1.0.5 // indirect
109
124
  github.com/subosito/gotenv v1.4.1 // indirect
110
125
  github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
111
- github.com/tendermint/btcd v0.1.1 // indirect
112
- github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 // indirect
126
+ github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c // indirect
113
127
  github.com/tendermint/go-amino v0.16.0 // indirect
114
- github.com/zondax/hid v0.9.0 // indirect
128
+ github.com/tidwall/btree v1.5.0 // indirect
129
+ github.com/zondax/hid v0.9.1 // indirect
130
+ github.com/zondax/ledger-go v0.14.1 // indirect
115
131
  go.etcd.io/bbolt v1.3.6 // indirect
116
- golang.org/x/crypto v0.1.0 // indirect
117
- golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
132
+ golang.org/x/crypto v0.5.0 // indirect
133
+ golang.org/x/exp v0.0.0-20221019170559-20944726eadf // indirect
118
134
  golang.org/x/net v0.7.0 // indirect
119
135
  golang.org/x/sys v0.5.0 // indirect
120
136
  golang.org/x/term v0.5.0 // indirect
@@ -125,14 +141,11 @@ require (
125
141
  nhooyr.io/websocket v1.8.6 // indirect
126
142
  )
127
143
 
128
- // Silence a warning on MacOS
129
- replace github.com/keybase/go-keychain => github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4
130
-
131
144
  // At least until post-v0.9.0 is released with
132
145
  // https://github.com/Zondax/hid/issues/4 resolved.
133
146
  replace github.com/zondax/hid => github.com/zondax/hid v0.9.1-0.20220302062450-5552068d2266
134
147
 
135
- replace github.com/99designs/keyring => github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76
148
+ replace github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0
136
149
 
137
150
  replace github.com/confio/ics23/go => github.com/agoric-labs/cosmos-sdk/ics23/go v0.8.0-alpha.agoric.1
138
151
 
@@ -142,14 +155,11 @@ replace google.golang.org/grpc => google.golang.org/grpc v1.33.2
142
155
 
143
156
  // At least until post-v0.34.14 is released with
144
157
  // https://github.com/tendermint/tendermint/issue/6899 resolved.
145
- replace github.com/tendermint/tendermint => github.com/agoric-labs/tendermint v0.34.23-alpha.agoric.4
158
+ replace github.com/tendermint/tendermint => github.com/agoric-labs/cometbft v0.34.27-alpha.agoric.3
146
159
 
147
160
  // We need a fork of cosmos-sdk until all of the differences are merged.
148
- replace github.com/cosmos/cosmos-sdk => github.com/agoric-labs/cosmos-sdk v0.45.11-alpha.agoric.4
149
-
150
- replace github.com/cosmos/gaia/v7 => github.com/Agoric/ag0/v7 v7.0.2-alpha.agoric.1
161
+ replace github.com/cosmos/cosmos-sdk => github.com/agoric-labs/cosmos-sdk v0.45.16-alpha.agoric.3
151
162
 
152
163
  // For testing against a local cosmos-sdk or tendermint
153
164
  // replace github.com/cosmos/cosmos-sdk => ../../../forks/cosmos-sdk
154
-
155
165
  // replace github.com/tendermint/tendermint => ../../../forks/tendermint