VerifyProofs #5251
Annotations
10 errors and 1 warning
core/trie/proof_test.go#L81
81-109 lines are duplicate of `core/trie/proof_test.go:111-158` (dupl)
|
core/trie/proof_test.go#L111
111-158 lines are duplicate of `core/trie/proof_test.go:81-109` (dupl)
|
core/trie/proof.go#L268
Function 'ProofToPath' has too many statements (52 > 50) (funlen)
|
core/trie/proof.go#L307
commentedOutCode: may want to remove commented-out code (gocritic)
|
core/trie/proof.go#L359
commentedOutCode: may want to remove commented-out code (gocritic)
|
core/trie/proof.go#L173
paramTypeCombine: func(root *felt.Felt, keyFelt *felt.Felt, value *felt.Felt, proofs []ProofNode, hash hashFunc) bool could be replaced with func(root, keyFelt, value *felt.Felt, proofs []ProofNode, hash hashFunc) bool (gocritic)
|
core/trie/proof.go#L212
paramTypeCombine: func(root *felt.Felt, keys []*felt.Felt, values []*felt.Felt, proofs [2][]ProofNode, proofKeys [2]*felt.Felt, hash hashFunc) (bool, error) could be replaced with func(root *felt.Felt, keys, values []*felt.Felt, proofs [2][]ProofNode, proofKeys [2]*felt.Felt, hash hashFunc) (bool, error) (gocritic)
|
core/trie/proof.go#L399
paramTypeCombine: func(leftProof, rightProof []StorageNode, keys []*felt.Felt, values []*felt.Felt) (*Trie, error) could be replaced with func(leftProof, rightProof []StorageNode, keys, values []*felt.Felt) (*Trie, error) (gocritic)
|
core/trie/trie.go#L355
commentedOutCode: may want to remove commented-out code (gocritic)
|
core/trie/key.go#L104
File is not `gofumpt`-ed (gofumpt)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/[email protected], 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/.
|
The logs for this run have expired and are no longer available.
Loading