chore: bump linter (#25424)

This commit is contained in:
Alex | Cosmos Labs
2025-10-10 08:52:49 -04:00
committed by GitHub
parent 67d2d0ae97
commit ee19321c80
44 changed files with 82 additions and 82 deletions
+5 -5
View File
@@ -750,7 +750,7 @@ func TestABCI_Query_SimulateTx(t *testing.T) {
anteOpt := func(bapp *baseapp.BaseApp) {
bapp.SetAnteHandler(func(ctx sdk.Context, tx sdk.Tx, simulate bool) (newCtx sdk.Context, err error) {
newCtx = ctx.WithGasMeter(storetypes.NewGasMeter(gasConsumed))
return
return newCtx, err
})
}
suite := NewBaseAppSuite(t, anteOpt)
@@ -810,7 +810,7 @@ func TestABCI_Query_SimulateTx(t *testing.T) {
func TestABCI_InvalidTransaction(t *testing.T) {
anteOpt := func(bapp *baseapp.BaseApp) {
bapp.SetAnteHandler(func(ctx sdk.Context, tx sdk.Tx, simulate bool) (newCtx sdk.Context, err error) {
return
return newCtx, err
})
}
@@ -1048,7 +1048,7 @@ func TestABCI_MaxBlockGasLimits(t *testing.T) {
count, _ := parseTxMemo(t, tx)
newCtx.GasMeter().ConsumeGas(uint64(count), "counter-ante")
return
return newCtx, err
})
}
@@ -1149,7 +1149,7 @@ func TestABCI_GasConsumptionBadTx(t *testing.T) {
return newCtx, errorsmod.Wrap(sdkerrors.ErrUnauthorized, "ante handler failure")
}
return
return newCtx, err
})
}
@@ -1188,7 +1188,7 @@ func TestABCI_Query(t *testing.T) {
bapp.SetAnteHandler(func(ctx sdk.Context, tx sdk.Tx, simulate bool) (newCtx sdk.Context, err error) {
store := ctx.KVStore(capKey1)
store.Set(key, value)
return
return newCtx, err
})
}
+1 -1
View File
@@ -214,7 +214,7 @@ func isProtov2(md grpc.MethodDesc) (isV2Type bool, err error) {
// we are allowed to pass in a nil context and nil request, since we are not actually executing the request.
// this is made possible by the doNotExecute function which immediately returns without calling other handlers.
_, _ = md.Handler(nil, nil, pullRequestType, doNotExecute)
return
return isV2Type, err
}
// RequestFullNameFromMethodDesc returns the fully-qualified name of the request message of the provided service's method.