@agoric/cosmos 0.35.0-upgrade-14-dev-0169c7e.0 → 0.35.0-upgrade-16-dev-07b0130.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.
Files changed (169) hide show
  1. package/CHANGELOG.md +121 -77
  2. package/MAINTAINERS.md +3 -0
  3. package/Makefile +49 -26
  4. package/ante/ante.go +11 -11
  5. package/ante/inbound_test.go +3 -2
  6. package/ante/vm_admission.go +2 -1
  7. package/app/app.go +260 -175
  8. package/app/export.go +13 -6
  9. package/app/upgrade.go +76 -0
  10. package/cmd/agd/agvm.go +42 -0
  11. package/cmd/agd/main.go +132 -11
  12. package/cmd/libdaemon/main.go +67 -53
  13. package/cmd/libdaemon/main_test.go +2 -1
  14. package/daemon/cmd/genaccounts.go +13 -9
  15. package/daemon/cmd/root.go +186 -73
  16. package/daemon/cmd/root_test.go +190 -2
  17. package/daemon/cmd/testnet.go +17 -6
  18. package/daemon/main.go +6 -3
  19. package/e2e_test/Makefile +29 -0
  20. package/e2e_test/README.md +100 -0
  21. package/e2e_test/go.mod +217 -0
  22. package/e2e_test/go.sum +1323 -0
  23. package/e2e_test/ibc_conformance_test.go +56 -0
  24. package/e2e_test/pfm_test.go +613 -0
  25. package/e2e_test/util.go +271 -0
  26. package/git-revision.txt +1 -1
  27. package/go.mod +110 -68
  28. package/go.sum +601 -248
  29. package/package.json +9 -5
  30. package/proto/agoric/swingset/genesis.proto +4 -0
  31. package/proto/agoric/swingset/swingset.proto +1 -1
  32. package/proto/agoric/vlocalchain/.clang-format +7 -0
  33. package/proto/agoric/vlocalchain/vlocalchain.proto +31 -0
  34. package/proto/agoric/vstorage/query.proto +53 -1
  35. package/proto/agoric/vtransfer/genesis.proto +18 -0
  36. package/scripts/protocgen.sh +16 -6
  37. package/third_party/proto/buf.yaml +1 -0
  38. package/third_party/proto/cosmos/base/query/v1beta1/pagination.proto +4 -1
  39. package/third_party/proto/cosmos/base/v1beta1/coin.proto +7 -4
  40. package/third_party/proto/cosmos/upgrade/v1beta1/upgrade.proto +16 -6
  41. package/third_party/proto/cosmos_proto/cosmos.proto +97 -0
  42. package/third_party/proto/google/api/annotations.proto +1 -1
  43. package/third_party/proto/google/api/http.proto +181 -120
  44. package/third_party/proto/google/api/httpbody.proto +9 -6
  45. package/third_party/proto/google/protobuf/any.proto +1 -7
  46. package/third_party/proto/ibc/core/channel/v1/channel.proto +15 -1
  47. package/third_party/proto/ibc/core/client/v1/client.proto +9 -6
  48. package/types/kv_entry_helpers.go +42 -0
  49. package/upgradegaia.sh +21 -12
  50. package/vm/action.go +28 -24
  51. package/vm/action_test.go +36 -16
  52. package/vm/client.go +113 -0
  53. package/vm/client_test.go +182 -0
  54. package/vm/controller.go +18 -42
  55. package/vm/core_proposals.go +22 -2
  56. package/vm/jsonrpcconn/jsonrpcconn.go +160 -0
  57. package/vm/jsonrpcconn/jsonrpcconn_test.go +126 -0
  58. package/vm/proto_json.go +38 -0
  59. package/vm/proto_json_test.go +103 -0
  60. package/vm/server.go +124 -0
  61. package/x/swingset/abci.go +10 -10
  62. package/x/swingset/alias.go +2 -0
  63. package/x/swingset/client/cli/query.go +2 -2
  64. package/x/swingset/client/cli/tx.go +52 -33
  65. package/x/swingset/client/proposal_handler.go +2 -17
  66. package/x/swingset/genesis.go +84 -24
  67. package/x/swingset/handler.go +2 -1
  68. package/x/swingset/keeper/extension_snapshotter.go +2 -2
  69. package/x/swingset/keeper/keeper.go +21 -36
  70. package/x/swingset/keeper/keeper_test.go +1 -1
  71. package/x/swingset/keeper/msg_server.go +20 -22
  72. package/x/swingset/keeper/proposal.go +13 -3
  73. package/x/swingset/keeper/querier.go +23 -14
  74. package/x/swingset/keeper/swing_store_exports_handler.go +21 -6
  75. package/x/swingset/keeper/test_utils.go +16 -0
  76. package/x/swingset/module.go +7 -7
  77. package/x/swingset/proposal_handler.go +5 -4
  78. package/x/swingset/swingset.go +4 -2
  79. package/x/swingset/testing/queue.go +17 -0
  80. package/x/swingset/types/codec.go +2 -2
  81. package/x/swingset/types/default-params.go +1 -1
  82. package/x/swingset/types/expected_keepers.go +3 -2
  83. package/x/swingset/types/genesis.pb.go +78 -25
  84. package/x/swingset/types/msgs.go +44 -24
  85. package/x/swingset/types/msgs.pb.go +16 -16
  86. package/x/swingset/types/params.go +2 -1
  87. package/x/swingset/types/proposal.go +10 -9
  88. package/x/swingset/types/swingset.pb.go +1 -1
  89. package/x/swingset/types/types.go +30 -28
  90. package/x/vbank/genesis.go +0 -2
  91. package/x/vbank/handler.go +2 -1
  92. package/x/vbank/keeper/keeper.go +3 -2
  93. package/x/vbank/keeper/querier.go +9 -4
  94. package/x/vbank/keeper/rewards.go +1 -1
  95. package/x/vbank/module.go +0 -5
  96. package/x/vbank/types/msgs.go +0 -12
  97. package/x/vbank/vbank.go +20 -19
  98. package/x/vbank/vbank_test.go +10 -10
  99. package/x/vibc/alias.go +3 -0
  100. package/x/vibc/handler.go +16 -9
  101. package/x/vibc/keeper/keeper.go +112 -74
  102. package/x/vibc/keeper/triggers.go +101 -0
  103. package/x/vibc/module.go +5 -8
  104. package/x/vibc/types/expected_keepers.go +26 -5
  105. package/x/vibc/types/ibc_module.go +336 -0
  106. package/x/vibc/types/msgs.go +1 -1
  107. package/x/vibc/types/msgs.pb.go +1 -1
  108. package/x/vibc/types/receiver.go +170 -0
  109. package/x/vlocalchain/alias.go +19 -0
  110. package/x/vlocalchain/handler.go +21 -0
  111. package/x/vlocalchain/keeper/keeper.go +279 -0
  112. package/x/vlocalchain/keeper/keeper_test.go +97 -0
  113. package/x/vlocalchain/types/codec.go +34 -0
  114. package/x/vlocalchain/types/key.go +27 -0
  115. package/x/vlocalchain/types/msgs.go +16 -0
  116. package/x/vlocalchain/types/vlocalchain.pb.go +1072 -0
  117. package/x/vlocalchain/vlocalchain.go +114 -0
  118. package/x/vlocalchain/vlocalchain_test.go +434 -0
  119. package/x/vstorage/README.md +138 -0
  120. package/x/vstorage/capdata/capdata.go +298 -0
  121. package/x/vstorage/capdata/capdata_test.go +352 -0
  122. package/x/vstorage/client/cli/query.go +51 -4
  123. package/x/vstorage/handler.go +2 -1
  124. package/x/vstorage/keeper/grpc_query.go +220 -0
  125. package/x/vstorage/keeper/keeper.go +16 -22
  126. package/x/vstorage/keeper/keeper_grpc_test.go +300 -0
  127. package/x/vstorage/keeper/keeper_test.go +1 -1
  128. package/x/vstorage/keeper/querier.go +11 -6
  129. package/x/vstorage/keeper/querier_test.go +4 -3
  130. package/x/vstorage/module.go +0 -5
  131. package/x/vstorage/testing/queue.go +27 -0
  132. package/x/vstorage/types/query.pb.go +646 -36
  133. package/x/vstorage/types/query.pb.gw.go +119 -0
  134. package/x/vstorage/vstorage.go +16 -15
  135. package/x/vstorage/vstorage_test.go +5 -5
  136. package/x/vtransfer/alias.go +13 -0
  137. package/x/vtransfer/genesis.go +39 -0
  138. package/x/vtransfer/genesis_test.go +12 -0
  139. package/x/vtransfer/handler.go +20 -0
  140. package/x/vtransfer/ibc_middleware.go +186 -0
  141. package/x/vtransfer/ibc_middleware_test.go +448 -0
  142. package/x/vtransfer/keeper/keeper.go +281 -0
  143. package/x/vtransfer/module.go +124 -0
  144. package/x/vtransfer/types/expected_keepers.go +38 -0
  145. package/x/vtransfer/types/genesis.pb.go +327 -0
  146. package/x/vtransfer/types/key.go +9 -0
  147. package/x/vtransfer/types/msgs.go +9 -0
  148. package/ante/fee.go +0 -96
  149. package/proto/agoric/lien/genesis.proto +0 -25
  150. package/proto/agoric/lien/lien.proto +0 -25
  151. package/x/lien/alias.go +0 -17
  152. package/x/lien/genesis.go +0 -58
  153. package/x/lien/genesis_test.go +0 -101
  154. package/x/lien/keeper/account.go +0 -290
  155. package/x/lien/keeper/keeper.go +0 -254
  156. package/x/lien/keeper/keeper_test.go +0 -623
  157. package/x/lien/lien.go +0 -203
  158. package/x/lien/lien_test.go +0 -529
  159. package/x/lien/module.go +0 -115
  160. package/x/lien/spec/01_concepts.md +0 -146
  161. package/x/lien/spec/02_messages.md +0 -96
  162. package/x/lien/types/accountkeeper.go +0 -81
  163. package/x/lien/types/accountstate.go +0 -27
  164. package/x/lien/types/expected_keepers.go +0 -18
  165. package/x/lien/types/genesis.pb.go +0 -567
  166. package/x/lien/types/key.go +0 -25
  167. package/x/lien/types/lien.pb.go +0 -403
  168. package/x/vibc/ibc.go +0 -393
  169. /package/{src/index.cjs → index.cjs} +0 -0
@@ -0,0 +1,271 @@
1
+ package e2etest
2
+
3
+ import (
4
+ "context"
5
+ "fmt"
6
+ "os"
7
+ "strconv"
8
+ "strings"
9
+ "testing"
10
+
11
+ "github.com/agoric-labs/interchaintest/v6"
12
+ "github.com/agoric-labs/interchaintest/v6/chain/cosmos"
13
+ "github.com/agoric-labs/interchaintest/v6/ibc"
14
+ "github.com/agoric-labs/interchaintest/v6/relayer"
15
+ "github.com/agoric-labs/interchaintest/v6/testutil"
16
+
17
+ "go.uber.org/zap/zaptest"
18
+ )
19
+
20
+ const CHAIN_AGORIC = "agoric"
21
+ const CHAIN_GAIA = "gaia"
22
+
23
+ const RELAYER_COSMOS = "cosmos"
24
+ const RELAYER_HERMES = "hermes"
25
+
26
+ const DEFAULT_CHAINIMAGE_AGORIC = "agoric:heighliner-agoric"
27
+ const DEFAULT_BLOCKS_TO_WAIT = 25
28
+
29
+ const FMT_ENV_CHAINNAME = "E2ETEST_CHAINNAME%d"
30
+ const ENV_CHAINIMAGE_AGORIC = "E2ETEST_CHAINIMAGE_AGORIC"
31
+ const ENV_RELAYERNAME = "E2ETEST_RELAYERNAME"
32
+ const ENV_BLOCKS_TO_WAIT = "E2ETEST_BLOCKS_TO_WAIT"
33
+
34
+ // newHermesFactory creates a hermes relayer
35
+ func newHermesFactory(t *testing.T) interchaintest.RelayerFactory {
36
+ return interchaintest.NewBuiltinRelayerFactory(
37
+ ibc.Hermes,
38
+ zaptest.NewLogger(t),
39
+ )
40
+ }
41
+
42
+ // newCosmosRlyFactory creates a cosmos relayer
43
+ func newCosmosRlyFactory(t *testing.T) interchaintest.RelayerFactory {
44
+
45
+ // TODO: At one point was using latest docker image for relyaer but disabling
46
+ // to remove variables while debugging heighliner builds of agoric chain are failing
47
+ //
48
+ IBCRelayerImage := "ghcr.io/cosmos/relayer"
49
+ IBCRelayerVersion := "latest"
50
+ image := relayer.CustomDockerImage(IBCRelayerImage, IBCRelayerVersion, "100:1000")
51
+
52
+ return interchaintest.NewBuiltinRelayerFactory(
53
+ ibc.CosmosRly,
54
+ zaptest.NewLogger(t),
55
+ image,
56
+ )
57
+ }
58
+
59
+ // newCosmosHubChainSpec creates a chainspec for a gaia instance compatible with these tests
60
+ // TODO: replacing the v13.0.01 version with latest has not been tested.
61
+ func newCosmosHubChainSpec(chainUniqueName string, chainID string, numOfValidators int, numOfFullNodes int) *interchaintest.ChainSpec {
62
+ ret := &interchaintest.ChainSpec{
63
+ Name: "gaia",
64
+ ChainName: chainUniqueName,
65
+ Version: "v13.0.1", // This version of gaiad has the interface interchaintestv6 needs
66
+ NumValidators: &numOfValidators,
67
+ NumFullNodes: &numOfFullNodes,
68
+ }
69
+
70
+ ret.ChainConfig.ChainID = chainID
71
+ return ret
72
+ }
73
+
74
+ // newUnknownCosmosChainSpec creates any cosmos chain where interchaintest has a built in definition
75
+ // NB: In many cases these images will not work due to issues outside the scope of Agoric's project
76
+ func newUnknownCosmosChainSpec(chain string, chainUniqueName string, chainID string, numOfValidators int, numOfFullNodes int) *interchaintest.ChainSpec {
77
+ ret := &interchaintest.ChainSpec{
78
+ Name: chain,
79
+ ChainName: chainUniqueName,
80
+ Version: "latest",
81
+ NumValidators: &numOfValidators,
82
+ NumFullNodes: &numOfFullNodes,
83
+ }
84
+
85
+ ret.ChainConfig.ChainID = chainID
86
+ return ret
87
+ }
88
+
89
+ // newAgoricChainSpec fully specifies the details necessary to launch an Agoric chain image built from
90
+ // - https://github.com/strangelove-ventures/heighliner/pull/211
91
+ // - NoCrisisModule is a flag added in the agoric-labs fork of interchaintest
92
+ func newAgoricChainSpec(chainUniqueName string, chainID string, chainImage ibc.DockerImage, numOfValidators int, numOfFullNodes int) *interchaintest.ChainSpec {
93
+ coinDecimals := int64(6)
94
+ gasAdjustment := 1.3
95
+ noHostMount := false
96
+
97
+ return &interchaintest.ChainSpec{
98
+ Name: "agoric",
99
+ ChainName: chainUniqueName,
100
+ Version: chainImage.Version,
101
+ GasAdjustment: &gasAdjustment,
102
+ NoHostMount: &noHostMount,
103
+ ChainConfig: ibc.ChainConfig{
104
+ Type: "cosmos",
105
+ Name: "agoric",
106
+ ChainID: chainID,
107
+ Images: []ibc.DockerImage{
108
+ chainImage,
109
+ },
110
+ Bin: "agd",
111
+ Bech32Prefix: "agoric",
112
+ Denom: "ubld",
113
+ CoinType: "564",
114
+ // interchaintest is super flaky when gas is enabled
115
+ GasPrices: "0.0ubld",
116
+ GasAdjustment: 1.3,
117
+ TrustingPeriod: "672h",
118
+ NoHostMount: false,
119
+ NoCrisisModule: true,
120
+ SkipGenTx: false,
121
+ CoinDecimals: &coinDecimals,
122
+ },
123
+ NumValidators: &numOfValidators,
124
+ NumFullNodes: &numOfFullNodes,
125
+ }
126
+ }
127
+
128
+ // getChainImage will build a docker image from the environment variable value
129
+ // E2ETEST_CHAINIMAGE_AGORIC. The value of this env var
130
+ // must be in the form "repo/image:version"
131
+ func getChainImageAgoric(t *testing.T) ibc.DockerImage {
132
+ ret := ibc.DockerImage{
133
+ UidGid: "1025:1025",
134
+ }
135
+
136
+ chainImage, present := os.LookupEnv(ENV_CHAINIMAGE_AGORIC)
137
+ if !present {
138
+ chainImage = DEFAULT_CHAINIMAGE_AGORIC
139
+ }
140
+
141
+ parts := strings.Split(chainImage, ":")
142
+ if len(parts) == 2 {
143
+ ret.Repository = parts[0]
144
+ ret.Version = parts[1]
145
+ } else {
146
+ t.Fatalf("Invalid value for %s[%s]. Must be of the format 'repository:version'", ENV_CHAINIMAGE_AGORIC, chainImage)
147
+ }
148
+
149
+ t.Logf("ChainImages: %s[%s:%s]", ENV_CHAINIMAGE_AGORIC, ret.Repository, ret.Version)
150
+
151
+ return ret
152
+ }
153
+
154
+ // getChainNames reads the environment variables FMT_ENV_CHAINNAME0, FMT_ENV_CHAINNAME1, FMT_ENV_CHAINNAME2, FMT_ENV_CHAINNAME3
155
+ func getChainNames(t *testing.T) [4]string {
156
+
157
+ ret := [4]string{
158
+ CHAIN_AGORIC, CHAIN_AGORIC, CHAIN_AGORIC, CHAIN_AGORIC,
159
+ }
160
+
161
+ for i := 0; i < 4; i++ {
162
+ envVar := fmt.Sprintf(FMT_ENV_CHAINNAME, i)
163
+ chainName, present := os.LookupEnv(envVar)
164
+ if present {
165
+ ret[i] = chainName
166
+ }
167
+ }
168
+
169
+ t.Logf("ChainNames: %s[%s] %s[%s] %s[%s] %s[%s]",
170
+ fmt.Sprintf(FMT_ENV_CHAINNAME, 0), ret[0],
171
+ fmt.Sprintf(FMT_ENV_CHAINNAME, 1), ret[1],
172
+ fmt.Sprintf(FMT_ENV_CHAINNAME, 2), ret[2],
173
+ fmt.Sprintf(FMT_ENV_CHAINNAME, 3), ret[3])
174
+
175
+ return ret
176
+ }
177
+
178
+ // getChainSpec reads environment variables and builds a full ChainSpec
179
+ func getChainSpec(t *testing.T) []*interchaintest.ChainSpec {
180
+ nv := 1
181
+ nf := 0
182
+
183
+ chainNames := getChainNames(t)
184
+ chainImage := getChainImageAgoric(t)
185
+
186
+ ret := make([]*interchaintest.ChainSpec, 4)
187
+
188
+ for index, chainName := range chainNames {
189
+ chainId := fmt.Sprintf("%s%d", chainName, index)
190
+ chainUniqueName := chainId
191
+
192
+ switch chainName {
193
+ case CHAIN_AGORIC:
194
+ ret[index] = newAgoricChainSpec(chainUniqueName, chainId, chainImage, nv, nf)
195
+ case CHAIN_GAIA:
196
+ ret[index] = newCosmosHubChainSpec(chainUniqueName, chainId, nv, nf)
197
+ default:
198
+ ret[index] = newUnknownCosmosChainSpec(chainName, chainUniqueName, chainId, nv, nf)
199
+ }
200
+ }
201
+
202
+ return ret
203
+ }
204
+
205
+ // getRelayerFactory reads environment variables and builds the correct RelayerFactory
206
+ func getRelayerFactory(t *testing.T) interchaintest.RelayerFactory {
207
+ relayerName, present := os.LookupEnv(ENV_RELAYERNAME)
208
+ if !present {
209
+ relayerName = RELAYER_COSMOS
210
+ }
211
+
212
+ var ret interchaintest.RelayerFactory
213
+
214
+ switch relayerName {
215
+ case RELAYER_COSMOS:
216
+ ret = newCosmosRlyFactory(t)
217
+ case RELAYER_HERMES:
218
+ ret = newHermesFactory(t)
219
+ default:
220
+ t.Fatalf("Invalid value for %s[%s]. Valid values are [%s] or [%s]", ENV_RELAYERNAME, relayerName, RELAYER_COSMOS, RELAYER_HERMES)
221
+ }
222
+
223
+ t.Logf("RelayerNmae: %s[%s]", ENV_RELAYERNAME, relayerName)
224
+
225
+ return ret
226
+ }
227
+
228
+ // sendIBCTransferWithWait performs cosmos.CosmosChain.SendIBCTransfer
229
+ // - Automatically waits to confirm TX is ACK'd
230
+ // - Automatically waits for results to settle
231
+ // - The environment variable E2ETEST_BLOCKS_TO_WAIT controls how many blocks to wait for ACK and settlement
232
+ func sendIBCTransferWithWait(
233
+ c *cosmos.CosmosChain,
234
+ ctx context.Context,
235
+ channelID string,
236
+ keyName string,
237
+ amount ibc.WalletAmount,
238
+ options ibc.TransferOptions,
239
+ ) (tx ibc.Tx, err error) {
240
+ blocksToWait := DEFAULT_BLOCKS_TO_WAIT
241
+
242
+ blocksAsStr, present := os.LookupEnv(ENV_BLOCKS_TO_WAIT)
243
+ if present {
244
+ blocksToWait, err = strconv.Atoi(blocksAsStr)
245
+ if err != nil {
246
+ return tx, err
247
+ }
248
+ }
249
+
250
+ chainAHeight, err := c.Height(ctx)
251
+ if err != nil {
252
+ return tx, err
253
+ }
254
+
255
+ tx, err = c.SendIBCTransfer(ctx, channelID, keyName, amount, options)
256
+ if err != nil {
257
+ return tx, err
258
+ }
259
+
260
+ _, err = testutil.PollForAck(ctx, c, chainAHeight, chainAHeight+30, tx.Packet)
261
+ if err != nil {
262
+ return tx, err
263
+ }
264
+
265
+ err = testutil.WaitForBlocks(ctx, blocksToWait, c)
266
+ if err != nil {
267
+ return tx, err
268
+ }
269
+
270
+ return tx, err
271
+ }
package/git-revision.txt CHANGED
@@ -1 +1 @@
1
- 0169c7e
1
+ 07b0130
package/go.mod CHANGED
@@ -3,163 +3,205 @@ module github.com/Agoric/agoric-sdk/golang/cosmos
3
3
  go 1.20
4
4
 
5
5
  require (
6
+ cosmossdk.io/errors v1.0.0-beta.7
7
+ cosmossdk.io/math v1.0.0-rc.0
6
8
  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
9
+ github.com/cosmos/cosmos-sdk v0.46.16
10
+ github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v6 v6.1.2
11
+ github.com/cosmos/ibc-go/v6 v6.3.1
9
12
  github.com/gogo/protobuf v1.3.3
10
- github.com/golang/protobuf v1.5.2
13
+ github.com/golang/protobuf v1.5.3
11
14
  github.com/gorilla/mux v1.8.0
12
15
  github.com/grpc-ecosystem/grpc-gateway v1.16.0
13
16
  github.com/pkg/errors v0.9.1
14
17
  github.com/rakyll/statik v0.1.7
15
18
  github.com/spf13/cast v1.5.0
16
- github.com/spf13/cobra v1.6.1
19
+ github.com/spf13/cobra v1.7.0
17
20
  github.com/spf13/viper v1.14.0
18
- github.com/stretchr/testify v1.8.1
19
- github.com/tendermint/tendermint v0.34.27
21
+ github.com/stretchr/testify v1.8.4
22
+ github.com/tendermint/tendermint v0.34.29
20
23
  github.com/tendermint/tm-db v0.6.7
21
- google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa
22
- google.golang.org/grpc v1.52.3
24
+ google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98
25
+ google.golang.org/grpc v1.58.3
23
26
  gopkg.in/yaml.v2 v2.4.0
24
27
  )
25
28
 
26
29
  require (
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
+ cloud.google.com/go v0.110.4 // indirect
31
+ cloud.google.com/go/compute v1.21.0 // indirect
32
+ cloud.google.com/go/compute/metadata v0.2.3 // indirect
33
+ cloud.google.com/go/iam v1.1.1 // indirect
34
+ cloud.google.com/go/storage v1.30.1 // indirect
30
35
  filippo.io/edwards25519 v1.0.0-rc.1 // indirect
31
36
  github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
32
37
  github.com/99designs/keyring v1.2.1 // indirect
33
- github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d // indirect
34
- github.com/DataDog/zstd v1.5.0 // indirect
35
- github.com/HdrHistogram/hdrhistogram-go v1.1.2 // indirect
38
+ github.com/ChainSafe/go-schnorrkel v1.0.0 // indirect
36
39
  github.com/Workiva/go-datastructures v1.0.53 // indirect
40
+ github.com/aws/aws-sdk-go v1.44.122 // indirect
37
41
  github.com/beorn7/perks v1.0.1 // indirect
42
+ github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
38
43
  github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect
39
44
  github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
45
+ github.com/cenkalti/backoff/v4 v4.1.3 // indirect
40
46
  github.com/cespare/xxhash v1.1.0 // indirect
41
- github.com/cespare/xxhash/v2 v2.1.2 // 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
47
+ github.com/cespare/xxhash/v2 v2.2.0 // indirect
48
+ github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
49
+ github.com/cockroachdb/apd/v2 v2.0.2 // indirect
46
50
  github.com/coinbase/rosetta-sdk-go v0.7.9 // indirect
47
51
  github.com/cometbft/cometbft-db v0.7.0 // indirect
48
52
  github.com/confio/ics23/go v0.9.1 // indirect
49
- github.com/cosmos/btcutil v1.0.4 // indirect
50
- github.com/cosmos/cosmos-db v0.0.0-20221226095112-f3c38ecb5e32 // indirect
53
+ github.com/cosmos/btcutil v1.0.5 // indirect
51
54
  github.com/cosmos/cosmos-proto v1.0.0-beta.1 // indirect
52
55
  github.com/cosmos/go-bip39 v1.0.0 // indirect
53
56
  github.com/cosmos/gorocksdb v1.2.0 // indirect
54
- github.com/cosmos/iavl v0.19.5 // indirect
55
- github.com/cosmos/ledger-cosmos-go v0.12.2 // indirect
57
+ github.com/cosmos/iavl v0.19.6 // indirect
58
+ github.com/cosmos/ledger-cosmos-go v0.12.4 // indirect
56
59
  github.com/creachadair/taskgroup v0.3.2 // indirect
57
60
  github.com/danieljoos/wincred v1.1.2 // indirect
58
61
  github.com/davecgh/go-spew v1.1.1 // indirect
59
- github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
62
+ github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
60
63
  github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
61
64
  github.com/dgraph-io/badger/v2 v2.2007.4 // indirect
62
- github.com/dgraph-io/ristretto v0.0.3 // indirect
65
+ github.com/dgraph-io/ristretto v0.1.0 // indirect
63
66
  github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
64
67
  github.com/dustin/go-humanize v1.0.0 // indirect
65
68
  github.com/dvsekhvalnov/jose2go v1.5.0 // indirect
66
69
  github.com/felixge/httpsnoop v1.0.2 // indirect
67
70
  github.com/fsnotify/fsnotify v1.6.0 // indirect
68
- github.com/getsentry/sentry-go v0.17.0 // indirect
69
71
  github.com/ghodss/yaml v1.0.0 // indirect
72
+ github.com/gin-gonic/gin v1.8.1 // indirect
70
73
  github.com/go-kit/kit v0.12.0 // indirect
71
74
  github.com/go-kit/log v0.2.1 // indirect
72
75
  github.com/go-logfmt/logfmt v0.5.1 // indirect
73
76
  github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
74
77
  github.com/gogo/gateway v1.1.0 // indirect
75
- github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
78
+ github.com/golang/glog v1.1.0 // indirect
79
+ github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
76
80
  github.com/golang/snappy v0.0.4 // indirect
77
81
  github.com/google/btree v1.1.2 // indirect
78
- github.com/google/gofuzz v1.2.0 // indirect
82
+ github.com/google/go-cmp v0.5.9 // 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.14.1 // indirect
91
- github.com/inconshreveable/mousetrap v1.0.1 // indirect
102
+ github.com/iancoleman/orderedmap v0.2.0 // indirect
103
+ github.com/improbable-eng/grpc-web v0.15.0 // indirect
104
+ github.com/inconshreveable/mousetrap v1.1.0 // indirect
105
+ github.com/jmespath/go-jmespath v0.4.0 // indirect
92
106
  github.com/jmhodges/levigo v1.0.0 // indirect
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
96
- github.com/lib/pq v1.10.6 // indirect
107
+ github.com/klauspost/compress v1.16.0 // indirect
108
+ github.com/lib/pq v1.10.7 // indirect
97
109
  github.com/libp2p/go-buffer-pool v0.1.0 // indirect
98
- github.com/linxGnu/grocksdb v1.7.10 // indirect
99
110
  github.com/magiconair/properties v1.8.6 // indirect
111
+ github.com/manifoldco/promptui v0.9.0 // indirect
100
112
  github.com/mattn/go-colorable v0.1.13 // indirect
101
- github.com/mattn/go-isatty v0.0.16 // indirect
102
- github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
113
+ github.com/mattn/go-isatty v0.0.18 // indirect
114
+ github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
103
115
  github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect
104
116
  github.com/minio/highwayhash v1.0.2 // indirect
117
+ github.com/mitchellh/go-homedir v1.1.0 // indirect
118
+ github.com/mitchellh/go-testing-interface v1.14.1 // indirect
105
119
  github.com/mitchellh/mapstructure v1.5.0 // indirect
106
120
  github.com/mtibben/percent v0.2.1 // indirect
107
121
  github.com/pelletier/go-toml v1.9.5 // indirect
108
- github.com/pelletier/go-toml/v2 v2.0.5 // indirect
109
- github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect
122
+ github.com/pelletier/go-toml/v2 v2.0.7 // indirect
123
+ github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 // indirect
110
124
  github.com/pmezard/go-difflib v1.0.0 // indirect
111
125
  github.com/prometheus/client_golang v1.14.0 // indirect
112
126
  github.com/prometheus/client_model v0.3.0 // indirect
113
- github.com/prometheus/common v0.37.0 // indirect
114
- github.com/prometheus/procfs v0.8.0 // indirect
127
+ github.com/prometheus/common v0.42.0 // indirect
128
+ github.com/prometheus/procfs v0.9.0 // indirect
115
129
  github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
116
130
  github.com/regen-network/cosmos-proto v0.3.1 // indirect
117
- github.com/rogpeppe/go-internal v1.9.0 // indirect
118
131
  github.com/rs/cors v1.8.2 // indirect
119
- github.com/rs/zerolog v1.27.0 // indirect
132
+ github.com/rs/zerolog v1.29.1 // indirect
120
133
  github.com/sasha-s/go-deadlock v0.3.1 // indirect
121
134
  github.com/spf13/afero v1.9.2 // indirect
122
135
  github.com/spf13/jwalterweatherman v1.1.0 // indirect
123
136
  github.com/spf13/pflag v1.0.5 // indirect
124
137
  github.com/subosito/gotenv v1.4.1 // indirect
125
- github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
138
+ github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
126
139
  github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c // indirect
127
140
  github.com/tendermint/go-amino v0.16.0 // indirect
128
141
  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
142
+ github.com/ulikunitz/xz v0.5.10 // indirect
143
+ github.com/zondax/hid v0.9.2 // indirect
144
+ github.com/zondax/ledger-go v0.14.3 // indirect
131
145
  go.etcd.io/bbolt v1.3.6 // indirect
132
- golang.org/x/crypto v0.5.0 // indirect
133
- golang.org/x/exp v0.0.0-20221019170559-20944726eadf // indirect
134
- golang.org/x/net v0.7.0 // indirect
135
- golang.org/x/sys v0.5.0 // indirect
136
- golang.org/x/term v0.5.0 // indirect
137
- golang.org/x/text v0.7.0 // indirect
138
- google.golang.org/protobuf v1.28.2-0.20220831092852-f930b1dc76e8 // indirect
146
+ go.opencensus.io v0.24.0 // indirect
147
+ golang.org/x/crypto v0.15.0 // indirect
148
+ golang.org/x/exp v0.0.0-20230310171629-522b1b587ee0 // indirect
149
+ golang.org/x/net v0.18.0 // indirect
150
+ golang.org/x/oauth2 v0.10.0 // indirect
151
+ golang.org/x/sync v0.3.0 // indirect
152
+ golang.org/x/sys v0.14.0 // indirect
153
+ golang.org/x/term v0.14.0 // indirect
154
+ golang.org/x/text v0.14.0 // indirect
155
+ golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
156
+ google.golang.org/api v0.126.0 // indirect
157
+ google.golang.org/appengine v1.6.7 // indirect
158
+ google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98 // indirect
159
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect
160
+ google.golang.org/protobuf v1.31.0 // indirect
139
161
  gopkg.in/ini.v1 v1.67.0 // indirect
140
162
  gopkg.in/yaml.v3 v3.0.1 // indirect
141
163
  nhooyr.io/websocket v1.8.6 // indirect
164
+ sigs.k8s.io/yaml v1.3.0 // indirect
142
165
  )
143
166
 
144
- // At least until post-v0.9.0 is released with
145
- // https://github.com/Zondax/hid/issues/4 resolved.
146
- replace github.com/zondax/hid => github.com/zondax/hid v0.9.1-0.20220302062450-5552068d2266
167
+ replace (
168
+ github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0
147
169
 
148
- replace github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0
170
+ github.com/confio/ics23/go => github.com/agoric-labs/cosmos-sdk/ics23/go v0.8.0-alpha.agoric.1
149
171
 
150
- replace github.com/confio/ics23/go => github.com/agoric-labs/cosmos-sdk/ics23/go v0.8.0-alpha.agoric.1
172
+ // https://pkg.go.dev/vuln/GO-2023-2409
173
+ github.com/dvsekhvalnov/jose2go => github.com/dvsekhvalnov/jose2go v1.5.1-0.20231206184617-48ba0b76bc88
151
174
 
152
- replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
175
+ // Fix upstream GHSA-3vp4-m3rf-835h vulnerability.
176
+ github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.9.0
153
177
 
154
- replace google.golang.org/grpc => google.golang.org/grpc v1.33.2
178
+ github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
155
179
 
156
- // At least until post-v0.34.14 is released with
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
+ // https://pkg.go.dev/vuln/GO-2023-1578
181
+ github.com/hashicorp/go-getter => github.com/hashicorp/go-getter v1.7.0
159
182
 
160
- // We need a fork of cosmos-sdk until all of the differences are merged.
161
- replace github.com/cosmos/cosmos-sdk => github.com/agoric-labs/cosmos-sdk v0.45.16-alpha.agoric.3
183
+ // replace broken goleveldb.
184
+ github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
185
+ )
186
+
187
+ // Agoric-specific replacements:
188
+ replace (
189
+ // We need a fork of cosmos-sdk until all of the differences are merged.
190
+ github.com/cosmos/cosmos-sdk => github.com/agoric-labs/cosmos-sdk v0.46.16-alpha.agoric.2.4
191
+
192
+ // Pick up an IAVL race fix.
193
+ github.com/cosmos/iavl => github.com/cosmos/iavl v0.19.7
162
194
 
163
- // For testing against a local cosmos-sdk or tendermint
164
- // replace github.com/cosmos/cosmos-sdk => ../../../forks/cosmos-sdk
165
- // replace github.com/tendermint/tendermint => ../../../forks/tendermint
195
+ // Use a version of ibc-go that is compatible with the above forks.
196
+ github.com/cosmos/ibc-go/v6 => github.com/agoric-labs/ibc-go/v6 v6.3.1-alpha.agoric.2
197
+
198
+ // use cometbft
199
+ // Use our fork at least until post-v0.34.14 is released with
200
+ // https://github.com/tendermint/tendermint/issue/6899 resolved.
201
+ github.com/tendermint/tendermint => github.com/agoric-labs/cometbft v0.34.30-alpha.agoric.1
202
+
203
+ // For testing against a local cosmos-sdk, ibc-go, or cometbft
204
+ // github.com/cosmos/cosmos-sdk => ../../../forks/cosmos-sdk
205
+ // github.com/cosmos/ibc-go/v6 => ../../../forks/ibc-go/v6
206
+ // github.com/tendermint/tendermint => ../../../forks/cometbft
207
+ )