style: add gci linter (#16605)

This commit is contained in:
Jacob Gadikian
2023-06-22 15:35:51 +00:00
committed by GitHub
parent 5de6710803
commit 6afece635c
617 changed files with 1243 additions and 1104 deletions
+1
View File
@@ -8,6 +8,7 @@
package bcrypt
// The code is a port of Provos and Mazières's C implementation.
import (
"crypto/subtle"
"errors"
+2 -1
View File
@@ -8,11 +8,12 @@ import (
"io"
"math/big"
errorsmod "cosmossdk.io/errors"
"github.com/cometbft/cometbft/crypto"
secp256k1 "github.com/decred/dcrd/dcrec/secp256k1/v4"
"golang.org/x/crypto/ripemd160" //nolint: staticcheck // keep around for backwards compatibility
errorsmod "cosmossdk.io/errors"
"github.com/cosmos/cosmos-sdk/codec"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
"github.com/cosmos/cosmos-sdk/types/errors"
+1 -2
View File
@@ -6,10 +6,9 @@ package secp256k1
import (
"errors"
"github.com/cometbft/cometbft/crypto"
secp256k1 "github.com/decred/dcrd/dcrec/secp256k1/v4"
"github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa"
"github.com/cometbft/cometbft/crypto"
)
// Sign creates an ECDSA signature on curve Secp256k1, using SHA256 on the msg.