Skip to content

WIP Move Host DB to SQL Impl #8311

WIP Move Host DB to SQL Impl

WIP Move Host DB to SQL Impl #8311

Triggered via pull request February 20, 2024 17:26
Status Failure
Total duration 34s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 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/common/storage/database/init/sqlite/sqlite.go#L27
pattern *.sql: no matching files found (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#L129
r.db.GetBatchBySequenceNumber undefined (type *sql.DB has no field or method GetBatchBySequenceNumber) (typecheck)
lint: go/host/l2/batchrepository.go#L155
r.db.GetBatchBySequenceNumber undefined (type *sql.DB has no field or method GetBatchBySequenceNumber) (typecheck)
lint: go/host/l2/batchrepository.go#L178
r.db.AddBatch undefined (type *sql.DB has no field or method AddBatch) (typecheck)
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