Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

fix(eth): Fix issue with validateArg() under certain scenarios (#1393) #4509

fix(eth): Fix issue with validateArg() under certain scenarios (#1393)

fix(eth): Fix issue with validateArg() under certain scenarios (#1393) #4509

Triggered via push January 6, 2024 23:58
Status Failure
Total duration 2m 54s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

pipeline.yml

on: push
Matrix: ci
codecov(uploader, polaris-linux-latest)
0s
codecov(uploader, polaris-linux-latest)
Fit to window
Zoom out
Zoom in

Annotations

6 errors
ci (lint, polaris-linux-latest, 1.21.5): eth/core/precompile/method_validation.go#L37
cognitive complexity 23 of func `validateArg` is high (> 20) (gocognit)
ci (lint, polaris-linux-latest, 1.21.5)
Process completed with exit code 2.
ci (test-unit-race, polaris-linux-latest, 1.21.5)
The job was canceled because "lint_polaris-linux-latest" failed.
ci (test-unit-race, polaris-linux-latest, 1.21.5)
The operation was canceled.
ci (test-unit-cover, polaris-linux-latest, 1.21.5)
The job was canceled because "lint_polaris-linux-latest" failed.
ci (test-unit-cover, polaris-linux-latest, 1.21.5)
The operation was canceled.