Skip to content

Commit c1a4c38

Browse files
committed
fix: use ec library instead of standard library
1 parent e6aba21 commit c1a4c38

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/NIGHTLY_CANARY_DIED.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: "Tests fail on latest Nargo nightly release"
3+
assignees: TomAFrench, kashbrti, jtriley-eth
34
---
45

56
The tests on this Noir project have started failing when using the latest nightly release of the Noir compiler. This likely means that there have been breaking changes for which this project needs to be updated to take into account.
67

7-
Check the [{{env.WORKFLOW_NAME}}]({{env.WORKFLOW_URL}}) workflow for details.
8+
Check the [{{env.WORKFLOW_NAME}}]({{env.WORKFLOW_URL}}) workflow for details.

Nargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ authors = [""]
55
compiler_version = ">=0.36.0"
66

77
[dependencies]
8+
ec = { tag = "v0.1.2", git = "https://github.com/noir-lang/ec" }

src/lib.nr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use std::default::Default;
2-
use std::ec::consts::te::baby_jubjub;
3-
use std::ec::tecurve::affine::Point as TEPoint;
42
use std::hash::Hasher;
53

4+
use ec::{consts::te::baby_jubjub, tecurve::affine::Point as TEPoint};
5+
66
pub fn eddsa_verify<H>(
77
pub_key_x: Field,
88
pub_key_y: Field,

0 commit comments

Comments
 (0)