referrerpolicy=no-referrer-when-downgrade

Crate reduce

Source
Expand description

Fuzzing for the reduce algorithm.

It that reduce always return a new set og edges in which the bound is kept (edges_after <= m + n,) and the result must effectively be the same, meaning that the same support map should be computable from both.

ยงRunning

Run with cargo hfuzz run reduce. honggfuzz.

ยงDebugging a panic

Once a panic is found, it can be debugged with cargo hfuzz run-debug reduce hfuzz_workspace/reduce/*.fuzz.

Modulesยง

common ๐Ÿ”’
Common fuzzing utils.

Constantsยง

KSM ๐Ÿ”’
Or any other token type.

Functionsยง

assert_assignments_equal ๐Ÿ”’
assignment_len ๐Ÿ”’
generate_random_phragmen_assignment ๐Ÿ”’
main ๐Ÿ”’
reduce_and_compare ๐Ÿ”’

Type Aliasesยง

AccountId ๐Ÿ”’
Balance ๐Ÿ”’