Closed
Description
I'm still getting those issues when trying to compile with 0.24.0:
error: Types in a binary operation should match, but found u64 and Field
┌─ /Users/leonidlogvinov/nargo/github.com/aragonzkresearch/noir-trie-proofsv0.1.3/lib/src/lib.nr:240:31
│
240 │ let safe_length = in_range*node.len() + (1-in_range)*node_length;
│ -
│
error: Types in a binary operation should match, but found u64 and Field
┌─ /Users/leonidlogvinov/nargo/github.com/aragonzkresearch/noir-trie-proofsv0.1.3/lib/src/lib.nr:171:32
│
171 │ for i in 0..(path.len()/MAX_TRIE_NODE_LENGTH - 1)
│ -
│
error: Types in a binary operation should match, but found Field and u64
┌─ /Users/leonidlogvinov/nargo/github.com/aragonzkresearch/noir-trie-proofsv0.1.3/lib/src/lib.nr:209:24
│
209 │ assert(key_ptr == 2*key.len()); // All of the key has been exhausted.
│ --
│
error: Types in a binary operation should match, but found u64 and Field
┌─ /Users/leonidlogvinov/nargo/github.com/aragonzkresearch/noir-trie-proofsv0.1.3/lib/src/lib.nr:84:32
│
84 │ for i in 0..(path.len()/MAX_TRIE_NODE_LENGTH - 1)
│ -
│
error: Types in a binary operation should match, but found Field and u64
┌─ /Users/leonidlogvinov/nargo/github.com/aragonzkresearch/noir-trie-proofsv0.1.3/lib/src/lib.nr:123:24
│
123 │ assert(key_ptr == 2*key.len()); // All of the key has been exhausted.
│ --
│
Aborting due to 5 previous errors
Metadata
Metadata
Assignees
Labels
No labels