Skip to content

Commit

Permalink
compatibility with 0.34.0
Browse files Browse the repository at this point in the history
  • Loading branch information
signorecello committed Sep 18, 2024
1 parent 3533cdc commit a1d5416
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7,160 deletions.
Binary file modified vite-hardhat/bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion vite-hardhat/hardhat.config.cts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export async function generateArtifacts(path = './circuit', crsPath = './crs') {
const circuit = await compileCircuit(path);
const decompressed = gunzipSync(Buffer.from(circuit.bytecode, 'base64'));
const api = await Barretenberg.new({ threads: 8 });
const [exact, total, subgroup] = await api.acirGetCircuitSizes(decompressed);
const [exact, total, subgroup] = await api.acirGetCircuitSizes(decompressed, false);
const subgroupSize = Math.pow(2, Math.ceil(Math.log2(total)));

const crs = await Crs.new(subgroupSize + 1, crsPath);
Expand Down
8 changes: 4 additions & 4 deletions vite-hardhat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"test": "test/test.sh"
},
"dependencies": {
"@noir-lang/backend_barretenberg": "^0.31.0",
"@noir-lang/noir_js": "^0.31.0",
"@noir-lang/noir_wasm": "^0.31.0",
"@noir-lang/types": "^0.31.0",
"@noir-lang/backend_barretenberg": "0.33.0",
"@noir-lang/noir_js": "0.33.0",
"@noir-lang/noir_wasm": "0.33.0",
"@noir-lang/types": "0.33.0",
"@nomicfoundation/hardhat-ignition": "^0.15.5",
"@nomicfoundation/hardhat-ignition-viem": "^0.15.5",
"@tanstack/query-sync-storage-persister": "5.0.5",
Expand Down
Loading

0 comments on commit a1d5416

Please sign in to comment.