Skip to content

Upgrade 0Chain GoSDK to staging #3698

Upgrade 0Chain GoSDK to staging

Upgrade 0Chain GoSDK to staging #3698

Triggered via pull request September 1, 2023 21:40
Status Failure
Total duration 3m 37s
Artifacts

tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 2 warnings
Unit Tests
b.Terms.MinLockDemand undefined (type zcncore.Terms has no field or method MinLockDemand)
Unit Tests
cannot use b.StakePoolSettings.NumDelegates (variable of type *int) as int value in assignment
Unit Tests
cannot use b.StakePoolSettings.ServiceCharge (variable of type *float64) as float64 value in assignment
Unit Tests
Process completed with exit code 1.
Lints: code/go/0chain.net/blobbercore/config/config.go#L1
: # github.com/0chain/blobber/code/go/0chain.net/blobbercore/config
Lints: code/go/0chain.net/blobbercore/config/settings.go#L121
b.Terms.MinLockDemand undefined (type zcncore.Terms has no field or method MinLockDemand)
Lints: code/go/0chain.net/blobbercore/config/settings.go#L122
cannot use b.StakePoolSettings.NumDelegates (variable of type *int) as int value in assignment
Lints: code/go/0chain.net/blobbercore/config/settings.go#L136
cannot use b.StakePoolSettings.ServiceCharge (variable of type *float64) as float64 value in assignment (typecheck)
Lints: code/go/0chain.net/blobbercore/datastore/postgres.go#L8
could not import github.com/0chain/blobber/code/go/0chain.net/blobbercore/config (-: # github.com/0chain/blobber/code/go/0chain.net/blobbercore/config
Lints: code/go/0chain.net/blobbercore/config/settings.go#L121
b.Terms.MinLockDemand undefined (type zcncore.Terms has no field or method MinLockDemand)
Lints: code/go/0chain.net/blobbercore/config/settings.go#L122
cannot use b.StakePoolSettings.NumDelegates (variable of type *int) as int value in assignment
Lints: code/go/0chain.net/blobbercore/config/settings.go#L136
cannot use b.StakePoolSettings.ServiceCharge (variable of type *float64) as float64 value in assignment) (typecheck)
Lints: code/go/0chain.net/core/transaction/entity.go#L8
could not import github.com/0chain/blobber/code/go/0chain.net/blobbercore/config (-: # github.com/0chain/blobber/code/go/0chain.net/blobbercore/config
Lints: code/go/0chain.net/blobbercore/config/settings.go#L121
b.Terms.MinLockDemand undefined (type zcncore.Terms has no field or method MinLockDemand)
Unit Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lints
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/