Skip to content

Commit

Permalink
Problem: debug mode query result don't show panic info
Browse files Browse the repository at this point in the history
Solution:
- backport the feature to 0.45.x in cosmos-sdk

update cosmos-sdk
  • Loading branch information
yihuang committed Feb 18, 2022
1 parent 69cafc5 commit 7e44738
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ require (
replace (
// TODO: fix keyring upstream
github.com/99designs/keyring => github.com/crypto-org-chain/keyring v1.1.6-fixes
// release/v0.45.x branch, TODO use tag when released
github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.45.2-0.20220209090836-4161d2b6022a
github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.45.2-0.20220218085826-7f949c0aa1d6

// TODO: remove when middleware will be implemented
github.com/cosmos/ibc-go/v2 => github.com/crypto-org-chain/ibc-go/v2 v2.0.2-hooks
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfc
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
github.com/cosmos/btcutil v1.0.4 h1:n7C2ngKXo7UC9gNyMNLbzqz7Asuf+7Qv4gnX/rOdQ44=
github.com/cosmos/btcutil v1.0.4/go.mod h1:Ffqc8Hn6TJUdDgHBwIZLtrLQC1KdJ9jGJl/TvgUaxbU=
github.com/cosmos/cosmos-sdk v0.45.2-0.20220209090836-4161d2b6022a h1:VyCw2TF4lUBe7oQ8MCv9QX+JsAO40SmlAp/F08tix3I=
github.com/cosmos/cosmos-sdk v0.45.2-0.20220209090836-4161d2b6022a/go.mod h1:XXS/asyCqWNWkx2rW6pSuen+EVcpAFxq6khrhnZgHaQ=
github.com/cosmos/cosmos-sdk v0.45.2-0.20220218085826-7f949c0aa1d6 h1:GeiTHKpD97wWrX+nWKQgpO3+5ttAZZ4SqE4RlieLS3E=
github.com/cosmos/cosmos-sdk v0.45.2-0.20220218085826-7f949c0aa1d6/go.mod h1:XXS/asyCqWNWkx2rW6pSuen+EVcpAFxq6khrhnZgHaQ=
github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y=
github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY=
github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw=
Expand Down
14 changes: 7 additions & 7 deletions gomod2nix.toml
Original file line number Diff line number Diff line change
Expand Up @@ -867,8 +867,8 @@
["github.com/confio/ics23/go".fetch]
type = "git"
url = "https://github.com/confio/ics23"
rev = "53a3a58ab8d224eef792845a65c7e8fc66712b7d"
sha256 = "05132gdwapsc5cx4sgbpicwyzwgwhjhm8nmjljddpyiswql0mv8q"
rev = "6cf2f712b5ecccf0a138c29a77b726d57bdaad51"
sha256 = "0r1vk5lvjfri57hd5dk75dfiyzz57qaljshw6sr80aj5v8krzxsn"

["github.com/consensys/bavard"]
sumVersion = "v0.1.8-0.20210406032232-f3452dc9b572"
Expand Down Expand Up @@ -967,12 +967,12 @@
sha256 = "10x22k92ra1sdddj2pksprfhsm683sldflcnjm8nfz4rjjhjwkay"

["github.com/cosmos/cosmos-sdk"]
sumVersion = "v0.45.2-0.20220209090836-4161d2b6022a"
sumVersion = "v0.45.2-0.20220218085826-7f949c0aa1d6"
["github.com/cosmos/cosmos-sdk".fetch]
type = "git"
url = "https://github.com/cosmos/cosmos-sdk"
rev = "4161d2b6022a59ad859265a0e2483eb8e9b2f84d"
sha256 = "10jy4vyxy8xqy0ria0zf5cvkdf6ryfnyv8klvkn0w72qyiy1jxgf"
rev = "7f949c0aa1d6350ef3a32c730cc4493bfb64f63e"
sha256 = "12qk6y17hzw4dbi2f3n1yq6fdx37mpz69i5n65xrc2yjxwrh5p6g"

["github.com/cosmos/go-bip39"]
sumVersion = "v1.0.0"
Expand Down Expand Up @@ -3757,10 +3757,10 @@

["github.com/tharsis/ethermint"]
sumVersion = "v0.10.0-alpha1-cronos-6"
vendorPath = "github.com/yihuang/ethermint"
vendorPath = "github.com/crypto-org-chain/ethermint"
["github.com/tharsis/ethermint".fetch]
type = "git"
url = "https://github.com/yihuang/ethermint"
url = "https://github.com/crypto-org-chain/ethermint"
rev = "c627df496803c5b54fcb71b5e4dc1412c7463fa4"
sha256 = "05yw8vi4ayg8wmk7sa0w14xhs57hchwi5x37yck90cj1yw107zcb"

Expand Down

0 comments on commit 7e44738

Please sign in to comment.