format the test net doc #140
Annotations
10 errors and 11 warnings
lint:
kernel/boot.go#L17
Error return value of `node.loopCacheQueue` is not checked (errcheck)
|
lint:
kernel/cosi.go#L94
Error return value of `chain.node.Peer.SendTransactionRequestMessage` is not checked (errcheck)
|
lint:
kernel/cosi.go#L413
Error return value of `chain.AppendCosiAction` is not checked (errcheck)
|
lint:
kernel/cosi.go#L524
Error return value of `chain.AppendCosiAction` is not checked (errcheck)
|
lint:
kernel/cosi.go#L649
Error return value of `s.Signature.AggregateResponse` is not checked (errcheck)
|
lint:
kernel/cosi.go#L682
Error return value of `chain.AddSnapshot` is not checked (errcheck)
|
lint:
kernel/cosi.go#L792
Error return value of `chain.AddSnapshot` is not checked (errcheck)
|
lint:
kernel/cosi.go#L912
Error return value of `node.chain.AppendCosiAction` is not checked (errcheck)
|
lint:
kernel/cosi.go#L938
Error return value of `chain.AppendCosiAction` is not checked (errcheck)
|
lint:
kernel/cosi.go#L961
Error return value of `node.chain.AppendCosiAction` is not checked (errcheck)
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint:
kernel/election.go#L224
unused-parameter: parameter 's' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
kernel/round.go#L32
unused-parameter: parameter 'store' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
kernel/node.go#L504
unused-parameter: parameter 'peerId' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
kernel/genesis_test.go#L69
var-naming: struct field NodeId should be NodeID (revive)
|
lint:
kernel/round_test.go#L15
var-naming: var nodeId should be nodeID (revive)
|
lint:
kernel/self.go#L59
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
|
lint:
kernel/election_test.go#L16
var-naming: const mainnetId should be mainnetID (revive)
|
lint:
kernel/round.go#L16
var-naming: struct field NodeId should be NodeID (revive)
|
lint:
kernel/mint.go#L446
increment-decrement: should replace valid += 1 with valid++ (revive)
|
lint:
kernel/topology.go#L66
increment-decrement: should replace node.TopoCounter.count += 1 with node.TopoCounter.count++ (revive)
|