Skip to content

add operations in safemath to fix rewards overflow #16

add operations in safemath to fix rewards overflow

add operations in safemath to fix rewards overflow #16

Triggered via pull request October 19, 2023 12:13
Status Failure
Total duration 2m 48s
Artifacts

ci.yml

on: pull_request
prep-test
4s
prep-test
Matrix: go-test
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 18 warnings
[golangci-core] core/safemath/safe_math.go#L228: core/safemath/safe_math.go#L228
File is not `gofmt`-ed with `-s` (gofmt)
[golangci-core] core/safemath/safe_math.go#L223: core/safemath/safe_math.go#L223
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint (core)
reviewdog exited with status code: 1
prep-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
go-test (constraints)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (stringify)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (apputils)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (codegen)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (lo)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (logger)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (ierrors)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (log)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (web)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (ds)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (app)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (crypto)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (ads)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (core)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (kvstore)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (runtime)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum
go-test (serializer)
Restore cache failed: Dependencies file is not found in /home/runner/work/hive.go/hive.go. Supported file pattern: go.sum