Skip to content

nargo check error with ecrecover #19

@s4rv4d

Description

@s4rv4d

Getting an error while importing ecrecover dependency

error: Integers must have the same bit width LHS is 64, RHS is 8
  ┌─ ../noir-array-helpers/v0.30.0/src/lib.nr:7:22
  │
7 │             value |= (arr_a[i * 8 + j] as u64) << ((56 - j * 8) as u8);
  │                      -------------------------------------------------
  │

error: Integers must have the same bit width LHS is 64, RHS is 8
   ┌─ ../noir-array-helpers/v0.30.0/src/lib.nr:14:22
   │
14 │             value |= (arr_b[(i - 4) * 8 + j] as u64) << ((56 - j * 8) as u8);
   │                      -------------------------------------------------------
   │

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions