Skip to content

feat: migrate mock signer service from xlayer-node #19

feat: migrate mock signer service from xlayer-node

feat: migrate mock signer service from xlayer-node #19

Triggered via pull request November 20, 2024 01:50
Status Failure
Total duration 2m 17s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: signer/service/service.go#L178
Consider pre-allocating `validiumBatchData` (prealloc)
lint: signer/config/config.go#L81
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
lint: signer/config/config.go#L23
ST1003: struct field ChainId should be ChainID (stylecheck)
lint: signer/service/type.go#L17
ST1003: struct field RefOrderId should be RefOrderID (stylecheck)
lint: signer/service/type.go#L61
ST1003: struct field RollupId should be RollupID (stylecheck)
lint: signer/main.go#L59
ST1003: func HttpService should be HTTPService (stylecheck)
lint: signer/service/service.go#L170
ST1008: error should be returned as the last argument (stylecheck)
lint: signer/service/service.go#L218
ST1008: error should be returned as the last argument (stylecheck)
lint: signer/main.go#L16
directive `//nolint:gosec` is unused for linter "gosec" (nolintlint)
lint
issues found
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/xlayer-cdk/xlayer-cdk. Supported file pattern: go.sum