Skip to content

Fixing some todos #5796

Fixing some todos

Fixing some todos #5796

Triggered via pull request August 1, 2024 09:01
Status Failure
Total duration 56s
Artifacts

juno-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: core/state.go#L585
585-649 lines are duplicate of `core/state.go:655-719` (dupl)
lint: core/state.go#L655
655-719 lines are duplicate of `core/state.go:585-649` (dupl)
lint: blockchain/snap_server_interface.go#L111
Error return value is not checked (errcheck)
lint: blockchain/snap_server_interface.go#L159
Error return value is not checked (errcheck)
lint: sync/snap_server.go#L97
Error return value is not checked (errcheck)
lint: sync/snapsyncer_test.go#L281
Error return value of `http.ListenAndServe` is not checked (errcheck)
lint: sync/snapsyncer.go#L750
Function 'runStorageRangeWorker' is too long (155 > 120) (funlen)
lint: core/crypto/poseidon_hash.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint: core/crypto/poseidon_hash.go#L9
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint: core/trie/trie.go#L11
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/[email protected], golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/