Skip to content

Commit

Permalink
Problem: don't support debug query result (#342)
Browse files Browse the repository at this point in the history
Solution:
- update cosmos-sdk dependency

changelog
  • Loading branch information
yihuang authored Feb 17, 2022
1 parent 6abf791 commit 16dab5d
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 1,440 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
### Improvements

- [cronos#346](https://github.com/crypto-org-chain/cronos/pull/346) disable the url query parameter in swagger-ui (backport: #345).
- [cronos#342](https://github.com/crypto-org-chain/cronos/pull/342) support debug query result

*December 21, 2021*

Expand Down
7 changes: 5 additions & 2 deletions cmd/cronosd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,12 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) {
cmd.SetOut(cmd.OutOrStdout())
cmd.SetErr(cmd.ErrOrStderr())

initClientCtx = client.ReadHomeFlag(initClientCtx, cmd)
initClientCtx, err := client.ReadPersistentCommandFlags(initClientCtx, cmd.Flags())
if err != nil {
return err
}

initClientCtx, err := config.ReadFromClientConfig(initClientCtx)
initClientCtx, err = config.ReadFromClientConfig(initClientCtx)
if err != nil {
return err
}
Expand Down
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.17

require (
github.com/armon/go-metrics v0.3.9
github.com/cosmos/cosmos-sdk v0.44.3
github.com/cosmos/cosmos-sdk v0.44.6
github.com/cosmos/ibc-go v1.2.2
github.com/ethereum/go-ethereum v1.10.3
github.com/gogo/protobuf v1.3.3
Expand All @@ -20,7 +20,7 @@ require (
github.com/tendermint/tm-db v0.6.4
github.com/tharsis/ethermint v0.7.2
google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af
google.golang.org/grpc v1.41.0
google.golang.org/grpc v1.42.0
gopkg.in/yaml.v2 v2.4.0
)

Expand All @@ -39,10 +39,11 @@ require (
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce // indirect
github.com/cespare/xxhash v1.1.0 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/coinbase/rosetta-sdk-go v0.6.10 // indirect
github.com/coinbase/rosetta-sdk-go v0.7.0 // indirect
github.com/confio/ics23/go v0.6.6 // indirect
github.com/cosmos/btcutil v1.0.4 // indirect
github.com/cosmos/go-bip39 v1.0.0 // indirect
github.com/cosmos/iavl v0.17.1 // indirect
github.com/cosmos/iavl v0.17.3 // indirect
github.com/cosmos/ledger-cosmos-go v0.11.1 // indirect
github.com/cosmos/ledger-go v0.9.2 // indirect
github.com/danieljoos/wincred v1.0.2 // indirect
Expand All @@ -55,7 +56,6 @@ require (
github.com/dustin/go-humanize v1.0.0 // indirect
github.com/dvsekhvalnov/jose2go v0.0.0-20200901110807-248326c1351b // indirect
github.com/edsrzf/mmap-go v1.0.0 // indirect
github.com/enigmampc/btcutil v1.0.3-0.20200723161021-e2fb6adb2a25 // indirect
github.com/felixge/httpsnoop v1.0.1 // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff // indirect
Expand Down Expand Up @@ -157,12 +157,12 @@ replace github.com/99designs/keyring => github.com/crypto-org-chain/keyring v1.1
// TODO: remove when middleware will be implemented
replace github.com/cosmos/ibc-go => github.com/crypto-org-chain/ibc-go v1.2.1-hooks

replace github.com/cosmos/iavl => github.com/cosmos/iavl v0.17.1
replace github.com/cosmos/iavl => github.com/cosmos/iavl v0.17.3

replace github.com/ethereum/go-ethereum => github.com/crypto-org-chain/go-ethereum v1.10.3-patched

// TODO: remove when ibc-go and ethermint upgrades cosmos-sdk
replace github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.44.2
replace github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.44.7-0.20220214161517-8a26cd10b4be

replace github.com/tharsis/ethermint => github.com/crypto-org-chain/ethermint v0.7.2-cronos-8

Expand Down
Loading

0 comments on commit 16dab5d

Please sign in to comment.