style: make lint-fix everything (#15631)
Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
Julien Robert
parent
d9e04c56c6
commit
b009a75eea
@@ -1104,7 +1104,7 @@ type storeParams struct {
|
||||
initialVersion uint64
|
||||
}
|
||||
|
||||
func newStoreParams(key types.StoreKey, db dbm.DB, typ types.StoreType, initialVersion uint64) storeParams { // nolint
|
||||
func newStoreParams(key types.StoreKey, db dbm.DB, typ types.StoreType, initialVersion uint64) storeParams {
|
||||
return storeParams{
|
||||
key: key,
|
||||
db: db,
|
||||
|
||||
+1
-1
@@ -163,7 +163,7 @@ func (g *infiniteGasMeter) GasConsumed() Gas {
|
||||
}
|
||||
|
||||
// GasConsumedToLimit returns the gas consumed from the GasMeter since the gas is not confined to a limit.
|
||||
// NOTE: This behaviour is only called when recovering from panic when BlockGasMeter consumes gas past the limit.
|
||||
// NOTE: This behavior is only called when recovering from panic when BlockGasMeter consumes gas past the limit.
|
||||
func (g *infiniteGasMeter) GasConsumedToLimit() Gas {
|
||||
return g.consumed
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ func NewSmtCommitmentOp(key []byte, proof *ics23.CommitmentProof) CommitmentOp {
|
||||
}
|
||||
|
||||
// CommitmentOpDecoder takes a merkle.ProofOp and attempts to decode it into a CommitmentOp ProofOperator
|
||||
// The proofOp.Data is just a marshalled CommitmentProof. The Key of the CommitmentOp is extracted
|
||||
// The proofOp.Data is just a marshaled CommitmentProof. The Key of the CommitmentOp is extracted
|
||||
// from the unmarshalled proof.
|
||||
func CommitmentOpDecoder(pop cmtprotocrypto.ProofOp) (merkle.ProofOperator, error) {
|
||||
var spec *ics23.ProofSpec
|
||||
|
||||
Reference in New Issue
Block a user