CodeChain-io / CodeChain-io/rust-merkle-trie

Add malicious case of unit tests on Merkle proof

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Rust
Stars
13
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Currently, all tests generates only _well-formed_ proofs (though they may be _invalid_). However we can fabricate _ill-formed_ proofs. We need to test whether the verifier can return ***false*** (not ***true*** nor ***runtime error***) in such malicious case.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.