Skip to content

feat(badger): add support for Badger version 4. The default remains Badger version 2 to ensure backward compatibility. #1779

feat(badger): add support for Badger version 4. The default remains Badger version 2 to ensure backward compatibility.

feat(badger): add support for Badger version 4. The default remains Badger version 2 to ensure backward compatibility. #1779

Triggered via pull request July 31, 2024 17:43
Status Failure
Total duration 6m 24s
Artifacts

check.yml

on: pull_request
Check (docs-check)
2m 39s
Check (docs-check)
Check (gen-check)
6m 14s
Check (gen-check)
Check (lint-all)
4m 23s
Check (lint-all)
Check (gofmt)
18s
Check (gofmt)
Check (mod-tidy-check)
40s
Check (mod-tidy-check)
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Check (lint-all): blockstore/badger/blockstore_test.go#L26
cannot use versions.DefaultOptions (value of type func(path string, readonly bool, badgerVersion int) versions.Options) as func(path string, readonly bool) versions.Options value in argument to newBlockstore
Check (lint-all): blockstore/badger/blockstore_test.go#L27
cannot use versions.DefaultOptions (value of type func(path string, readonly bool, badgerVersion int) versions.Options) as func(path string, readonly bool) versions.Options value in argument to openBlockstore
Check (lint-all): blockstore/badger/blockstore_test.go#L31
not enough arguments in call to versions.DefaultOptions
Check (lint-all): blockstore/badger/blockstore_test.go#L45
cannot use versions.DefaultOptions (value of type func(path string, readonly bool, badgerVersion int) versions.Options) as func(path string, readonly bool) versions.Options value in argument to newBlockstore
Check (lint-all): blockstore/badger/blockstore_test.go#L263
cannot use versions.DefaultOptions (value of type func(path string, readonly bool, badgerVersion int) versions.Options) as func(string, bool) versions.Options value in argument to testMove
Check (lint-all): blockstore/badger/blockstore_test.go#L271
not enough arguments in call to versions.DefaultOptions
Check (lint-all)
Process completed with exit code 1.