filecoin-project / filecoin-project/ref-fvm

Improve fuzzing in the {K,H,}AMT

Open
#2,132 0 comments 0 reactions 0 assignees View on GitHub
Topic: Testing
Dominant language
Rust
Stars
422
Forks
154
PR merge metrics
PR metrics pending

Description

We have fuzzers for the KAMT, HAMT, and AMT but these fuzzers only test set/get/remove/flush. Importantly, they don't test:

1. Flush and reload from CID (just periodic flushes).
2. `set_root`.
3. Iteration.
4. Clearing.

See https://github.com/filecoin-project/ref-fvm/blob/master/ipld/kamt/fuzz/fuzz_targets/common.rs (and the same for the hamt and amt).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.