Skip to content

WIP Move Host DB to SQL Impl #8344

WIP Move Host DB to SQL Impl

WIP Move Host DB to SQL Impl #8344

Triggered via pull request February 26, 2024 14:13
Status Failure
Total duration 37s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: go/enclave/storage/db_init.go#L13
could not import github.com/ten-protocol/go-ten/go/config (-: # github.com/ten-protocol/go-ten/go/config
lint: go/config/host_config.go#L135
unknown field LevelDBPath in struct literal of type HostConfig) (typecheck)
lint: go/common/host/host.go#L8
could not import github.com/ten-protocol/go-ten/go/config (-: # github.com/ten-protocol/go-ten/go/config
lint: go/config/host_config.go#L135
unknown field LevelDBPath in struct literal of type HostConfig) (typecheck)
lint: go/enclave/rpc/rpc_encryption_manager.go#L6
could not import github.com/ten-protocol/go-ten/go/config (-: # github.com/ten-protocol/go-ten/go/config
lint: go/config/host_config.go#L135
unknown field LevelDBPath in struct literal of type HostConfig) (typecheck)
lint: go/host/l2/batchrepository.go#L6
could not import github.com/ten-protocol/go-ten/go/host/storage/hostdb (-: # github.com/ten-protocol/go-ten/go/host/storage/hostdb
lint: go/host/storage/hostdb/rollups.go#L29
db.kvStore undefined (type *sql.DB has no field or method kvStore)
lint: go/host/storage/hostdb/rollups.go#L31
db.writeRollupHeader undefined (type *sql.DB has no field or method writeRollupHeader)
lint: go/host/storage/hostdb/rollups.go#L35
db.writeRollupByBlockHash undefined (type *sql.DB has no field or method writeRollupByBlockHash)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/go-ten/go-ten. Supported file pattern: go.sum
lint: go/common/storage/database/init/sqlite/sqlite.go#L83
unused-parameter: parameter 'logger' seems to be unused, consider removing or renaming it as _ (revive)