diff --git a/internal/state/helpers_test.go b/internal/state/helpers_test.go index cbb547237..4df5b874f 100644 --- a/internal/state/helpers_test.go +++ b/internal/state/helpers_test.go @@ -312,8 +312,8 @@ func (app *testApp) FinalizeBlock(req abci.RequestFinalizeBlock) abci.ResponseFi AppVersion: 1, }, }, - Events: []abci.Event{}, - TxResults: resTxs, + Events: []abci.Event{}, + TxResults: resTxs, } } diff --git a/internal/state/indexer/sink/kv/kv_test.go b/internal/state/indexer/sink/kv/kv_test.go index 2c8296c54..d4b110f4a 100644 --- a/internal/state/indexer/sink/kv/kv_test.go +++ b/internal/state/indexer/sink/kv/kv_test.go @@ -339,9 +339,9 @@ func txResultWithEvents(events []abci.Event) *abci.TxResult { Index: 0, Tx: tx, Result: abci.ExecTxResult{ - Data: []byte{0}, - Code: abci.CodeTypeOK, - Log: "", + Data: []byte{0}, + Code: abci.CodeTypeOK, + Log: "", Events: events, }, } diff --git a/internal/state/indexer/sink/psql/psql_test.go b/internal/state/indexer/sink/psql/psql_test.go index c0771966d..72d14b5d8 100644 --- a/internal/state/indexer/sink/psql/psql_test.go +++ b/internal/state/indexer/sink/psql/psql_test.go @@ -266,9 +266,9 @@ func txResultWithEvents(events []abci.Event) *abci.TxResult { Index: 0, Tx: types.Tx("HELLO WORLD"), Result: abci.ExecTxResult{ - Data: []byte{0}, - Code: abci.CodeTypeOK, - Log: "", + Data: []byte{0}, + Code: abci.CodeTypeOK, + Log: "", Events: events, }, } diff --git a/internal/state/indexer/tx/kv/kv_bench_test.go b/internal/state/indexer/tx/kv/kv_bench_test.go index 1c3f0c314..7007d5bb5 100644 --- a/internal/state/indexer/tx/kv/kv_bench_test.go +++ b/internal/state/indexer/tx/kv/kv_bench_test.go @@ -44,9 +44,9 @@ func BenchmarkTxSearch(b *testing.B) { Index: 0, Tx: types.Tx(string(txBz)), Result: abci.ExecTxResult{ - Data: []byte{0}, - Code: abci.CodeTypeOK, - Log: "", + Data: []byte{0}, + Code: abci.CodeTypeOK, + Log: "", Events: events, }, } diff --git a/internal/state/indexer/tx/kv/kv_test.go b/internal/state/indexer/tx/kv/kv_test.go index c77a94686..8004c0f27 100644 --- a/internal/state/indexer/tx/kv/kv_test.go +++ b/internal/state/indexer/tx/kv/kv_test.go @@ -323,9 +323,9 @@ func txResultWithEvents(events []abci.Event) *abci.TxResult { Index: 0, Tx: tx, Result: abci.ExecTxResult{ - Data: []byte{0}, - Code: abci.CodeTypeOK, - Log: "", + Data: []byte{0}, + Code: abci.CodeTypeOK, + Log: "", Events: events, }, } @@ -347,9 +347,9 @@ func benchmarkTxIndex(txsCount int64, b *testing.B) { Index: txIndex, Tx: tx, Result: abci.ExecTxResult{ - Data: []byte{0}, - Code: abci.CodeTypeOK, - Log: "", + Data: []byte{0}, + Code: abci.CodeTypeOK, + Log: "", Events: []abci.Event{}, }, } diff --git a/tools/tools.go b/tools/tools.go index 0e61333ec..9fc291d99 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -1,3 +1,4 @@ +//go:build tools // +build tools // This file uses the recommended method for tracking developer tools in a go module.