Skip to content

Return parsing error when failing to parse B prices (#2958) #1605

Return parsing error when failing to parse B prices (#2958)

Return parsing error when failing to parse B prices (#2958) #1605

Triggered via push January 24, 2024 09:40
Status Success
Total duration 8m 54s
Artifacts

test.yaml

on: push
Run tests defined for the project
8m 42s
Run tests defined for the project
Perform CodeQL analysis
4m 40s
Perform CodeQL analysis
Run editorconfig checker
13s
Run editorconfig checker
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Run tests defined for the project: eth/types/contracts.go#L49
struct field NextUnbondingLockId should be NextUnbondingLockID
Run tests defined for the project: cmd/livepeer_bench/livepeer_bench.go#L189
should replace realTimeSegCount += 1 with realTimeSegCount++
Run tests defined for the project: cmd/livepeer_cli/wizard_stats.go#L212
don't use underscores in Go names; var b_prices should be bPrices
Run tests defined for the project: cmd/livepeer_cli/wizard_bond.go#L30
var nextId should be nextID
Run tests defined for the project: eth/blockwatch/fake_log_client.go#L33
parameter 'number' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: eth/blockwatch/stack.go#L80
redundant if ...; err != nil check, just return error instead.
Run tests defined for the project: eth/blockwatch/fake_log_client.go#L38
parameter 'hash' seems to be unused, consider removing or renaming it as _
Run tests defined for the project: eth/blockwatch/block_watcher.go#L496
if block ends with a return statement, so drop this else and outdent its block
Run tests defined for the project: cmd/livepeer_cli/wizard_broadcast.go#L101
if block ends with a return statement, so drop this else and outdent its block