ledger: add callback to clear state between commitRound retries #13754
Annotations
7 errors and 1 warning
reviewdog-golangci-lint:
ledger/store/trackerdb/testsuite/accounts_ext_kv_test.go#L1
[Lint Errors] reported by reviewdog 🐶
: # github.com/algorand/go-algorand/ledger/store/trackerdb/testsuite [github.com/algorand/go-algorand/ledger/store/trackerdb/testsuite.test]
Raw Output:
ledger/store/trackerdb/testsuite/accounts_ext_kv_test.go:1: : # github.com/algorand/go-algorand/ledger/store/trackerdb/testsuite [github.com/algorand/go-algorand/ledger/store/trackerdb/testsuite.test]
|
reviewdog-golangci-lint:
ledger/store/trackerdb/testsuite/utils_test.go#L106
[Lint Errors] reported by reviewdog 🐶
cannot use &mockDB{…} (value of type *mockDB) as trackerdb.Store value in assignment: *mockDB does not implement trackerdb.Store (missing method TransactionContextWithRetryClearFn)
Raw Output:
ledger/store/trackerdb/testsuite/utils_test.go:106:7: cannot use &mockDB{…} (value of type *mockDB) as trackerdb.Store value in assignment: *mockDB does not implement trackerdb.Store (missing method TransactionContextWithRetryClearFn)
|
reviewdog-golangci-lint:
ledger/store/trackerdb/testsuite/utils_test.go#L132
[Lint Errors] reported by reviewdog 🐶
cannot use aux (variable of type struct{*mockDB; *kvstore}) as generickv.dbForMigrations value in argument to generickv.RunMigrations: struct{*mockDB; *kvstore} does not implement generickv.dbForMigrations (missing method TransactionContextWithRetryClearFn)
Raw Output:
ledger/store/trackerdb/testsuite/utils_test.go:132:38: cannot use aux (variable of type struct{*mockDB; *kvstore}) as generickv.dbForMigrations value in argument to generickv.RunMigrations: struct{*mockDB; *kvstore} does not implement generickv.dbForMigrations (missing method TransactionContextWithRetryClearFn)
|
reviewdog-golangci-lint:
ledger/store/trackerdb/testsuite/utils_test.go#L169
[Lint Errors] reported by reviewdog 🐶
cannot use db (variable of type *mockDB) as trackerdb.Store value in argument to generickv.MakeWriter: *mockDB does not implement trackerdb.Store (missing method TransactionContextWithRetryClearFn)
Raw Output:
ledger/store/trackerdb/testsuite/utils_test.go:169:32: cannot use db (variable of type *mockDB) as trackerdb.Store value in argument to generickv.MakeWriter: *mockDB does not implement trackerdb.Store (missing method TransactionContextWithRetryClearFn)
|
reviewdog-golangci-lint:
ledger/store/trackerdb/testsuite/utils_test.go#L240
[Lint Errors] reported by reviewdog 🐶
cannot use db (variable of type *mockDB) as trackerdb.Store value in argument to generickv.MakeWriter: *mockDB does not implement trackerdb.Store (missing method TransactionContextWithRetryClearFn)
Raw Output:
ledger/store/trackerdb/testsuite/utils_test.go:240:72: cannot use db (variable of type *mockDB) as trackerdb.Store value in argument to generickv.MakeWriter: *mockDB does not implement trackerdb.Store (missing method TransactionContextWithRetryClearFn)
|
reviewdog-golangci-lint:
ledger/store/trackerdb/testsuite/utils_test.go#L347
[Lint Errors] reported by reviewdog 🐶
cannot use aux (variable of type struct{*mockDB; *kvstore}) as generickv.dbForMigrations value in argument to generickv.RunMigrations: struct{*mockDB; *kvstore} does not implement generickv.dbForMigrations (missing method TransactionContextWithRetryClearFn) (typecheck)
Raw Output:
ledger/store/trackerdb/testsuite/utils_test.go:347:38: cannot use aux (variable of type struct{*mockDB; *kvstore}) as generickv.dbForMigrations value in argument to generickv.RunMigrations: struct{*mockDB; *kvstore} does not implement generickv.dbForMigrations (missing method TransactionContextWithRetryClearFn) (typecheck)
// Copyright (C) 2019-2024 Algorand, Inc.
|
reviewdog-golangci-lint
reviewdog exited with status code: 1
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading