Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type mismatch error #124

Open
jong6598 opened this issue Jan 4, 2025 · 0 comments
Open

type mismatch error #124

jong6598 opened this issue Jan 4, 2025 · 0 comments

Comments

@jong6598
Copy link

jong6598 commented Jan 4, 2025

error[E0271]: type mismatch resolving `<HashMap<Nibbles, BranchNodeCompact, RandomState> as IntoIterator>::Item == (Nibbles, BranchNodeCompact)`
   --> /Users/kimjonghyeon/.cargo/git/checkouts/reth-36d3ea1d1152b20c/320a0b9/crates/trie/common/src/updates.rs:208:9
    |
208 |         self.storage_nodes.extend(exclude_empty_from_pair(updated_nodes));
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `nybbles::Nibbles`, found `alloy_trie::Nibbles`
    |
    = note: `alloy_trie::Nibbles` and `nybbles::Nibbles` have similar names, but are actually distinct types

error: could not compile reth-trie-common (lib) due to 17 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile odyssey v0.0.0 (/Users/kimjonghyeon/odyssey/bin/odyssey), intermediate artifacts can be found at /Users/kimjonghyeon/odyssey/target.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant