-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: fix contract membership check (#3034)
- Loading branch information
1 parent
e79724e
commit 8ebdec5
Showing
13 changed files
with
61 additions
and
71 deletions.
There are no files selected for viewing
This file contains 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 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 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
64 changes: 13 additions & 51 deletions
64
yarn-project/noir-private-kernel/src/__snapshots__/index.test.ts.snap
This file contains 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 |
---|---|---|
@@ -1,61 +1,23 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Noir compatibility tests (interop_testing.nr) Complete Address matches Noir 1`] = ` | ||
CompleteAddress { | ||
"address": AztecAddress { | ||
"buffer": { | ||
"data": [ | ||
26, | ||
110, | ||
137, | ||
176, | ||
52, | ||
71, | ||
135, | ||
19, | ||
199, | ||
169, | ||
241, | ||
199, | ||
127, | ||
184, | ||
10, | ||
249, | ||
149, | ||
247, | ||
8, | ||
246, | ||
242, | ||
8, | ||
191, | ||
53, | ||
43, | ||
77, | ||
218, | ||
33, | ||
36, | ||
115, | ||
145, | ||
9, | ||
], | ||
"type": "Buffer", | ||
}, | ||
}, | ||
"partialAddress": Fr { | ||
"value": 11517109422981783267562923429265051163864675433397402239476609863059550730459n, | ||
exports[`Noir compatibility tests (interop_testing.nr) Complete Address matches Noir 1`] = `"0x1a6e89b034478713c7a9f1c77fb80af995f708f6f208bf352b4dda2124739109"`; | ||
|
||
exports[`Noir compatibility tests (interop_testing.nr) Complete Address matches Noir 2`] = ` | ||
Point { | ||
"kind": "point", | ||
"x": Fr { | ||
"value": 1n, | ||
}, | ||
"publicKey": Point { | ||
"kind": "point", | ||
"x": Fr { | ||
"value": 1n, | ||
}, | ||
"y": Fr { | ||
"value": 2n, | ||
}, | ||
"y": Fr { | ||
"value": 2n, | ||
}, | ||
} | ||
`; | ||
|
||
exports[`Noir compatibility tests (interop_testing.nr) Complete Address matches Noir 3`] = `"0x197673f31940878b2d6c681223dbed9cfacd2f722cbe30155225b2ada17778db"`; | ||
|
||
exports[`Noir compatibility tests (interop_testing.nr) ComputeContractAddressFromPartial matches Noir 1`] = `"0x0b487ff2900ae1178e131bfe333fdbc351beef658f7c0d62db2801429b1aab75"`; | ||
|
||
exports[`Noir compatibility tests (interop_testing.nr) Function leaf matches noir 1`] = `"0x1ad8ece7f40e63d011ae47c6ce6cdaf31d632a23f5cf35bbeaaf69c8302afdbc"`; | ||
|
||
exports[`Noir compatibility tests (interop_testing.nr) TxRequest Hash matches Noir 1`] = `"0x0b487ff2900ae1178e131bfe333fdbc351beef658f7c0d62db2801429b1aab75"`; |
This file contains 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 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 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
2 changes: 1 addition & 1 deletion
2
yarn-project/noir-private-kernel/src/target/private_kernel_init.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
yarn-project/noir-private-kernel/src/target/private_kernel_init_simulated.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
yarn-project/noir-private-kernel/src/target/private_kernel_inner.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
yarn-project/noir-private-kernel/src/target/private_kernel_inner_simulated.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
yarn-project/noir-private-kernel/src/target/private_kernel_ordering.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
yarn-project/noir-private-kernel/src/target/private_kernel_ordering_simulated.json
Large diffs are not rendered by default.
Oops, something went wrong.