Skip to content

Implement GET /v2/blocks #10

Implement GET /v2/blocks

Implement GET /v2/blocks #10

Triggered via pull request October 16, 2024 01:31
Status Failure
Total duration 3m 20s
Artifacts

reviewdog.yml

on: pull_request
reviewdog-errors
58s
reviewdog-errors
reviewdog-warnings
3m 11s
reviewdog-warnings
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 2 warnings
[Lint Errors] api/handlers.go#L1475: api/handlers.go#L1475
`recieved` is a misspelling of `received` (misspell)
[Lint Errors] api/converter_utils.go#L808: api/converter_utils.go#L808
ineffectual assignment to errorArr (ineffassign)
[Lint Errors] idb/postgres/postgres.go#L735: idb/postgres/postgres.go#L735
ineffectual assignment to partNumber (ineffassign)
reviewdog-errors: api/handlers.go#L1475
`recieved` is a misspelling of `received` (misspell)
reviewdog-errors: api/converter_utils.go#L808
ineffectual assignment to errorArr (ineffassign)
reviewdog-errors: idb/postgres/postgres.go#L735
ineffectual assignment to partNumber (ineffassign)
reviewdog-errors: api/handlers.go#L1475
`recieved` is a misspelling of `received` (misspell)
reviewdog-errors: api/converter_utils.go#L808
ineffectual assignment to errorArr (ineffassign)
reviewdog-errors: idb/postgres/postgres.go#L735
ineffectual assignment to partNumber (ineffassign)
reviewdog-errors
reviewdog exited with status code: 1
reviewdog-warnings: api/handlers_test.go#L665
cannot use mockIndexer (variable of type *mocks.IndexerDb) as idb.IndexerDb value in argument to testServerImplementation: *mocks.IndexerDb does not implement idb.IndexerDb (missing method Blocks)
reviewdog-warnings: api/handlers_test.go#L743
cannot use mockIndexer (variable of type *mocks.IndexerDb) as idb.IndexerDb value in argument to testServerImplementation: *mocks.IndexerDb does not implement idb.IndexerDb (missing method Blocks)
reviewdog-warnings: api/handlers_test.go#L954
cannot use mockIndexer (variable of type *mocks.IndexerDb) as idb.IndexerDb value in argument to testServerImplementation: *mocks.IndexerDb does not implement idb.IndexerDb (missing method Blocks)
reviewdog-warnings: api/handlers_test.go#L996
cannot use mockIndexer (variable of type *mocks.IndexerDb) as idb.IndexerDb value in argument to testServerImplementation: *mocks.IndexerDb does not implement idb.IndexerDb (missing method Blocks)
reviewdog-warnings: api/handlers_test.go#L1181
cannot use mockIndexer (variable of type *mocks.IndexerDb) as idb.IndexerDb value in argument to testServerImplementation: *mocks.IndexerDb does not implement idb.IndexerDb (missing method Blocks)
reviewdog-warnings: api/handlers_test.go#L1228
cannot use mockIndexer (variable of type *mocks.IndexerDb) as idb.IndexerDb value in argument to testServerImplementation: *mocks.IndexerDb does not implement idb.IndexerDb (missing method Blocks)
reviewdog-warnings: api/handlers_test.go#L1276
cannot use mockIndexer (variable of type *mocks.IndexerDb) as idb.IndexerDb value in argument to testServerImplementation: *mocks.IndexerDb does not implement idb.IndexerDb (missing method Blocks) (typecheck)
reviewdog-warnings: api/middlewares/migration_middleware_test.go#L34
cannot use mockIndexer (variable of type *mocks.IndexerDb) as idb.IndexerDb value in argument to MakeMigrationMiddleware: *mocks.IndexerDb does not implement idb.IndexerDb (missing method Blocks)
reviewdog-warnings: api/middlewares/migration_middleware_test.go#L52
cannot use mockIndexer (variable of type *mocks.IndexerDb) as idb.IndexerDb value in argument to MakeMigrationMiddleware: *mocks.IndexerDb does not implement idb.IndexerDb (missing method Blocks) (typecheck)
reviewdog-errors
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
reviewdog-warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/