You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running nargo check and nargo compile (in ecdh/ directory) without making this change. Both failed with the following error:
error: Non-comptime variable `x` referenced in comptime code
┌─ /home/user/nargo/github.com/noir-lang/ec/v0.1.2/src/tecurve.nr:104:22
│
104 │ self.a * x * x + y * y == 1 + self.d * x * x * y * y
│ - Non-comptime variables can't be used in comptime code
│
after changing the type to "lib" the error is gone for ONLY nargo compile. The error persists for nargo check.
zk-kit.noir/packages/ecdh/Nargo.toml
Line 3 in e7f493f
The ECDH library is currently marked as a binary crate and so it cannot be imported as a dependency from another crate.
The text was updated successfully, but these errors were encountered: