run make format (#6153)

This commit is contained in:
Alessio Treglia 2020-05-06 12:47:53 +01:00 committed by GitHub
parent c211488b0b
commit b09eef7298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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"
)

View File

@ -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