Skip to content

[BLADE-97] Refactor tx signer #1088

[BLADE-97] Refactor tx signer

[BLADE-97] Refactor tx signer #1088

Triggered via pull request February 14, 2024 09:50
Status Failure
Total duration 1m 1s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Linter: network/dial/dial_queue_test.go#L164
ranges should only be cuddled with assignments used in the iteration (wsl)
Linter: network/dial/dial_queue_test.go#L181
expressions should not be cuddled with blocks (wsl)
Linter: server/server.go#L27
could not import github.com/0xPolygon/polygon-edge/crypto (-: # github.com/0xPolygon/polygon-edge/crypto
Linter: crypto/txsigner.go#L88
undefined: pub) (typecheck)
Linter: server/server.go#L685
j.GetConsensus undefined (type *jsonRPCHub has no field or method GetConsensus) (typecheck)
Linter: server/server.go#L690
j.BeginTxn undefined (type *jsonRPCHub has no field or method BeginTxn) (typecheck)
Linter: server/server.go#L717
j.GetHeaderByHash undefined (type *jsonRPCHub has no field or method GetHeaderByHash) (typecheck)
Linter: server/server.go#L722
j.GetConsensus undefined (type *jsonRPCHub has no field or method GetConsensus) (typecheck)
Linter: server/server.go#L727
j.BeginTxn undefined (type *jsonRPCHub has no field or method BeginTxn) (typecheck)
Linter: server/server.go#L761
j.GetHeaderByHash undefined (type *jsonRPCHub has no field or method GetHeaderByHash) (typecheck)
Linter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Linter
Restore cache failed: Dependencies file is not found in /home/runner/work/blade/blade. Supported file pattern: go.sum