feat: migrate mock signer service from xlayer-node #19
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
|