Add test suite for client TxBuilder (#6460)

* Add tests

* Fix gofmt

* typecast tests

* Fix review comments

* typecast SigVerificableTx

* cleanup

* Refactor

* Linting and move encode/decode tests to suite

* Fix lint

* Move test suite

* godoc

* Refactor

* Refactor

Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
This commit is contained in:
Anil Kumar Kammari
2020-06-29 14:05:30 +00:00
committed by GitHub
co-authored by Aaron Craelius Aaron Craelius
parent 1c575c95b2
commit 74eb56dd2a
3 changed files with 131 additions and 28 deletions
+2 -1
View File
@@ -4,12 +4,13 @@ import (
"encoding/base64"
"testing"
"github.com/stretchr/testify/require"
"github.com/cosmos/cosmos-sdk/client"
simappparams "github.com/cosmos/cosmos-sdk/simapp/params"
"github.com/cosmos/cosmos-sdk/tests"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/stretchr/testify/require"
)
func TestGetCommandEncode(t *testing.T) {