Skip to content

send graph sync messages to both validators and relayers #144

send graph sync messages to both validators and relayers

send graph sync messages to both validators and relayers #144

Triggered via push May 21, 2024 18:56
Status Success
Total duration 25s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
lint: util/base58/doc.go#L9
File is not `gofmt`-ed with `-s` (gofmt)
lint: go.mod#L5
replacement are not allowed: github.com/dgraph-io/badger/v4 (gomoddirectives)
lint: util/base58/base58.go#L36
Duplicate words (j) found (dupword)
lint: util/base58/base58.go#L13
bigRadix is a global variable (gochecknoglobals)
lint: util/base58/base58.go#L27
bigRadix10 is a global variable (gochecknoglobals)
lint: util/base58/base58.go#L15
Magic number: 58, in <argument> detected (gomnd)
lint: util/base58/base58.go#L16
Magic number: 58, in <argument> detected (gomnd)
lint: util/base58/base58.go#L17
Magic number: 58, in <argument> detected (gomnd)
lint: util/base58/base58.go#L97
Magic number: 1.365658237309761, in <argument> detected (gomnd)
lint: util/base58/base58check.go#L29
Magic number: 4, in <argument> detected (gomnd)
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: util/base58/base58check_test.go#L61
redefines-builtin-id: redefinition of the built-in function len (revive)
lint: crypto/blake2b_test.go#L18
unexported-return: exported func NewBlake2bXOF returns unexported type *crypto.xof, which can be annoying to use (revive)
lint: crypto/rand.go#L10
unexported-return: exported func RandReader returns unexported type *crypto.randReader, which can be annoying to use (revive)
lint: crypto/rand.go#L32
increment-decrement: should replace set[b] += 1 with set[b]++ (revive)
lint: crypto/signature.go#L66
receiver-naming: receiver name publicKey should be consistent with previous receiver name privateKey for Key (revive)
lint: crypto/signature.go#L81
receiver-naming: receiver name publicKey should be consistent with previous receiver name privateKey for Key (revive)
lint: config/reader.go#L14
var-naming: const KernelNetworkId should be KernelNetworkID (revive)
lint: storage/badger_validation.go#L73
increment-decrement: should replace total += 1 with total++ (revive)
lint: storage/badger_validation.go#L88
increment-decrement: should replace invalid += 1 with invalid++ (revive)
lint: storage/badger_validation.go#L108
increment-decrement: should replace invalid += 1 with invalid++ (revive)