Skip to content

feat: zeta supply checks #1549

feat: zeta supply checks

feat: zeta supply checks #1549

Triggered via pull request November 7, 2023 23:23
Status Failure
Total duration 7m 50s
Artifacts

sast-linters.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 6 warnings
lint: zetaclient/zeta_supply_checker.go#L4
File is not `goimports`-ed (goimports)
lint: zetaclient/zeta_supply_checker.go#L176
ST1016: methods on the same type should have the same receiver name (seen 1x "b", 5x "zs") (stylecheck)
lint
issues found
gosec-cosmos
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
gosec
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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: zetaclient/query.go#L149
var-naming: var tmUrl should be tmURL (revive)
lint: zetaclient/zeta_supply_checker.go#L88
receiver-naming: receiver name b should be consistent with previous receiver name zs for ZetaSupplyChecker (revive)
lint: zetaclient/zeta_supply_checker.go#L50
range: should omit 2nd value from range; this loop is equivalent to `for chainID := range ...` (revive)