From 7a623ccea32bce26def7ff3a40d3cdef665b5833 Mon Sep 17 00:00:00 2001 From: rhuairahrighairigh Date: Thu, 20 Sep 2018 15:44:13 -0400 Subject: [PATCH] use cosmos fork --- Gopkg.lock | 7 ++++--- Gopkg.toml | 3 ++- internal/lcd/lcd_test.go | 6 +++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Gopkg.lock b/Gopkg.lock index 587ffdd9..19ef5a10 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -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" diff --git a/Gopkg.toml b/Gopkg.toml index 10a5eb73..bd062831 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -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 diff --git a/internal/lcd/lcd_test.go b/internal/lcd/lcd_test.go index 28f62789..961eef54 100644 --- a/internal/lcd/lcd_test.go +++ b/internal/lcd/lcd_test.go @@ -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)