run make format (#6153)

This commit is contained in:
Alessio Treglia
2020-05-06 13:47:53 +02:00
committed by GitHub
parent c211488b0b
commit b09eef7298
3 changed files with 7 additions and 4 deletions
+2 -2
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
+2 -1
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"
)
+3 -1
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