mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(trie): remove proptest with arbitrary leaves (#2203)
This commit is contained in:
@ -429,15 +429,6 @@ mod tests {
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn arbitrary_root() {
|
||||
proptest!(|(state: BTreeMap<Vec<u8>, Vec<u8>>)| {
|
||||
// filter non-nibbled keys
|
||||
let state = state.into_iter().filter(|(k, _)| !k.is_empty() && k.len() % 2 == 0).collect::<BTreeMap<_, _>>();
|
||||
assert_trie_root(state.into_iter());
|
||||
});
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn test_generates_branch_node() {
|
||||
let (sender, recv) = unbounded_channel();
|
||||
|
||||
Reference in New Issue
Block a user