mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
use cosmos fork
This commit is contained in:
parent
1f9fd16dfa
commit
7a623ccea3
7
Gopkg.lock
generated
7
Gopkg.lock
generated
@ -48,7 +48,8 @@
|
||||
revision = "d4cc87b860166d00d6b5b9e0d3b3d71d6088d4d4"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:485c3fd6d387a850672e86b89eabf32d0363890652c1b499898c925a5e8a02ce"
|
||||
branch = "master"
|
||||
digest = "1:7622ce3b0650fb5d6c8769e3229232d8604c4526aff828e6b749f3b1f4188478"
|
||||
name = "github.com/cosmos/cosmos-sdk"
|
||||
packages = [
|
||||
"baseapp",
|
||||
@ -91,8 +92,8 @@
|
||||
"x/stake/types",
|
||||
]
|
||||
pruneopts = "UT"
|
||||
revision = "1c38c70468ec721e3a555ba2f3bf5f9da31f0cc9"
|
||||
version = "v0.24.2"
|
||||
revision = "0d5f3f95664a5ef1565ec3bd67e5b6aaf46d6aeb"
|
||||
source = "github.com/kava-labs/cosmos-sdk"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:a2c1d0e43bd3baaa071d1b9ed72c27d78169b2b269f71c105ac4ba34b1be4a39"
|
||||
|
@ -1,6 +1,7 @@
|
||||
[[constraint]]
|
||||
name = "github.com/cosmos/cosmos-sdk"
|
||||
version="=0.24.2"
|
||||
branch="master"
|
||||
source="github.com/kava-labs/cosmos-sdk"
|
||||
|
||||
|
||||
# Copied from cosmos-sdk, constraints switched to overrides
|
||||
|
@ -205,8 +205,8 @@ func TestValidators(t *testing.T) {
|
||||
|
||||
require.NotEqual(t, rpc.ResultValidatorsOutput{}, resultVals)
|
||||
|
||||
require.Contains(t, resultVals.Validators[0].Address.String(), "cosmosvaladdr")
|
||||
require.Contains(t, resultVals.Validators[0].PubKey, "cosmosvalpub")
|
||||
require.Contains(t, resultVals.Validators[0].Address.String(), "kvaladdr")
|
||||
require.Contains(t, resultVals.Validators[0].PubKey, "kvalpub")
|
||||
|
||||
// --
|
||||
|
||||
@ -277,7 +277,7 @@ func TestTxs(t *testing.T) {
|
||||
require.Equal(t, http.StatusBadRequest, res.StatusCode, body)
|
||||
|
||||
// query empty
|
||||
res, body = Request(t, port, "GET", fmt.Sprintf("/txs?tag=sender_bech32='%s'", "cosmosaccaddr1jawd35d9aq4u76sr3fjalmcqc8hqygs9gtnmv3"), nil)
|
||||
res, body = Request(t, port, "GET", fmt.Sprintf("/txs?tag=sender_bech32='%s'", "kaccaddr1z2my792ekdthxfkwyks0pwl69jucf9wjq3txwj"), nil)
|
||||
require.Equal(t, http.StatusOK, res.StatusCode, body)
|
||||
require.Equal(t, "[]", body)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user