Skip to content

WIP: Batching

WIP: Batching #1808

GitHub Actions / Lint Warnings completed Sep 5, 2023 in 1s

reviewdog [Lint Warnings] report

reported by reviewdog 🐶

Findings (2)

idb/postgres/indexerDb.go|25 col 5| experimentalCommitLevel is unused (deadcode)
idb/postgres/indexerDb.go|22 col 5| var uncommitted is unused (unused)

Filtered Findings (3)

util/test/account_testutil.go|61 col 2| SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
config/datadir.go|5 col 2| SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
util/util.go|7 col 2| SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)

Annotations

Check failure on line 25 in idb/postgres/indexerDb.go

See this annotation in the file changed.

@github-actions github-actions / Lint Warnings

[Lint Warnings] idb/postgres/indexerDb.go#L25

`experimentalCommitLevel` is unused (deadcode)
Raw output
idb/postgres/indexerDb.go:25:5: `experimentalCommitLevel` is unused (deadcode)
var experimentalCommitLevel = uncommitted // serializable // uncommitted
    ^

Check failure on line 22 in idb/postgres/indexerDb.go

See this annotation in the file changed.

@github-actions github-actions / Lint Warnings

[Lint Warnings] idb/postgres/indexerDb.go#L22

var `uncommitted` is unused (unused)
Raw output
idb/postgres/indexerDb.go:22:5: var `uncommitted` is unused (unused)
var uncommitted = pgx.TxOptions{IsoLevel: pgx.ReadUncommitted}
    ^