use cosmos fork

This commit is contained in:
rhuairahrighairigh 2018-09-20 15:44:13 -04:00
parent 1f9fd16dfa
commit 7a623ccea3
3 changed files with 9 additions and 7 deletions

7
Gopkg.lock generated
View File

@ -48,7 +48,8 @@
revision = "d4cc87b860166d00d6b5b9e0d3b3d71d6088d4d4" revision = "d4cc87b860166d00d6b5b9e0d3b3d71d6088d4d4"
[[projects]] [[projects]]
digest = "1:485c3fd6d387a850672e86b89eabf32d0363890652c1b499898c925a5e8a02ce" branch = "master"
digest = "1:7622ce3b0650fb5d6c8769e3229232d8604c4526aff828e6b749f3b1f4188478"
name = "github.com/cosmos/cosmos-sdk" name = "github.com/cosmos/cosmos-sdk"
packages = [ packages = [
"baseapp", "baseapp",
@ -91,8 +92,8 @@
"x/stake/types", "x/stake/types",
] ]
pruneopts = "UT" pruneopts = "UT"
revision = "1c38c70468ec721e3a555ba2f3bf5f9da31f0cc9" revision = "0d5f3f95664a5ef1565ec3bd67e5b6aaf46d6aeb"
version = "v0.24.2" source = "github.com/kava-labs/cosmos-sdk"
[[projects]] [[projects]]
digest = "1:a2c1d0e43bd3baaa071d1b9ed72c27d78169b2b269f71c105ac4ba34b1be4a39" digest = "1:a2c1d0e43bd3baaa071d1b9ed72c27d78169b2b269f71c105ac4ba34b1be4a39"

View File

@ -1,6 +1,7 @@
[[constraint]] [[constraint]]
name = "github.com/cosmos/cosmos-sdk" 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 # Copied from cosmos-sdk, constraints switched to overrides

View File

@ -205,8 +205,8 @@ func TestValidators(t *testing.T) {
require.NotEqual(t, rpc.ResultValidatorsOutput{}, resultVals) require.NotEqual(t, rpc.ResultValidatorsOutput{}, resultVals)
require.Contains(t, resultVals.Validators[0].Address.String(), "cosmosvaladdr") require.Contains(t, resultVals.Validators[0].Address.String(), "kvaladdr")
require.Contains(t, resultVals.Validators[0].PubKey, "cosmosvalpub") 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) require.Equal(t, http.StatusBadRequest, res.StatusCode, body)
// query empty // 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, http.StatusOK, res.StatusCode, body)
require.Equal(t, "[]", body) require.Equal(t, "[]", body)