feat(badger): add support for Badger version 4. The default remains Badger version 2 to ensure backward compatibility. #1779
check.yml
on: pull_request
Check (docs-check)
2m 39s
Check (gen-check)
6m 14s
Check (lint-all)
4m 23s
Check (gofmt)
18s
Check (mod-tidy-check)
40s
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.
|