Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with 0.34.0 #87

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading