chore: fix all linting (#24101)

This commit is contained in:
Alex | Interchain Labs
2025-03-21 15:04:36 -07:00
committed by GitHub
parent b7fb7f4858
commit 7fd79df4e1
329 changed files with 1282 additions and 1251 deletions
+2
View File
@@ -85,6 +85,8 @@ func updateValidators(
updates []abci.ValidatorUpdate,
event func(route, op, evResult string),
) map[string]mockValidator {
tb.Helper()
for _, update := range updates {
str := fmt.Sprintf("%X", update.PubKey.GetEd25519())
-1
View File
@@ -79,7 +79,6 @@ func queueOperations(queuedOps OperationQueue, queuedTimeOps, futureOps []simula
}
for _, futureOp := range futureOps {
futureOp := futureOp
if futureOp.BlockHeight != 0 {
if val, ok := queuedOps[futureOp.BlockHeight]; ok {
queuedOps[futureOp.BlockHeight] = append(val, futureOp.Op)
+1
View File
@@ -15,6 +15,7 @@ import (
)
func getTestingMode(tb testing.TB) (testingMode bool, t *testing.T, b *testing.B) {
tb.Helper()
testingMode = false
if _t, ok := tb.(*testing.T); ok {