Fixes get proof and verify proof #7105
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.
|