test(trie): proptest <-> alloy maps integration (#11962)

This commit is contained in:
Alexey Shekhirin
2024-10-22 15:56:17 +01:00
committed by GitHub
parent b20a271551
commit 8b1dfcca3f
3 changed files with 3 additions and 2 deletions

View File

@ -8,4 +8,3 @@ members = [
# Explicitly set the resolver to version 2, which is the default for packages with edition >= 2021
# https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html
resolver = "2"

View File

@ -198,6 +198,8 @@ fn generate_test_data(size: usize) -> HashMap<B256, U256> {
.new_tree(&mut runner)
.unwrap()
.current()
.into_iter()
.collect()
}
criterion_group!(root, calculate_root_from_leaves, calculate_root_from_leaves_repeated);

View File

@ -1276,6 +1276,6 @@ mod tests {
),
1..100,
)
)| { test(updates) });
)| { test(updates.into_iter().collect()) });
}
}