Incentives: Heartbeat transaction type #13723
reviewdog.yml
on: pull_request
reviewdog-errors
2m 7s
reviewdog-warnings
3m 4s
reviewdog-shellcheck
17s
Annotations
20 errors and 1 warning
reviewdog-errors:
daemon/algod/server.go#L327
[Lint Errors] reported by reviewdog 🐶
s.node.Config undefined (type ServerNode has no field or method Config) (typecheck)
Raw Output:
daemon/algod/server.go:327:16: s.node.Config undefined (type ServerNode has no field or method Config) (typecheck)
cfg := s.node.Config()
^
|
reviewdog-errors:
daemon/algod/api/server/router.go#L112
[Lint Errors] reported by reviewdog 🐶
node.Config undefined (type APINodeInterface has no field or method Config) (typecheck)
Raw Output:
daemon/algod/api/server/router.go:112:10: node.Config undefined (type APINodeInterface has no field or method Config) (typecheck)
if node.Config().EnablePrivateNetworkAccessHeader {
^
|
reviewdog-errors:
daemon/algod/api/server/router.go#L126
[Lint Errors] reported by reviewdog 🐶
node.Config undefined (type APINodeInterface has no field or method Config) (typecheck)
Raw Output:
daemon/algod/api/server/router.go:126:10: node.Config undefined (type APINodeInterface has no field or method Config) (typecheck)
if node.Config().EnableProfiler {
^
|
reviewdog-errors:
daemon/algod/api/server/router.go#L148
[Lint Errors] reported by reviewdog 🐶
node.Config undefined (type APINodeInterface has no field or method Config) (typecheck)
Raw Output:
daemon/algod/api/server/router.go:148:10: node.Config undefined (type APINodeInterface has no field or method Config) (typecheck)
if node.Config().EnableFollowMode {
^
|
reviewdog-errors:
daemon/algod/api/server/router.go#L152
[Lint Errors] reported by reviewdog 🐶
node.Config undefined (type APINodeInterface has no field or method Config) (typecheck)
Raw Output:
daemon/algod/api/server/router.go:152:10: node.Config undefined (type APINodeInterface has no field or method Config) (typecheck)
if node.Config().EnableExperimentalAPI {
^
|
reviewdog-errors:
daemon/algod/api/server/router.go#L163
[Lint Errors] reported by reviewdog 🐶
n.Ledger undefined (type FollowerNode has no field or method Ledger) (typecheck)
Raw Output:
daemon/algod/api/server/router.go:163:65: n.Ledger undefined (type FollowerNode has no field or method Ledger) (typecheck)
func (n FollowerNode) LedgerForAPI() v2.LedgerForAPI { return n.Ledger() }
^
|
reviewdog-errors:
daemon/algod/api/server/router.go#L169
[Lint Errors] reported by reviewdog 🐶
n.Ledger undefined (type APINode has no field or method Ledger) (typecheck)
Raw Output:
daemon/algod/api/server/router.go:169:60: n.Ledger undefined (type APINode has no field or method Ledger) (typecheck)
func (n APINode) LedgerForAPI() v2.LedgerForAPI { return n.Ledger() }
^
|
reviewdog-errors:
daemon/algod/api/server/v2/handlers.go#L1654
[Lint Errors] reported by reviewdog 🐶
previous case (typecheck)
Raw Output:
daemon/algod/api/server/v2/handlers.go:1654:7: previous case (typecheck)
case *node.CatchpointAlreadyInProgressError:
^
|
reviewdog-errors:
heartbeat/abstractions.go#L1
[Lint Errors] reported by reviewdog 🐶
: # github.com/algorand/go-algorand/heartbeat [github.com/algorand/go-algorand/heartbeat.test]
Raw Output:
heartbeat/abstractions.go:1: : # github.com/algorand/go-algorand/heartbeat [github.com/algorand/go-algorand/heartbeat.test]
|
reviewdog-errors
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
|
reviewdog-warnings:
heartbeat/abstractions.go#L1
[Lint Warnings] reported by reviewdog 🐶
: # github.com/algorand/go-algorand/heartbeat [github.com/algorand/go-algorand/heartbeat.test]
Raw Output:
heartbeat/abstractions.go:1: : # github.com/algorand/go-algorand/heartbeat [github.com/algorand/go-algorand/heartbeat.test]
|
reviewdog-warnings:
heartbeat/service.go#L167
[Lint Warnings] reported by reviewdog 🐶
cannot use pr.Voting.Sign(id, latest.Seed) (value of type "github.com/algorand/go-algorand/crypto".OneTimeSignature) as "github.com/algorand/go-algorand/crypto".HeartbeatProof value in struct literal (typecheck)
Raw Output:
heartbeat/service.go:167:14: cannot use pr.Voting.Sign(id, latest.Seed) (value of type "github.com/algorand/go-algorand/crypto".OneTimeSignature) as "github.com/algorand/go-algorand/crypto".HeartbeatProof value in struct literal (typecheck)
// Copyright (C) 2019-2024 Algorand, Inc.
|
reviewdog-warnings:
ledger/heartbeat_test.go#L92
[Lint Warnings] reported by reviewdog 🐶
cannot use otss.Sign(firstID, b0.Seed) (value of type "github.com/algorand/go-algorand/crypto".OneTimeSignature) as "github.com/algorand/go-algorand/crypto".HeartbeatProof value in struct literal
Raw Output:
ledger/heartbeat_test.go:92:16: cannot use otss.Sign(firstID, b0.Seed) (value of type "github.com/algorand/go-algorand/crypto".OneTimeSignature) as "github.com/algorand/go-algorand/crypto".HeartbeatProof value in struct literal
|
reviewdog-warnings:
ledger/heartbeat_test.go#L108
[Lint Warnings] reported by reviewdog 🐶
cannot use otss.Sign(basics.OneTimeIDForRound(30, kd), b0.Seed) (value of type "github.com/algorand/go-algorand/crypto".OneTimeSignature) as "github.com/algorand/go-algorand/crypto".HeartbeatProof value in struct literal
Raw Output:
ledger/heartbeat_test.go:108:16: cannot use otss.Sign(basics.OneTimeIDForRound(30, kd), b0.Seed) (value of type "github.com/algorand/go-algorand/crypto".OneTimeSignature) as "github.com/algorand/go-algorand/crypto".HeartbeatProof value in struct literal
|
reviewdog-warnings:
ledger/heartbeat_test.go#L119
[Lint Warnings] reported by reviewdog 🐶
cannot use otss.Sign(basics.OneTimeIDForRound(30, kd), b1.Seed) (value of type "github.com/algorand/go-algorand/crypto".OneTimeSignature) as "github.com/algorand/go-algorand/crypto".HeartbeatProof value in struct literal
Raw Output:
ledger/heartbeat_test.go:119:16: cannot use otss.Sign(basics.OneTimeIDForRound(30, kd), b1.Seed) (value of type "github.com/algorand/go-algorand/crypto".OneTimeSignature) as "github.com/algorand/go-algorand/crypto".HeartbeatProof value in struct literal
|
reviewdog-warnings:
ledger/heartbeat_test.go#L130
[Lint Warnings] reported by reviewdog 🐶
cannot use otss.Sign(basics.OneTimeIDForRound(30, kd), b1.Seed) (value of type "github.com/algorand/go-algorand/crypto".OneTimeSignature) as "github.com/algorand/go-algorand/crypto".HeartbeatProof value in struct literal
Raw Output:
ledger/heartbeat_test.go:130:16: cannot use otss.Sign(basics.OneTimeIDForRound(30, kd), b1.Seed) (value of type "github.com/algorand/go-algorand/crypto".OneTimeSignature) as "github.com/algorand/go-algorand/crypto".HeartbeatProof value in struct literal
|
reviewdog-warnings:
ledger/heartbeat_test.go#L141
[Lint Warnings] reported by reviewdog 🐶
cannot use otss.Sign(basics.OneTimeIDForRound(30, kd), b1.Seed) (value of type "github.com/algorand/go-algorand/crypto".OneTimeSignature) as "github.com/algorand/go-algorand/crypto".HeartbeatProof value in struct literal (typecheck)
Raw Output:
ledger/heartbeat_test.go:141:16: cannot use otss.Sign(basics.OneTimeIDForRound(30, kd), b1.Seed) (value of type "github.com/algorand/go-algorand/crypto".OneTimeSignature) as "github.com/algorand/go-algorand/crypto".HeartbeatProof value in struct literal (typecheck)
// Copyright (C) 2019-2024 Algorand, Inc.
|
reviewdog-warnings:
node/node.go#L46
[Lint Warnings] reported by reviewdog 🐶
could not import github.com/algorand/go-algorand/heartbeat (-: # github.com/algorand/go-algorand/heartbeat
Raw Output:
node/node.go:46:2: could not import github.com/algorand/go-algorand/heartbeat (-: # github.com/algorand/go-algorand/heartbeat
|
reviewdog-warnings:
heartbeat/service.go#L167
[Lint Warnings] reported by reviewdog 🐶
cannot use pr.Voting.Sign(id, latest.Seed) (value of type "github.com/algorand/go-algorand/crypto".OneTimeSignature) as "github.com/algorand/go-algorand/crypto".HeartbeatProof value in struct literal) (typecheck)
Raw Output:
heartbeat/service.go:167:14: cannot use pr.Voting.Sign(id, latest.Seed) (value of type "github.com/algorand/go-algorand/crypto".OneTimeSignature) as "github.com/algorand/go-algorand/crypto".HeartbeatProof value in struct literal) (typecheck)
"github.com/algorand/go-algorand/heartbeat"
^
|
reviewdog-warnings
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
|
reviewdog-warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|