Skip to content

Snapshot looup lock lookup #4662

Snapshot looup lock lookup

Snapshot looup lock lookup #4662

Triggered via pull request December 26, 2024 03:07
Status Failure
Total duration 2m 26s
Artifacts

lint.yml

on: pull_request
Matrix: golang-lint
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
golang-lint (1.23.x, ubuntu-latest): core/state/snapshot/lookup.go#L101
var `layerIDCounter` is unused (unused)
golang-lint (1.23.x, ubuntu-latest): core/state/snapshot/lookup.go#L102
var `layerIDRemoveCounter` is unused (unused)
golang-lint (1.23.x, ubuntu-latest): core/state/snapshot/snapshot.go#L198
field `enableLookUp` is unused (unused)
golang-lint (1.23.x, ubuntu-latest): core/state/reader.go#L209
S1002: should omit comparison to bool constant, can be simplified to `!types.AreSlimAccountsEqual(account, lookupAccount)` (gosimple)
golang-lint (1.23.x, ubuntu-latest): core/state/reader.go#L228
S1002: should omit comparison to bool constant, can be simplified to `!types.AreSlimAccountsEqual(account, lookupAccount)` (gosimple)
golang-lint (1.23.x, ubuntu-latest): core/state/snapshot/difflayer.go#L179
unreachable: unreachable code (govet)
golang-lint (1.23.x, ubuntu-latest): core/state/snapshot/tree_test.go#L570
SA4006: this value of `err` is never used (staticcheck)
golang-lint (1.23.x, ubuntu-latest)
Process completed with exit code 2.
golang-lint (1.23.x, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636