-
Notifications
You must be signed in to change notification settings - Fork 22
fix: update bb.js URL as a tmp fix for crisp e2e tests #1298
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
416ebe7
fix: temporary patch for CRISP e2e tests
cedoor 91be1ff
fix(enclave-contracts): remove solhint-plugin-prettier from config
cedoor 39bc2b0
chore: update pnpm lockfile
cedoor 50e3aa4
chore: update CRISPVerifier.sol
cedoor c949629
style: format code
cedoor f5ce5d9
fix: increase crisp duration
hmzakhalid 53f121a
chore: add packageManager to docs/package.json
cedoor 5d86051
chore(docs): add sha512 integrity to packageManager field
cedoor 69ebedb
fix: pass public key to onCommitteePublished
ctrlc03 f3ba781
chore: update pnpm lockfile
cedoor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
examples/CRISP/packages/crisp-contracts/contracts/CRISPVerifier.sol
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
examples/CRISP/patches/@aztec__bb.js@3.0.0-nightly.20251104.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| diff --git a/dest/browser/crs/net_crs.js b/dest/browser/crs/net_crs.js | ||
| index 752d48255a066027de44bcc5867647a717711ece..f9395f00ddb82cdb3559ed153342f5cf51bdee21 100644 | ||
| --- a/dest/browser/crs/net_crs.js | ||
| +++ b/dest/browser/crs/net_crs.js | ||
| @@ -65,7 +65,7 @@ export class NetCrs { | ||
| return new Response(new Uint8Array([])); | ||
| } | ||
| const g1End = this.numPoints * 64 - 1; | ||
| - return await retry(() => fetch('https://crs.aztec.network/g1.dat', { | ||
| + return await retry(() => fetch('https://crs.aztec-cdn.foundation/g1.dat', { | ||
| headers: { | ||
| Range: `bytes=0-${g1End}`, | ||
| }, | ||
| @@ -76,7 +76,7 @@ export class NetCrs { | ||
| * Fetches the appropriate range of points from a remote source | ||
| */ | ||
| async fetchG2Data() { | ||
| - return await retry(() => fetch('https://crs.aztec.network/g2.dat', { | ||
| + return await retry(() => fetch('https://crs.aztec-cdn.foundation/g2.dat', { | ||
| cache: 'force-cache', | ||
| }), makeBackoff([5, 5, 5])); | ||
| } | ||
| @@ -125,7 +125,7 @@ export class NetGrumpkinCrs { | ||
| return new Response(new Uint8Array([])); | ||
| } | ||
| const g1End = this.numPoints * 64 - 1; | ||
| - return await fetch('https://crs.aztec.network/grumpkin_g1.dat', { | ||
| + return await fetch('https://crs.aztec-cdn.foundation/grumpkin_g1.dat', { | ||
| headers: { | ||
| Range: `bytes=0-${g1End}`, | ||
| }, | ||
| diff --git a/src/crs/net_crs.ts b/src/crs/net_crs.ts | ||
| index 51ce21ad57d8363323e6a14144bf3888e2937f45..4519a02eb205d6a14680552c9a26352e50293c3d 100644 | ||
| --- a/src/crs/net_crs.ts | ||
| +++ b/src/crs/net_crs.ts | ||
| @@ -78,7 +78,7 @@ export class NetCrs { | ||
| const g1End = this.numPoints * 64 - 1; | ||
| return await retry( | ||
| () => | ||
| - fetch('https://crs.aztec.network/g1.dat', { | ||
| + fetch('https://crs.aztec-cdn.foundation/g1.dat', { | ||
| headers: { | ||
| Range: `bytes=0-${g1End}`, | ||
| }, | ||
| @@ -94,7 +94,7 @@ export class NetCrs { | ||
| private async fetchG2Data(): Promise<Response> { | ||
| return await retry( | ||
| () => | ||
| - fetch('https://crs.aztec.network/g2.dat', { | ||
| + fetch('https://crs.aztec-cdn.foundation/g2.dat', { | ||
| cache: 'force-cache', | ||
| }), | ||
| makeBackoff([5, 5, 5]), | ||
| @@ -153,8 +153,7 @@ export class NetGrumpkinCrs { | ||
| } | ||
|
|
||
| const g1End = this.numPoints * 64 - 1; | ||
| - | ||
| - return await fetch('https://crs.aztec.network/grumpkin_g1.dat', { | ||
| + return await fetch('https://crs.aztec-cdn.foundation/grumpkin_g1.dat', { | ||
| headers: { | ||
| Range: `bytes=0-${g1End}`, | ||
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.