feat: zeta supply checks #1549
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)
|