Skip to content

Fix setting fixed price per session with initial price 0 #1460

Fix setting fixed price per session with initial price 0

Fix setting fixed price per session with initial price 0 #1460

Triggered via pull request October 31, 2023 15:20
Status Failure
Total duration 7m 23s
Artifacts

test.yaml

on: pull_request
Run tests defined for the project
4m 29s
Run tests defined for the project
Perform CodeQL analysis
7m 8s
Perform CodeQL analysis
Run editorconfig checker
10s
Run editorconfig checker
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Run tests defined for the project
Process completed with exit code 1.
Run tests defined for the project: discovery/discovery.go#L64
should omit 2nd value from range; this loop is equivalent to `for i := range ...`
Run tests defined for the project: cmd/livepeer_bench/livepeer_bench.go#L241
should replace realTimeSegCount += 1 with realTimeSegCount++
Run tests defined for the project: discovery/stub.go#L32
exported func StubOrchestratorPool returns unexported type *discovery.stubOrchestratorPool, which can be annoying to use
Run tests defined for the project: discovery/wh_discovery.go#L32
exported func NewWebhookPool returns unexported type *discovery.webhookPool, which can be annoying to use
Run tests defined for the project: eth/accountmanager_test.go#L191
redefinition of the built-in function new
Run tests defined for the project: eth/client.go#L335
if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
Run tests defined for the project: verification/verify_test.go#L59
parameter 'params' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: monitor/census.go#L878
context.Context should be the first parameter of a function
Run tests defined for the project: discovery/discovery.go#L36
exported func NewOrchestratorPool returns unexported type *discovery.orchestratorPool, which can be annoying to use