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

withdrawal_safety heuristic #309

withdrawal_safety heuristic

withdrawal_safety heuristic #309

Triggered via pull request October 26, 2023 08:48
Status Failure
Total duration 4m 12s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

hygeine.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: internal/engine/addressing_test.go#L1
: # github.com/base-org/pessimism/internal/engine_test [github.com/base-org/pessimism/internal/engine.test]
lint: internal/engine/registry/balance_enforce_test.go#L1
: # github.com/base-org/pessimism/internal/engine/registry_test [github.com/base-org/pessimism/internal/engine/registry.test]
lint: internal/engine/registry/withdrawal_safety.go#L151
line is 143 characters (lll)
lint: e2e/setup.go#L44
field `ctrl` is unused (unused)
lint: internal/engine/registry/withdrawal_safety.go#L66
unnecessary leading newline (whitespace)
lint: internal/common/math.go#L8
mnd: Magic number: 100, in <argument> detected (gomnd)
lint: internal/engine/registry/withdrawal_safety.go#L174
mnd: Magic number: 5, in <argument> detected (gomnd)
lint: internal/engine/engine.go#L105
mnd: Magic number: 10, in <argument> detected (gomnd)
lint: internal/engine/engine.go#L104
mnd: Magic number: 1000, in <assign> detected (gomnd)
lint: internal/engine/registry/withdrawal_safety.go#L86
ineffectual assignment to err (ineffassign)
markdown-linting
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: internal/engine/heuristic/heuristic.go#L67
unused-parameter: parameter 'td' seems to be unused, consider removing or renaming it as _ (revive)