Skip to content

core: Rename 'InArray' to 'HasCapability' (#3118) #1865

core: Rename 'InArray' to 'HasCapability' (#3118)

core: Rename 'InArray' to 'HasCapability' (#3118) #1865

Triggered via push August 7, 2024 16:15
Status Success
Total duration 20m 14s
Artifacts

test.yaml

on: push
Run tests defined for the project
20m 2s
Run tests defined for the project
Perform CodeQL analysis
3m 26s
Perform CodeQL analysis
Run editorconfig checker
6s
Run editorconfig checker
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Run tests defined for the project
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run tests defined for the project: cmd/devtool/devtool/devtool_utils.go#L303
should omit type *big.Int from declaration of var amount; it will be inferred from the right-hand side
Run tests defined for the project: cmd/livepeer_bench/livepeer_bench.go#L189
should replace realTimeSegCount += 1 with realTimeSegCount++
Run tests defined for the project: eth/watchers/timewatcher.go#L225
redefinition of the built-in function new
Run tests defined for the project: eth/types/contracts.go#L49
struct field NextUnbondingLockId should be NextUnbondingLockID
Run tests defined for the project: eth/watchers/stub.go#L329
parameter 'delegator' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: eth/watchers/stub.go#L319
parameter 'delegator' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: eth/watchers/stub.go#L393
parameter 'filter' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: eth/watchers/stub.go#L392
parameter 'filter' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: eth/blockwatch/fake_client.go#L94
parameter 'q' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: eth/blockwatch/fake_client.go#L48
should drop = 0 from declaration of var startTimestep; it is the zero value
Run tests defined for the project
Unexpected input(s) 'gcov_ignore', valid inputs are ['token', 'codecov_yml_path', 'commit_parent', 'directory', 'disable_file_fixes', 'disable_search', 'disable_safe_directory', 'dry_run', 'env_vars', 'exclude', 'fail_ci_if_error', 'file', 'files', 'flags', 'git_service', 'handle_no_reports_found', 'job_code', 'name', 'network_filter', 'network_prefix', 'os', 'override_branch', 'override_build', 'override_build_url', 'override_commit', 'override_pr', 'plugin', 'plugins', 'report_code', 'root_dir', 'slug', 'url', 'use_legacy_upload_endpoint', 'use_oidc', 'verbose', 'version', 'working-directory']