From b09eef7298dd18c4418a796a5e12028586e9d4ba Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Wed, 6 May 2020 12:47:53 +0100 Subject: [PATCH] run make format (#6153) --- x/ibc/07-tendermint/types/header.go | 4 ++-- x/slashing/client/cli/cli_test.go | 3 ++- x/slashing/client/testutil/helpers.go | 4 +++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/x/ibc/07-tendermint/types/header.go b/x/ibc/07-tendermint/types/header.go index b436e1f36c..4a88eee16b 100644 --- a/x/ibc/07-tendermint/types/header.go +++ b/x/ibc/07-tendermint/types/header.go @@ -16,8 +16,8 @@ var _ clientexported.Header = Header{} // Header defines the Tendermint consensus Header type Header struct { - tmtypes.SignedHeader `json:"signed_header" yaml:"signed_header"` // contains the commitment root - ValidatorSet *tmtypes.ValidatorSet `json:"validator_set" yaml:"validator_set"` + tmtypes.SignedHeader `json:"signed_header" yaml:"signed_header"` // contains the commitment root + ValidatorSet *tmtypes.ValidatorSet `json:"validator_set" yaml:"validator_set"` } // ClientType defines that the Header is a Tendermint consensus algorithm diff --git a/x/slashing/client/cli/cli_test.go b/x/slashing/client/cli/cli_test.go index 1d5d8ffec1..326c73d1fb 100644 --- a/x/slashing/client/cli/cli_test.go +++ b/x/slashing/client/cli/cli_test.go @@ -3,11 +3,12 @@ package cli_test import ( - "github.com/cosmos/cosmos-sdk/x/slashing/client/testutil" "testing" + "github.com/stretchr/testify/require" + "github.com/cosmos/cosmos-sdk/x/slashing/client/testutil" cli "github.com/cosmos/cosmos-sdk/tests/cli" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/slashing/client/testutil/helpers.go b/x/slashing/client/testutil/helpers.go index c31f27a5ec..48ce2401a1 100644 --- a/x/slashing/client/testutil/helpers.go +++ b/x/slashing/client/testutil/helpers.go @@ -2,10 +2,12 @@ package testutil import ( "fmt" + + "github.com/stretchr/testify/require" + "github.com/cosmos/cosmos-sdk/tests" "github.com/cosmos/cosmos-sdk/tests/cli" "github.com/cosmos/cosmos-sdk/x/slashing" - "github.com/stretchr/testify/require" ) // QuerySigningInfo returns the signing info for a validator