Enhance GetBridgeDBInstance: Add Error Handling for LevelDB Initialization #3185
Annotations
17 errors and 8 warnings
build:
bridge/setu/listener/base.go#L103
multiple-value util.GetBridgeDBInstance(viper.GetString(util.BridgeDBFlag)) (value of type (*leveldb.DB, error)) in single-value context
|
build:
bridge/setu/processor/base.go#L94
multiple-value util.GetBridgeDBInstance(viper.GetString(util.BridgeDBFlag)) (value of type (*leveldb.DB, error)) in single-value context
|
build
Process completed with exit code 2.
|
e2e-tests (ubuntu-20.04)
Process completed with exit code 14.
|
e2e-tests (ubuntu-20.04)
multiple-value util.GetBridgeDBInstance(viper.GetString(util.BridgeDBFlag)) (value of type (*leveldb.DB, error)) in single-value context
|
e2e-tests (ubuntu-20.04)
multiple-value util.GetBridgeDBInstance(viper.GetString(util.BridgeDBFlag)) (value of type (*leveldb.DB, error)) in single-value context
|
e2e-tests (ubuntu-20.04)
Process completed with exit code 1.
|
lint:
bridge/setu/listener/base.go#L103
multiple-value util.GetBridgeDBInstance(viper.GetString(util.BridgeDBFlag)) (value of type (*leveldb.DB, error)) in single-value context (typecheck)
|
lint:
bridge/cmd/start.go#L16
could not import github.com/maticnetwork/heimdall/bridge/setu/listener (-: # github.com/maticnetwork/heimdall/bridge/setu/listener
|
lint:
bridge/setu/listener/base.go#L103
multiple-value util.GetBridgeDBInstance(viper.GetString(util.BridgeDBFlag)) (value of type (*leveldb.DB, error)) in single-value context) (typecheck)
|
lint:
bridge/cmd/start.go#L17
could not import github.com/maticnetwork/heimdall/bridge/setu/processor (-: # github.com/maticnetwork/heimdall/bridge/setu/processor
|
lint:
bridge/setu/processor/base.go#L94
multiple-value util.GetBridgeDBInstance(viper.GetString(util.BridgeDBFlag)) (value of type (*leveldb.DB, error)) in single-value context) (typecheck)
|
lint:
bridge/setu/processor/clerk_test.go#L24
could not import github.com/maticnetwork/heimdall/bridge/setu/listener (-: # github.com/maticnetwork/heimdall/bridge/setu/listener
|
lint:
bridge/setu/listener/base.go#L103
multiple-value util.GetBridgeDBInstance(viper.GetString(util.BridgeDBFlag)) (value of type (*leveldb.DB, error)) in single-value context) (typecheck)
|
lint:
bridge/setu/processor/base.go#L94
multiple-value util.GetBridgeDBInstance(viper.GetString(util.BridgeDBFlag)) (value of type (*leveldb.DB, error)) in single-value context (typecheck)
|
lint:
bridge/setu/broadcaster/broadcaster_test.go#L118
TestBroadcastToHeimdall's subtests should call t.Parallel (tparallel)
|
lint
Process completed with exit code 2.
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
e2e-tests (ubuntu-20.04)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
e2e-tests (ubuntu-20.04)
No files were found with the provided path: code.tar.gz. No artifacts will be uploaded.
|
e2e-tests (ubuntu-20.04)
Restore cache failed: Dependencies file is not found in /home/runner/work/heimdall/heimdall. Supported file pattern: go.sum
|
e2e-tests (ubuntu-20.04)
No files were found with the provided path: matic-cli/devnet/logs. No artifacts will be uploaded.
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|