@agoric/cosmos 0.35.0-upgrade-14-dev-8be87aa.0 → 0.35.0-upgrade-14-dev-c8f9e7b.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/Makefile +25 -12
- package/ante/ante.go +7 -5
- package/app/app.go +62 -47
- package/app/export.go +13 -6
- package/cmd/agd/main.go +5 -3
- package/cmd/libdaemon/main.go +5 -2
- package/daemon/cmd/genaccounts.go +13 -9
- package/daemon/cmd/root.go +27 -11
- package/daemon/cmd/root_test.go +1 -1
- package/daemon/cmd/testnet.go +17 -6
- package/daemon/main.go +3 -2
- package/git-revision.txt +1 -1
- package/go.mod +95 -64
- package/go.sum +592 -243
- package/package.json +2 -2
- package/proto/agoric/vstorage/query.proto +53 -1
- package/scripts/protocgen.sh +12 -1
- package/third_party/proto/buf.yaml +1 -0
- package/third_party/proto/cosmos/base/query/v1beta1/pagination.proto +4 -1
- package/third_party/proto/cosmos/base/v1beta1/coin.proto +7 -4
- package/third_party/proto/cosmos/upgrade/v1beta1/upgrade.proto +16 -6
- package/third_party/proto/cosmos_proto/cosmos.proto +97 -0
- package/third_party/proto/google/api/annotations.proto +1 -1
- package/third_party/proto/google/api/http.proto +181 -120
- package/third_party/proto/google/api/httpbody.proto +9 -6
- package/third_party/proto/google/protobuf/any.proto +1 -7
- package/third_party/proto/ibc/core/channel/v1/channel.proto +15 -1
- package/third_party/proto/ibc/core/client/v1/client.proto +9 -6
- package/upgradegaia.sh +13 -4
- package/vm/action.go +24 -21
- package/vm/action_test.go +5 -5
- package/vm/controller.go +9 -10
- package/x/lien/keeper/account.go +3 -3
- package/x/lien/keeper/keeper.go +5 -4
- package/x/lien/keeper/keeper_test.go +8 -8
- package/x/lien/lien.go +6 -4
- package/x/lien/lien_test.go +20 -16
- package/x/swingset/client/cli/query.go +2 -2
- package/x/swingset/client/cli/tx.go +48 -33
- package/x/swingset/client/proposal_handler.go +2 -17
- package/x/swingset/keeper/keeper.go +8 -11
- package/x/swingset/keeper/keeper_test.go +1 -1
- package/x/swingset/keeper/msg_server.go +2 -4
- package/x/swingset/keeper/proposal.go +10 -0
- package/x/swingset/keeper/querier.go +14 -6
- package/x/swingset/proposal_handler.go +3 -3
- package/x/swingset/swingset.go +4 -2
- package/x/swingset/types/codec.go +2 -2
- package/x/swingset/types/msgs.pb.go +16 -16
- package/x/swingset/types/proposal.go +5 -5
- package/x/swingset/types/types.go +30 -28
- package/x/vbank/keeper/keeper.go +3 -2
- package/x/vbank/keeper/querier.go +6 -2
- package/x/vbank/keeper/rewards.go +1 -1
- package/x/vbank/vbank.go +11 -10
- package/x/vbank/vbank_test.go +8 -8
- package/x/vibc/ibc.go +27 -26
- package/x/vibc/keeper/keeper.go +19 -18
- package/x/vibc/types/expected_keepers.go +13 -5
- package/x/vibc/types/msgs.go +1 -1
- package/x/vibc/types/msgs.pb.go +1 -1
- package/x/vstorage/README.md +138 -0
- package/x/vstorage/capdata/capdata.go +298 -0
- package/x/vstorage/capdata/capdata_test.go +352 -0
- package/x/vstorage/client/cli/query.go +51 -4
- package/x/vstorage/keeper/grpc_query.go +221 -0
- package/x/vstorage/keeper/keeper.go +3 -2
- package/x/vstorage/keeper/keeper_grpc_test.go +300 -0
- package/x/vstorage/keeper/keeper_test.go +1 -1
- package/x/vstorage/keeper/querier.go +6 -2
- package/x/vstorage/types/query.pb.go +646 -36
- package/x/vstorage/types/query.pb.gw.go +119 -0
- package/x/vstorage/vstorage.go +16 -15
- package/x/vstorage/vstorage_test.go +5 -5
package/daemon/cmd/root.go
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
package cmd
|
|
2
2
|
|
|
3
3
|
import (
|
|
4
|
+
"context"
|
|
4
5
|
"errors"
|
|
5
6
|
"io"
|
|
6
7
|
"os"
|
|
@@ -18,6 +19,7 @@ import (
|
|
|
18
19
|
"github.com/cosmos/cosmos-sdk/server"
|
|
19
20
|
servertypes "github.com/cosmos/cosmos-sdk/server/types"
|
|
20
21
|
"github.com/cosmos/cosmos-sdk/snapshots"
|
|
22
|
+
snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types"
|
|
21
23
|
"github.com/cosmos/cosmos-sdk/store"
|
|
22
24
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
23
25
|
authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli"
|
|
@@ -28,6 +30,7 @@ import (
|
|
|
28
30
|
"github.com/spf13/cast"
|
|
29
31
|
"github.com/spf13/cobra"
|
|
30
32
|
"github.com/spf13/viper"
|
|
33
|
+
tmcfg "github.com/tendermint/tendermint/config"
|
|
31
34
|
tmcli "github.com/tendermint/tendermint/libs/cli"
|
|
32
35
|
"github.com/tendermint/tendermint/libs/log"
|
|
33
36
|
dbm "github.com/tendermint/tm-db"
|
|
@@ -37,11 +40,11 @@ import (
|
|
|
37
40
|
)
|
|
38
41
|
|
|
39
42
|
// Sender is a function that sends a request to the controller.
|
|
40
|
-
type Sender func(needReply bool, str string) (string, error)
|
|
43
|
+
type Sender func(ctx context.Context, needReply bool, str string) (string, error)
|
|
41
44
|
|
|
42
45
|
var AppName = "agd"
|
|
43
|
-
var OnStartHook func(
|
|
44
|
-
var OnExportHook func(
|
|
46
|
+
var OnStartHook func(log.Logger, servertypes.AppOptions) error
|
|
47
|
+
var OnExportHook func(log.Logger, servertypes.AppOptions) error
|
|
45
48
|
|
|
46
49
|
// NewRootCmd creates a new root command for simd. It is called once in the
|
|
47
50
|
// main function.
|
|
@@ -59,7 +62,7 @@ func NewRootCmd(sender Sender) (*cobra.Command, params.EncodingConfig) {
|
|
|
59
62
|
|
|
60
63
|
rootCmd := &cobra.Command{
|
|
61
64
|
Use: AppName,
|
|
62
|
-
Short: "
|
|
65
|
+
Short: "Agoric Cosmos App",
|
|
63
66
|
PersistentPreRunE: func(cmd *cobra.Command, _ []string) error {
|
|
64
67
|
// set the default command outputs
|
|
65
68
|
cmd.SetOut(cmd.OutOrStdout())
|
|
@@ -80,7 +83,8 @@ func NewRootCmd(sender Sender) (*cobra.Command, params.EncodingConfig) {
|
|
|
80
83
|
}
|
|
81
84
|
|
|
82
85
|
customAppTemplate, customAppConfig := initAppConfig()
|
|
83
|
-
|
|
86
|
+
customTMConfig := initTendermintConfig()
|
|
87
|
+
return server.InterceptConfigsPreRunHandler(cmd, customAppTemplate, customAppConfig, customTMConfig)
|
|
84
88
|
},
|
|
85
89
|
}
|
|
86
90
|
|
|
@@ -89,6 +93,12 @@ func NewRootCmd(sender Sender) (*cobra.Command, params.EncodingConfig) {
|
|
|
89
93
|
return rootCmd, encodingConfig
|
|
90
94
|
}
|
|
91
95
|
|
|
96
|
+
func initTendermintConfig() *tmcfg.Config {
|
|
97
|
+
cfg := tmcfg.DefaultConfig()
|
|
98
|
+
// customize config here
|
|
99
|
+
return cfg
|
|
100
|
+
}
|
|
101
|
+
|
|
92
102
|
// initAppConfig helps to override default appConfig template and configs.
|
|
93
103
|
// return "", nil if no custom configuration is required for the application.
|
|
94
104
|
func initAppConfig() (string, interface{}) {
|
|
@@ -121,7 +131,7 @@ func initRootCmd(sender Sender, rootCmd *cobra.Command, encodingConfig params.En
|
|
|
121
131
|
genutilcli.CollectGenTxsCmd(banktypes.GenesisBalancesIterator{}, gaia.DefaultNodeHome),
|
|
122
132
|
genutilcli.GenTxCmd(gaia.ModuleBasics, encodingConfig.TxConfig, banktypes.GenesisBalancesIterator{}, gaia.DefaultNodeHome),
|
|
123
133
|
genutilcli.ValidateGenesisCmd(gaia.ModuleBasics),
|
|
124
|
-
AddGenesisAccountCmd(gaia.DefaultNodeHome),
|
|
134
|
+
AddGenesisAccountCmd(encodingConfig.Marshaler, gaia.DefaultNodeHome),
|
|
125
135
|
tmcli.NewCompletionCmd(rootCmd, true),
|
|
126
136
|
testnetCmd(gaia.ModuleBasics, banktypes.GenesisBalancesIterator{}),
|
|
127
137
|
debug.Cmd(),
|
|
@@ -221,7 +231,9 @@ func (ac appCreator) newApp(
|
|
|
221
231
|
appOpts servertypes.AppOptions,
|
|
222
232
|
) servertypes.Application {
|
|
223
233
|
if OnStartHook != nil {
|
|
224
|
-
OnStartHook(logger)
|
|
234
|
+
if err := OnStartHook(logger, appOpts); err != nil {
|
|
235
|
+
panic(err)
|
|
236
|
+
}
|
|
225
237
|
}
|
|
226
238
|
|
|
227
239
|
var cache sdk.MultiStorePersistentCache
|
|
@@ -258,6 +270,10 @@ func (ac appCreator) newApp(
|
|
|
258
270
|
if err != nil {
|
|
259
271
|
panic(err)
|
|
260
272
|
}
|
|
273
|
+
snapshotOptions := snapshottypes.NewSnapshotOptions(
|
|
274
|
+
cast.ToUint64(appOpts.Get(server.FlagStateSyncSnapshotInterval)),
|
|
275
|
+
cast.ToUint32(appOpts.Get(server.FlagStateSyncSnapshotKeepRecent)),
|
|
276
|
+
)
|
|
261
277
|
|
|
262
278
|
return gaia.NewAgoricApp(
|
|
263
279
|
ac.sender,
|
|
@@ -274,9 +290,7 @@ func (ac appCreator) newApp(
|
|
|
274
290
|
baseapp.SetInterBlockCache(cache),
|
|
275
291
|
baseapp.SetTrace(cast.ToBool(appOpts.Get(server.FlagTrace))),
|
|
276
292
|
baseapp.SetIndexEvents(cast.ToStringSlice(appOpts.Get(server.FlagIndexEvents))),
|
|
277
|
-
baseapp.
|
|
278
|
-
baseapp.SetSnapshotInterval(cast.ToUint64(appOpts.Get(server.FlagStateSyncSnapshotInterval))),
|
|
279
|
-
baseapp.SetSnapshotKeepRecent(cast.ToUint32(appOpts.Get(server.FlagStateSyncSnapshotKeepRecent))),
|
|
293
|
+
baseapp.SetSnapshot(snapshotStore, snapshotOptions),
|
|
280
294
|
)
|
|
281
295
|
}
|
|
282
296
|
|
|
@@ -358,7 +372,9 @@ func (ac appCreator) appExport(
|
|
|
358
372
|
appOpts servertypes.AppOptions,
|
|
359
373
|
) (servertypes.ExportedApp, error) {
|
|
360
374
|
if OnExportHook != nil {
|
|
361
|
-
OnExportHook(logger)
|
|
375
|
+
if err := OnExportHook(logger, appOpts); err != nil {
|
|
376
|
+
return servertypes.ExportedApp{}, err
|
|
377
|
+
}
|
|
362
378
|
}
|
|
363
379
|
|
|
364
380
|
homePath, ok := appOpts.Get(flags.FlagHome).(string)
|
package/daemon/cmd/root_test.go
CHANGED
package/daemon/cmd/testnet.go
CHANGED
|
@@ -37,7 +37,7 @@ import (
|
|
|
37
37
|
|
|
38
38
|
var (
|
|
39
39
|
flagNodeDirPrefix = "node-dir-prefix"
|
|
40
|
-
flagNumValidators = "
|
|
40
|
+
flagNumValidators = "validator-count"
|
|
41
41
|
flagOutputDir = "output-dir"
|
|
42
42
|
flagNodeDaemonHome = "node-daemon-home"
|
|
43
43
|
flagStartingIPAddress = "starting-ip-address"
|
|
@@ -48,13 +48,13 @@ func testnetCmd(mbm module.BasicManager, genBalIterator banktypes.GenesisBalance
|
|
|
48
48
|
cmd := &cobra.Command{
|
|
49
49
|
Use: "testnet",
|
|
50
50
|
Short: fmt.Sprintf("Initialize files for a %s testnet", AppName),
|
|
51
|
-
Long: `testnet will create
|
|
51
|
+
Long: `testnet will create one directory per validator and populate each with
|
|
52
52
|
necessary files (private validator, genesis, config, etc.).
|
|
53
53
|
|
|
54
54
|
Note, strict routability for addresses is turned off in the config file.
|
|
55
55
|
|
|
56
56
|
Example:
|
|
57
|
-
agd testnet
|
|
57
|
+
agd testnet -n 4 --output-dir ./output --starting-ip-address 192.168.10.2
|
|
58
58
|
`,
|
|
59
59
|
RunE: func(cmd *cobra.Command, _ []string) error {
|
|
60
60
|
clientCtx, err := client.GetClientQueryContext(cmd)
|
|
@@ -74,6 +74,13 @@ Example:
|
|
|
74
74
|
numValidators, _ := cmd.Flags().GetInt(flagNumValidators)
|
|
75
75
|
algo, _ := cmd.Flags().GetString(flags.FlagKeyAlgorithm)
|
|
76
76
|
|
|
77
|
+
if cmd.Flags().Changed("v") {
|
|
78
|
+
if cmd.Flags().Changed(flagNumValidators) {
|
|
79
|
+
return fmt.Errorf("--%s and --v are mutually exclusive", flagNumValidators)
|
|
80
|
+
}
|
|
81
|
+
numValidators, _ = cmd.Flags().GetInt("v")
|
|
82
|
+
}
|
|
83
|
+
|
|
77
84
|
return InitTestnet(
|
|
78
85
|
clientCtx, cmd, config, mbm, genBalIterator, outputDir, chainID, minGasPrices,
|
|
79
86
|
nodeDirPrefix, nodeDaemonHome, startingIPAddress, keyringBackend, algo, numValidators,
|
|
@@ -81,9 +88,13 @@ Example:
|
|
|
81
88
|
},
|
|
82
89
|
}
|
|
83
90
|
|
|
84
|
-
cmd.Flags().
|
|
91
|
+
cmd.Flags().IntP(flagNumValidators, "n", 4, "Number of validators to initialize the testnet with")
|
|
92
|
+
cmd.Flags().Int("v", 4, fmt.Sprintf("Alias for --%s", flagNumValidators))
|
|
93
|
+
if vFlag := cmd.Flags().Lookup("v"); vFlag != nil {
|
|
94
|
+
vFlag.Deprecated = fmt.Sprintf("use --%s", flagNumValidators)
|
|
95
|
+
}
|
|
85
96
|
cmd.Flags().StringP(flagOutputDir, "o", "./mytestnet", "Directory to store initialization data for the testnet")
|
|
86
|
-
cmd.Flags().String(flagNodeDirPrefix, "node", "Prefix the
|
|
97
|
+
cmd.Flags().String(flagNodeDirPrefix, "node", "Prefix for the name of per-validator subdirectories (to be number-suffixed like node0, node1, ...)")
|
|
87
98
|
cmd.Flags().String(flagNodeDaemonHome, AppName, "Home directory of the node's daemon configuration")
|
|
88
99
|
cmd.Flags().String(flagStartingIPAddress, "192.168.0.1", "Starting IP address (192.168.0.1 results in persistent peers list ID0@192.168.0.1:46656, ID1@192.168.0.2:46656, ...)")
|
|
89
100
|
cmd.Flags().String(flags.FlagChainID, "", "genesis file chain-id, if left blank will be randomly created")
|
|
@@ -167,7 +178,7 @@ func InitTestnet(
|
|
|
167
178
|
memo := fmt.Sprintf("%s@%s:26656", nodeIDs[i], ip)
|
|
168
179
|
genFiles = append(genFiles, nodeConfig.GenesisFile())
|
|
169
180
|
|
|
170
|
-
kb, err := keyring.New(sdk.KeyringServiceName(), keyringBackend, nodeDir, inBuf)
|
|
181
|
+
kb, err := keyring.New(sdk.KeyringServiceName(), keyringBackend, nodeDir, inBuf, clientCtx.Codec)
|
|
171
182
|
if err != nil {
|
|
172
183
|
return err
|
|
173
184
|
}
|
package/daemon/main.go
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
package daemon
|
|
2
2
|
|
|
3
3
|
import (
|
|
4
|
+
"context"
|
|
4
5
|
"fmt"
|
|
5
6
|
"os"
|
|
6
7
|
"os/signal"
|
|
@@ -17,7 +18,7 @@ import (
|
|
|
17
18
|
)
|
|
18
19
|
|
|
19
20
|
// DefaultController is a stub controller.
|
|
20
|
-
var DefaultController = func(needReply bool, str string) (string, error) {
|
|
21
|
+
var DefaultController = func(ctx context.Context, needReply bool, str string) (string, error) {
|
|
21
22
|
return "", fmt.Errorf("Controller not configured; did you mean to use `ag-chain-cosmos` instead?")
|
|
22
23
|
}
|
|
23
24
|
|
|
@@ -42,7 +43,7 @@ func RunWithController(sendToController cmd.Sender) {
|
|
|
42
43
|
config.Seal()
|
|
43
44
|
|
|
44
45
|
rootCmd, _ := cmd.NewRootCmd(sendToController)
|
|
45
|
-
if err := svrcmd.Execute(rootCmd, app.DefaultNodeHome); err != nil {
|
|
46
|
+
if err := svrcmd.Execute(rootCmd, "", app.DefaultNodeHome); err != nil {
|
|
46
47
|
switch e := err.(type) {
|
|
47
48
|
case server.ErrorCode:
|
|
48
49
|
os.Exit(e.Code)
|
package/git-revision.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c8f9e7b
|
package/go.mod
CHANGED
|
@@ -3,11 +3,12 @@ module github.com/Agoric/agoric-sdk/golang/cosmos
|
|
|
3
3
|
go 1.20
|
|
4
4
|
|
|
5
5
|
require (
|
|
6
|
+
cosmossdk.io/math v1.0.0-rc.0
|
|
6
7
|
github.com/armon/go-metrics v0.4.1
|
|
7
|
-
github.com/cosmos/cosmos-sdk v0.
|
|
8
|
-
github.com/cosmos/ibc-go/
|
|
8
|
+
github.com/cosmos/cosmos-sdk v0.46.16
|
|
9
|
+
github.com/cosmos/ibc-go/v6 v6.2.1
|
|
9
10
|
github.com/gogo/protobuf v1.3.3
|
|
10
|
-
github.com/golang/protobuf v1.5.
|
|
11
|
+
github.com/golang/protobuf v1.5.3
|
|
11
12
|
github.com/gorilla/mux v1.8.0
|
|
12
13
|
github.com/grpc-ecosystem/grpc-gateway v1.16.0
|
|
13
14
|
github.com/pkg/errors v0.9.1
|
|
@@ -15,151 +16,181 @@ require (
|
|
|
15
16
|
github.com/spf13/cast v1.5.0
|
|
16
17
|
github.com/spf13/cobra v1.6.1
|
|
17
18
|
github.com/spf13/viper v1.14.0
|
|
18
|
-
github.com/stretchr/testify v1.8.
|
|
19
|
-
github.com/tendermint/tendermint v0.34.
|
|
19
|
+
github.com/stretchr/testify v1.8.2
|
|
20
|
+
github.com/tendermint/tendermint v0.34.29
|
|
20
21
|
github.com/tendermint/tm-db v0.6.7
|
|
21
|
-
google.golang.org/genproto v0.0.0-
|
|
22
|
-
google.golang.org/grpc v1.
|
|
22
|
+
google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98
|
|
23
|
+
google.golang.org/grpc v1.58.3
|
|
23
24
|
gopkg.in/yaml.v2 v2.4.0
|
|
24
25
|
)
|
|
25
26
|
|
|
26
27
|
require (
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
cloud.google.com/go v0.110.4 // indirect
|
|
29
|
+
cloud.google.com/go/compute v1.21.0 // indirect
|
|
30
|
+
cloud.google.com/go/compute/metadata v0.2.3 // indirect
|
|
31
|
+
cloud.google.com/go/iam v1.1.1 // indirect
|
|
32
|
+
cloud.google.com/go/storage v1.30.1 // indirect
|
|
33
|
+
cosmossdk.io/errors v1.0.0-beta.7 // indirect
|
|
30
34
|
filippo.io/edwards25519 v1.0.0-rc.1 // indirect
|
|
31
35
|
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
|
|
32
36
|
github.com/99designs/keyring v1.2.1 // indirect
|
|
33
|
-
github.com/ChainSafe/go-schnorrkel
|
|
34
|
-
github.com/DataDog/zstd v1.5.0 // indirect
|
|
35
|
-
github.com/HdrHistogram/hdrhistogram-go v1.1.2 // indirect
|
|
37
|
+
github.com/ChainSafe/go-schnorrkel v1.0.0 // indirect
|
|
36
38
|
github.com/Workiva/go-datastructures v1.0.53 // indirect
|
|
39
|
+
github.com/aws/aws-sdk-go v1.44.122 // indirect
|
|
37
40
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
41
|
+
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
|
|
38
42
|
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect
|
|
39
43
|
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
|
|
44
|
+
github.com/cenkalti/backoff/v4 v4.1.3 // indirect
|
|
40
45
|
github.com/cespare/xxhash v1.1.0 // indirect
|
|
41
|
-
github.com/cespare/xxhash/v2 v2.
|
|
42
|
-
github.com/
|
|
43
|
-
github.com/cockroachdb/
|
|
44
|
-
github.com/cockroachdb/pebble v0.0.0-20220817183557-09c6e030a677 // indirect
|
|
45
|
-
github.com/cockroachdb/redact v1.1.3 // indirect
|
|
46
|
+
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
|
47
|
+
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
|
|
48
|
+
github.com/cockroachdb/apd/v2 v2.0.2 // indirect
|
|
46
49
|
github.com/coinbase/rosetta-sdk-go v0.7.9 // indirect
|
|
47
50
|
github.com/cometbft/cometbft-db v0.7.0 // indirect
|
|
48
51
|
github.com/confio/ics23/go v0.9.1 // indirect
|
|
49
|
-
github.com/cosmos/btcutil v1.0.
|
|
50
|
-
github.com/cosmos/cosmos-db v0.0.0-20221226095112-f3c38ecb5e32 // indirect
|
|
52
|
+
github.com/cosmos/btcutil v1.0.5 // indirect
|
|
51
53
|
github.com/cosmos/cosmos-proto v1.0.0-beta.1 // indirect
|
|
52
54
|
github.com/cosmos/go-bip39 v1.0.0 // indirect
|
|
53
55
|
github.com/cosmos/gorocksdb v1.2.0 // indirect
|
|
54
|
-
github.com/cosmos/iavl v0.19.
|
|
55
|
-
github.com/cosmos/ledger-cosmos-go v0.12.
|
|
56
|
+
github.com/cosmos/iavl v0.19.6 // indirect
|
|
57
|
+
github.com/cosmos/ledger-cosmos-go v0.12.4 // indirect
|
|
56
58
|
github.com/creachadair/taskgroup v0.3.2 // indirect
|
|
57
59
|
github.com/danieljoos/wincred v1.1.2 // indirect
|
|
58
60
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
59
|
-
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0
|
|
61
|
+
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
|
|
60
62
|
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
|
|
61
63
|
github.com/dgraph-io/badger/v2 v2.2007.4 // indirect
|
|
62
|
-
github.com/dgraph-io/ristretto v0.0
|
|
64
|
+
github.com/dgraph-io/ristretto v0.1.0 // indirect
|
|
63
65
|
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
|
|
64
66
|
github.com/dustin/go-humanize v1.0.0 // indirect
|
|
65
67
|
github.com/dvsekhvalnov/jose2go v1.5.0 // indirect
|
|
66
68
|
github.com/felixge/httpsnoop v1.0.2 // indirect
|
|
67
69
|
github.com/fsnotify/fsnotify v1.6.0 // indirect
|
|
68
|
-
github.com/getsentry/sentry-go v0.17.0 // indirect
|
|
69
70
|
github.com/ghodss/yaml v1.0.0 // indirect
|
|
71
|
+
github.com/gin-gonic/gin v1.8.1 // indirect
|
|
70
72
|
github.com/go-kit/kit v0.12.0 // indirect
|
|
71
73
|
github.com/go-kit/log v0.2.1 // indirect
|
|
72
74
|
github.com/go-logfmt/logfmt v0.5.1 // indirect
|
|
73
75
|
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
|
|
74
76
|
github.com/gogo/gateway v1.1.0 // indirect
|
|
75
|
-
github.com/golang/glog
|
|
77
|
+
github.com/golang/glog v1.1.0 // indirect
|
|
78
|
+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
76
79
|
github.com/golang/snappy v0.0.4 // indirect
|
|
77
80
|
github.com/google/btree v1.1.2 // indirect
|
|
81
|
+
github.com/google/go-cmp v0.5.9 // indirect
|
|
78
82
|
github.com/google/gofuzz v1.2.0 // indirect
|
|
79
83
|
github.com/google/orderedcode v0.0.1 // indirect
|
|
84
|
+
github.com/google/s2a-go v0.1.4 // indirect
|
|
85
|
+
github.com/google/uuid v1.3.0 // indirect
|
|
86
|
+
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
|
|
87
|
+
github.com/googleapis/gax-go/v2 v2.11.0 // indirect
|
|
80
88
|
github.com/gorilla/handlers v1.5.1 // indirect
|
|
81
89
|
github.com/gorilla/websocket v1.5.0 // indirect
|
|
82
90
|
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
|
|
83
91
|
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
|
|
84
92
|
github.com/gtank/merlin v0.1.1 // indirect
|
|
85
93
|
github.com/gtank/ristretto255 v0.1.2 // indirect
|
|
94
|
+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
|
95
|
+
github.com/hashicorp/go-getter v1.6.1 // indirect
|
|
86
96
|
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
|
|
97
|
+
github.com/hashicorp/go-safetemp v1.0.0 // indirect
|
|
98
|
+
github.com/hashicorp/go-version v1.6.0 // indirect
|
|
87
99
|
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect
|
|
88
100
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
|
89
101
|
github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3 // indirect
|
|
90
|
-
github.com/improbable-eng/grpc-web v0.
|
|
102
|
+
github.com/improbable-eng/grpc-web v0.15.0 // indirect
|
|
91
103
|
github.com/inconshreveable/mousetrap v1.0.1 // indirect
|
|
104
|
+
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
92
105
|
github.com/jmhodges/levigo v1.0.0 // indirect
|
|
93
|
-
github.com/klauspost/compress v1.
|
|
94
|
-
github.com/
|
|
95
|
-
github.com/kr/text v0.2.0 // indirect
|
|
96
|
-
github.com/lib/pq v1.10.6 // indirect
|
|
106
|
+
github.com/klauspost/compress v1.16.0 // indirect
|
|
107
|
+
github.com/lib/pq v1.10.7 // indirect
|
|
97
108
|
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
|
|
98
|
-
github.com/linxGnu/grocksdb v1.7.10 // indirect
|
|
99
109
|
github.com/magiconair/properties v1.8.6 // indirect
|
|
110
|
+
github.com/manifoldco/promptui v0.9.0 // indirect
|
|
100
111
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
101
|
-
github.com/mattn/go-isatty v0.0.
|
|
102
|
-
github.com/matttproud/golang_protobuf_extensions v1.0.
|
|
112
|
+
github.com/mattn/go-isatty v0.0.18 // indirect
|
|
113
|
+
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
|
|
103
114
|
github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect
|
|
104
115
|
github.com/minio/highwayhash v1.0.2 // indirect
|
|
116
|
+
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
|
117
|
+
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
|
|
105
118
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
|
106
119
|
github.com/mtibben/percent v0.2.1 // indirect
|
|
107
120
|
github.com/pelletier/go-toml v1.9.5 // indirect
|
|
108
|
-
github.com/pelletier/go-toml/v2 v2.0.
|
|
109
|
-
github.com/petermattis/goid v0.0.0-
|
|
121
|
+
github.com/pelletier/go-toml/v2 v2.0.7 // indirect
|
|
122
|
+
github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 // indirect
|
|
110
123
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
111
124
|
github.com/prometheus/client_golang v1.14.0 // indirect
|
|
112
125
|
github.com/prometheus/client_model v0.3.0 // indirect
|
|
113
|
-
github.com/prometheus/common v0.
|
|
114
|
-
github.com/prometheus/procfs v0.
|
|
126
|
+
github.com/prometheus/common v0.42.0 // indirect
|
|
127
|
+
github.com/prometheus/procfs v0.9.0 // indirect
|
|
115
128
|
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
|
|
116
129
|
github.com/regen-network/cosmos-proto v0.3.1 // indirect
|
|
117
|
-
github.com/rogpeppe/go-internal v1.9.0 // indirect
|
|
118
130
|
github.com/rs/cors v1.8.2 // indirect
|
|
119
|
-
github.com/rs/zerolog v1.
|
|
131
|
+
github.com/rs/zerolog v1.29.1 // indirect
|
|
120
132
|
github.com/sasha-s/go-deadlock v0.3.1 // indirect
|
|
121
133
|
github.com/spf13/afero v1.9.2 // indirect
|
|
122
134
|
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
|
123
135
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
124
136
|
github.com/subosito/gotenv v1.4.1 // indirect
|
|
125
|
-
github.com/syndtr/goleveldb v1.0.1-0.
|
|
137
|
+
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
|
|
126
138
|
github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c // indirect
|
|
127
139
|
github.com/tendermint/go-amino v0.16.0 // indirect
|
|
128
140
|
github.com/tidwall/btree v1.5.0 // indirect
|
|
129
|
-
github.com/
|
|
130
|
-
github.com/zondax/
|
|
141
|
+
github.com/ulikunitz/xz v0.5.10 // indirect
|
|
142
|
+
github.com/zondax/hid v0.9.2 // indirect
|
|
143
|
+
github.com/zondax/ledger-go v0.14.3 // indirect
|
|
131
144
|
go.etcd.io/bbolt v1.3.6 // indirect
|
|
132
|
-
|
|
133
|
-
golang.org/x/
|
|
134
|
-
golang.org/x/
|
|
135
|
-
golang.org/x/
|
|
136
|
-
golang.org/x/
|
|
137
|
-
golang.org/x/
|
|
138
|
-
|
|
145
|
+
go.opencensus.io v0.24.0 // indirect
|
|
146
|
+
golang.org/x/crypto v0.15.0 // indirect
|
|
147
|
+
golang.org/x/exp v0.0.0-20230310171629-522b1b587ee0 // indirect
|
|
148
|
+
golang.org/x/net v0.18.0 // indirect
|
|
149
|
+
golang.org/x/oauth2 v0.10.0 // indirect
|
|
150
|
+
golang.org/x/sync v0.3.0 // indirect
|
|
151
|
+
golang.org/x/sys v0.14.0 // indirect
|
|
152
|
+
golang.org/x/term v0.14.0 // indirect
|
|
153
|
+
golang.org/x/text v0.14.0 // indirect
|
|
154
|
+
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
|
155
|
+
google.golang.org/api v0.126.0 // indirect
|
|
156
|
+
google.golang.org/appengine v1.6.7 // indirect
|
|
157
|
+
google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98 // indirect
|
|
158
|
+
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect
|
|
159
|
+
google.golang.org/protobuf v1.31.0 // indirect
|
|
139
160
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
|
140
161
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
141
162
|
nhooyr.io/websocket v1.8.6 // indirect
|
|
163
|
+
sigs.k8s.io/yaml v1.3.0 // indirect
|
|
142
164
|
)
|
|
143
165
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
replace github.com/zondax/hid => github.com/zondax/hid v0.9.1-0.20220302062450-5552068d2266
|
|
166
|
+
replace (
|
|
167
|
+
github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0
|
|
147
168
|
|
|
148
|
-
|
|
169
|
+
github.com/confio/ics23/go => github.com/agoric-labs/cosmos-sdk/ics23/go v0.8.0-alpha.agoric.1
|
|
149
170
|
|
|
150
|
-
|
|
171
|
+
// We need a fork of cosmos-sdk until all of the differences are merged.
|
|
172
|
+
github.com/cosmos/cosmos-sdk => github.com/agoric-labs/cosmos-sdk v0.46.16-alpha.agoric.2
|
|
151
173
|
|
|
152
|
-
|
|
174
|
+
// https://pkg.go.dev/vuln/GO-2023-2409
|
|
175
|
+
github.com/dvsekhvalnov/jose2go => github.com/dvsekhvalnov/jose2go v1.5.1-0.20231206184617-48ba0b76bc88
|
|
153
176
|
|
|
154
|
-
|
|
177
|
+
// Fix upstream GHSA-3vp4-m3rf-835h vulnerability.
|
|
178
|
+
github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.9.0
|
|
155
179
|
|
|
156
|
-
|
|
157
|
-
// https://github.com/tendermint/tendermint/issue/6899 resolved.
|
|
158
|
-
replace github.com/tendermint/tendermint => github.com/agoric-labs/cometbft v0.34.27-alpha.agoric.3
|
|
180
|
+
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
|
|
159
181
|
|
|
160
|
-
//
|
|
161
|
-
|
|
182
|
+
// https://pkg.go.dev/vuln/GO-2023-1578
|
|
183
|
+
github.com/hashicorp/go-getter => github.com/hashicorp/go-getter v1.7.0
|
|
184
|
+
|
|
185
|
+
// replace broken goleveldb.
|
|
186
|
+
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
|
|
187
|
+
|
|
188
|
+
// use cometbft
|
|
189
|
+
// Use our fork at least until post-v0.34.14 is released with
|
|
190
|
+
// https://github.com/tendermint/tendermint/issue/6899 resolved.
|
|
191
|
+
github.com/tendermint/tendermint => github.com/agoric-labs/cometbft v0.34.30-alpha.agoric.1
|
|
162
192
|
|
|
163
193
|
// For testing against a local cosmos-sdk or tendermint
|
|
164
|
-
//
|
|
165
|
-
//
|
|
194
|
+
// github.com/cosmos/cosmos-sdk => ../../../forks/cosmos-sdk
|
|
195
|
+
// github.com/tendermint/tendermint => ../../../forks/tendermint
|
|
196
|
+
)
|