Skip to content

Fixes get proof and verify proof #7105

Fixes get proof and verify proof

Fixes get proof and verify proof #7105

Triggered via pull request November 26, 2024 13:00
Status Failure
Total duration 3m 1s
Artifacts

juno-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
lint: core/trie/proof.go#L258
paramTypeCombine: func(root *felt.Felt, firstKey *felt.Felt, keys, values []*felt.Felt, proof *ProofNodeSet, hash hashFunc) (bool, error) could be replaced with func(root, firstKey *felt.Felt, keys, values []*felt.Felt, proof *ProofNodeSet, hash hashFunc) (bool, error) (gocritic)
lint: core/trie/node.go#L147
cyclomatic complexity 21 of func `(*Node).Merge` is high (> 15) (gocyclo)
lint: core/trie/proof.go#L317
Magic number: 251, in <argument> detected (mnd)
lint: core/trie/proof_test.go#L29
TestProve's subtests should call t.Parallel (tparallel)
lint
Process completed with exit code 2.