Skip to content

feat: added new cmd "zetatool" and sub cmd filterdeposits #3030

feat: added new cmd "zetatool" and sub cmd filterdeposits

feat: added new cmd "zetatool" and sub cmd filterdeposits #3030

Triggered via pull request March 12, 2024 18:47
Status Failure
Total duration 3m 51s
Artifacts

sast-linters.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 12 warnings
gosec-cosmos
Process completed with exit code 2.
lint: cmd/zetatool/main.go#L4
File is not `goimports`-ed (goimports)
lint: cmd/zetatool/config/config.go#L53
G306: Expect WriteFile permissions to be 0600 or less (gosec)
lint: cmd/zetatool/filterdeposit/btc.go#L54
G107: Potential HTTP request made with variable url (gosec)
lint: cmd/zetatool/filterdeposit/filterdeposit.go#L34
G107: Potential HTTP request made with variable url (gosec)
lint
issues found
gosec-cosmos
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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: cmd/zetatool/config/config.go#L11
var-naming: const ZetaUrl should be ZetaURL (revive)
lint: cmd/zetatool/config/config.go#L23
var-naming: struct field ZetaUrl should be ZetaURL (revive)
lint: cmd/zetatool/filterdeposit/filterdeposit.go#L21
var-naming: struct field txId should be txID (revive)
lint: cmd/zetatool/filterdeposit/evm.go#L50
unexported-return: exported func GetEthHashList returns unexported type []filterdeposit.deposit, which can be annoying to use (revive)
lint: cmd/zetatool/filterdeposit/filterdeposit.go#L30
var-naming: var zetaUrl should be zetaURL (revive)
lint: cmd/zetatool/filterdeposit/evm.go#L81
unexported-return: exported func GetHashListSegment returns unexported type []filterdeposit.deposit, which can be annoying to use (revive)