Conversation
|
|
||
| function loadVerificationKey(uint256 vk, uint256 _omegaInverseLoc) internal pure virtual override(BASE) { | ||
| VK.loadVerificationKey(vk, _omegaInverseLoc); | ||
| VK.loadVerificationKey(vk, _omegaInverseLoc); |
There was a problem hiding this comment.
Any changes here are due to new forge fmt rules
Benchmark resultsNo metrics with a significant change found. Detailed resultsAll benchmarks are run on txs on the This benchmark source data is available in JSON format on S3 here. Values are compared against data from master at commit L2 block published to L1Each column represents the number of txs on an L2 block published to L1.
L2 chain processingEach column represents the number of blocks on the L2 chain where each block has 16 txs.
Circuits statsStats on running time and I/O sizes collected for every circuit run across all benchmarks.
MiscellaneousTransaction sizes based on how many contracts are deployed in the tx.
|
|
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
LHerskind
left a comment
There was a problem hiding this comment.
Mostly nits related to formatting.
Some of the tests seems to be failing though.
| const readPublicInputs = (proofAsFields) => { | ||
| const publicInputs = []; | ||
| // A proof with no public inputs is 93 fields long | ||
| const numPublicInputs = proofAsFields.length - 93; |
There was a problem hiding this comment.
Make a constant for the 93, someday we will have forgotten and try use it for a different scheme or something. Also just easier to follow.
| const launchAnvil = async (port) => { | ||
| const handle = spawn("anvil", ["-p", port]); | ||
|
|
||
| // wait until the anvil instance is ready on port 8545 |
There was a problem hiding this comment.
Not on port 8545, but on port instead right?
| handle.stderr.on("data", (data) => { | ||
| const str = data.toString(); | ||
| if (str.includes("error binding")) { | ||
| reject("we go again baby") |
|
|
||
| /** | ||
| * | ||
| * @param {number} numPublicInputs |
There was a problem hiding this comment.
Seems stale as you compute it from the number of fields
| * | ||
| * @param {number} numPublicInputs | ||
| * @param {Array<String>} proofAsFields | ||
| * @returns {Array<Tuple<Array<String>,number>} |
There was a problem hiding this comment.
Also looks a little different from what I see below.
| } | ||
|
|
||
| // This is the message that we would like to confirm | ||
| std::string message_string = "goblin"; |
| info("Only blake, add2 and recursive circuits are supported at the moment"); | ||
| return 1; | ||
| } | ||
| info("Only blake, add2 and recursive circuits are supported at the moment"); |
There was a problem hiding this comment.
We should probably change this to just be "unsupported circuit" so we don't have to keep extending it with specific names.
| addmod(y1y2, y1y2, p), | ||
| p | ||
| ), | ||
| addmod(sub(p, addmod(y2_sqr, y1_sqr, p)), addmod(y1y2, y1y2, p), p), |
There was a problem hiding this comment.
Is this a forge fmt or how come formatting changed in here? 👀
| verifier = IVerifier(address(new EcdsaUltraVerifier())); | ||
| fuzzer = fuzzer.with_circuit_flavour(DifferentialFuzzer.CircuitFlavour.Ecdsa); | ||
|
|
||
| // Does the noir code do this? |
There was a problem hiding this comment.
Should this question be an issue or?
There was a problem hiding this comment.
Ah, i was thinking this could be a debugging issue will remove
I've got some concurrency issues to sort out there |
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-packages: 0.14.2</summary> ## [0.14.2](aztec-packages-v0.14.1...aztec-packages-v0.14.2) (2023-11-07) ### Features * Load private tests and docs ([#3243](#3243)) ([f3d8aae](f3d8aae)), closes [#1285](#1285) * Run solidity tests for all acir artifacts ([#3161](#3161)) ([d09f667](d09f667)) ### Bug Fixes * Wait for accounts to catch up with notes when deployed ([#2834](#2834)) ([a8f3119](a8f3119)) ### Miscellaneous * Add noir-protocol-circuits to deploy_npm ([#3268](#3268)) ([1a22cae](1a22cae)) * Aztec-cli better volume mounting strategy ([#3138](#3138)) ([d40460e](d40460e)) * Disable circuits tasks ([#3253](#3253)) ([e8945f8](e8945f8)) </details> <details><summary>barretenberg.js: 0.14.2</summary> ## [0.14.2](barretenberg.js-v0.14.1...barretenberg.js-v0.14.2) (2023-11-07) ### Features * Run solidity tests for all acir artifacts ([#3161](#3161)) ([d09f667](d09f667)) </details> <details><summary>barretenberg: 0.14.2</summary> ## [0.14.2](barretenberg-v0.14.1...barretenberg-v0.14.2) (2023-11-07) ### Features * Run solidity tests for all acir artifacts ([#3161](#3161)) ([d09f667](d09f667)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-packages: 0.14.2</summary> ## [0.14.2](AztecProtocol/aztec-packages@aztec-packages-v0.14.1...aztec-packages-v0.14.2) (2023-11-07) ### Features * Load private tests and docs ([#3243](AztecProtocol/aztec-packages#3243)) ([f3d8aae](AztecProtocol/aztec-packages@f3d8aae)), closes [#1285](AztecProtocol/aztec-packages#1285) * Run solidity tests for all acir artifacts ([#3161](AztecProtocol/aztec-packages#3161)) ([d09f667](AztecProtocol/aztec-packages@d09f667)) ### Bug Fixes * Wait for accounts to catch up with notes when deployed ([#2834](AztecProtocol/aztec-packages#2834)) ([a8f3119](AztecProtocol/aztec-packages@a8f3119)) ### Miscellaneous * Add noir-protocol-circuits to deploy_npm ([#3268](AztecProtocol/aztec-packages#3268)) ([1a22cae](AztecProtocol/aztec-packages@1a22cae)) * Aztec-cli better volume mounting strategy ([#3138](AztecProtocol/aztec-packages#3138)) ([d40460e](AztecProtocol/aztec-packages@d40460e)) * Disable circuits tasks ([#3253](AztecProtocol/aztec-packages#3253)) ([e8945f8](AztecProtocol/aztec-packages@e8945f8)) </details> <details><summary>barretenberg.js: 0.14.2</summary> ## [0.14.2](AztecProtocol/aztec-packages@barretenberg.js-v0.14.1...barretenberg.js-v0.14.2) (2023-11-07) ### Features * Run solidity tests for all acir artifacts ([#3161](AztecProtocol/aztec-packages#3161)) ([d09f667](AztecProtocol/aztec-packages@d09f667)) </details> <details><summary>barretenberg: 0.14.2</summary> ## [0.14.2](AztecProtocol/aztec-packages@barretenberg-v0.14.1...barretenberg-v0.14.2) (2023-11-07) ### Features * Run solidity tests for all acir artifacts ([#3161](AztecProtocol/aztec-packages#3161)) ([d09f667](AztecProtocol/aztec-packages@d09f667)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
|
Also resolved #3127? |


fixes: #3048
This pr:
This pr builds on #3215 which fixes verifier issues ( in a blanket manner ) not directly addressing the dummy constraints issue that appears to be causing it.
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.