Skip to content

Commit 7d649fc

Browse files
committed
update to 0.80.0
1 parent f29fbd6 commit 7d649fc

File tree

7 files changed

+221
-160
lines changed

7 files changed

+221
-160
lines changed

apps/interface/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"_chore": "pnpm i"
1515
},
1616
"dependencies": {
17-
"@aztec/aztec.js": "0.72.1",
18-
"@aztec/foundation": "0.72.1",
17+
"@aztec/aztec.js": "0.80.0",
18+
"@aztec/foundation": "0.80.0",
1919
"@hpke/core": "^1.7.1",
2020
"@hpke/dhkem-x25519": "^1.6.1",
2121
"@noir-lang/acvm_js": "1.0.0-beta.3",

packages/contracts/hardhat.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const config: HardhatUserConfig = {
1717
},
1818
noir: {
1919
version: "1.0.0-beta.3",
20-
bbVersion: "0.72.1",
2120
},
2221
networks: {},
2322
etherscan: {

packages/contracts/noir/common/Nargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
name = "common"
33
type = "lib"
44
authors = ["Oleh Misarosh <[email protected]>"]
5-
compiler_version = ">=0.39.0"
65

76
[dependencies]
8-
protocol_types = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "aztec-packages-v0.72.1", directory = "noir-projects/noir-protocol-circuits/crates/types" }
9-
bignum = { tag = "v0.6.0", git = "https://github.com/noir-lang/noir-bignum/" }
10-
nodash = { tag = "v0.40.0", git = "https://github.com/olehmisar/nodash/" }
7+
protocol_types = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v0.80.0", directory = "noir-projects/noir-protocol-circuits/crates/types" }
8+
bignum = { tag = "v0.6.1", git = "https://github.com/noir-lang/noir-bignum/" }
9+
nodash = { tag = "v0.40.2", git = "https://github.com/olehmisar/nodash/" }

packages/contracts/noir/rollup/Nargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
name = "rollup"
33
type = "bin"
44
authors = ["Oleh Misarosh <[email protected]"]
5-
compiler_version = ">=0.39.0"
65

76
[dependencies]
8-
protocol_types = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "aztec-packages-v0.72.1", directory = "noir-projects/noir-protocol-circuits/crates/types" }
7+
protocol_types = { git = "https://github.com/AztecProtocol/aztec-packages/", tag = "v0.80.0", directory = "noir-projects/noir-protocol-circuits/crates/types" }
98
common = { path = "../common" }

packages/contracts/package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"hardhat": "^2.22.16",
3030
"hardhat-deploy": "^0.11.45",
3131
"hardhat-gas-reporter": "^1.0.10",
32-
"hardhat-plugin-noir": "^0.3.0-next.0",
32+
"hardhat-plugin-noir": "^0.4.0",
3333
"json-stringify-deterministic": "^1.0.12",
3434
"lodash": "^4.17.21",
3535
"ms": "^2.1.3",
@@ -43,19 +43,20 @@
4343
"typescript": "^5.3.3"
4444
},
4545
"dependencies": {
46-
"@aztec/aztec.js": "0.72.1",
47-
"@aztec/bb.js": "0.72.1",
48-
"@aztec/circuits.js": "0.72.1",
49-
"@aztec/foundation": "0.72.1",
50-
"@aztec/kv-store": "0.72.1",
51-
"@aztec/merkle-tree": "0.72.1",
46+
"@aztec/aztec.js": "0.80.0",
47+
"@aztec/bb.js": "0.80.0",
48+
"@aztec/foundation": "0.80.0",
49+
"@aztec/kv-store": "0.80.0",
50+
"@aztec/merkle-tree": "0.80.0",
51+
"@aztec/stdlib": "0.80.0",
5252
"@hpke/core": "^1.7.1",
5353
"@hpke/dhkem-x25519": "^1.6.1",
5454
"@noir-lang/noir_js": "1.0.0-beta.3",
5555
"@repo/utils": "workspace:*",
5656
"ethers": "^6.13.4",
5757
"ky": "^1.7.2",
5858
"lodash-es": "^4.17.21",
59+
"ox": "^0.6.12",
5960
"ts-essentials": "^9.4.1",
6061
"zod": "^3.23.8"
6162
}

packages/contracts/sdk/NonMembershipTree.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export class NonMembershipTree {
1212
"@aztec/merkle-tree"
1313
);
1414
const { NullifierLeaf, NullifierLeafPreimage } = await import(
15-
"@aztec/circuits.js"
15+
// @ts-ignore hardhat does not support ESM
16+
"@aztec/stdlib/trees"
1617
);
1718
// @ts-ignore hardhat does not support ESM
1819
const { AztecLmdbStore } = await import("@aztec/kv-store/lmdb");
@@ -93,7 +94,7 @@ export class NonMembershipTree {
9394
leaf_index: bigIntToString(lowLeafIndex),
9495
sibling_path: lowLeafSiblingPath
9596
.toFields()
96-
.map((x) => bigIntToString(x.toBigInt())),
97+
.map((x: Fr) => bigIntToString(x.toBigInt())),
9798
},
9899
};
99100
return witness;

0 commit comments

Comments
 (0)