-
Notifications
You must be signed in to change notification settings - Fork 185
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
chore: merge master into simulate feature branch #1848
Merged
ludamad
merged 164 commits into
cg/simulate-spike-bb-subrepo
from
ad/cg/simulate-spike-bb-subrepo
Sep 14, 2023
Merged
chore: merge master into simulate feature branch #1848
ludamad
merged 164 commits into
cg/simulate-spike-bb-subrepo
from
ad/cg/simulate-spike-bb-subrepo
Sep 14, 2023
Conversation
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
…te-spike-bb-subrepo
…ulate-spike-bb-subrepo
…ulate-spike-bb-subrepo
@ludamad is this still needed? |
Yes! just been slow going |
ludamad
force-pushed
the
cg/simulate-spike-bb-subrepo
branch
from
September 6, 2023 17:29
7d79662
to
890c374
Compare
…to ad/cg/simulate-spike-bb-subrepo
ludamad
force-pushed
the
ad/cg/simulate-spike-bb-subrepo
branch
from
September 6, 2023 17:30
5971bf0
to
7114110
Compare
Fixes #1912 **Note 1**: I removed the Signer interface as the difference in private key types between `Grumpkin` and `secp256k1` made it impractical. Now we have a special type only for the "`Grumpkin` key" and the `secp256k1` key is represented as either as a `Buffer` or as `0x${string}` (in case of publisher private key). **Note 2**: I changed some of the hardcoded private keys because they didn't fit to `GrumpkinScalar` and auto-reduction is no longer allowed. **Note 3**: The way we get Grumpkin private key from mnemonic is insecure so I've created [this issue](#2052) for it. # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [ ] Every change is related to the PR description. - [ ] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist). --------- Co-authored-by: spypsy <spypsy@outlook.com> Co-authored-by: PhilWindle <philip.windle@gmail.com>
subrepo: subdir: "circuits/cpp/barretenberg" merged: "ca423221d" upstream: origin: "https://github.com/AztecProtocol/barretenberg" branch: "master" commit: "ca423221d" git-subrepo: version: "0.4.6" origin: "???" commit: "???"
`yarn prepare` didn't include CLI as dependency of `end-to-end` package in `build_manifest.json` because the command expects the directory to have the same name as the string following `@aztec/`. And since there was a naming inconsistency (the package is called `@aztec/cli` but the package directory was `yarn-project/aztec-cli`) it got omitted.
…uit (#2088) Resolves #2087 # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [x] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [x] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [x] Every change is related to the PR description. - [x] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist).
Resolves #2093 # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [x] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [x] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [x] Every change is related to the PR description. - [x] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist).
Closes #1877 # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [ ] Every change is related to the PR description. - [ ] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist).
subrepo: subdir: "docs" merged: "d070b543b" upstream: origin: "https://github.com/AztecProtocol/docs" branch: "main" commit: "d070b543b" git-subrepo: version: "0.4.6" origin: "???" commit: "???"
This PR switches the version of ubuntu used in docker builds to the LTS version # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [ ] Every change is related to the PR description. - [ ] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist).
subrepo: subdir: "circuits/cpp/barretenberg" merged: "9f8e0d412" upstream: origin: "https://github.com/AztecProtocol/barretenberg" branch: "master" commit: "9f8e0d412" git-subrepo: version: "0.4.6" origin: "???" commit: "???"
Adds `generate-typescript` and `generate-noir-interface` commands to the CLI to generate typescript types and noir external interfaces from already built artifacts. Both commands take a path to the noir project, an optional `artifacts` relative path to the artifacts folder (defaults to `target`), and an optional outdir relative to the noir project as well. Fixes #2183
subrepo: subdir: "docs" merged: "eb85223fb" upstream: origin: "https://github.com/AztecProtocol/docs" branch: "main" commit: "eb85223fb" git-subrepo: version: "0.4.6" origin: "???" commit: "???"
See noir-lang/noir#2588 for more details # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [ ] Every change is related to the PR description. - [ ] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist).
subrepo: subdir: "circuits/cpp/barretenberg" merged: "760438bf4" upstream: origin: "https://github.com/AztecProtocol/barretenberg" branch: "master" commit: "760438bf4" git-subrepo: version: "0.4.6" origin: "???" commit: "???"
…r once. (#2240) This PR ensures that we only perform BB solver initialisation once within the acir simulator. # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [ ] Every change is related to the PR description. - [ ] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist).
Adds an `inspect-contract` command that lists the functions available to call. Omits internal functions and stev. ``` $ yarn aztec-cli inspect-contract PrivateTokenContractAbi secret constructor(initial_supply: Field, owner: Field) unconstrained getBalance(owner: Field) secret mint(amount: Field, owner: Field) secret transfer(amount: Field, recipient: Field) ``` Fixes #2180
…2238) Fixes #2234 Sandbox Website change: AztecProtocol/sandbox-website#22 # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [ ] Every change is related to the PR description. - [ ] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist).
Adds a `noir-version.json` file in the `noir-compiler` project, which pins what is the expected nargo tag and commit hash to be used for Aztec. - When installing nargo in the CI, the `tag` is used as the argument for `noirup`. - When using the noir compiler from the CLI or programmatically, a warning is emitted if the current nargo version does not match the expected one in the json file. - When building contracts using `yarn noir:build`, an error is thrown if the version does not match. The `noir-version.json` file is reached by the `noir-complier` rebuild patterns, which is a build-system dependency of `noir-contracts`, which means that all contracts in the repo should get recompiled when we bump to a new version of Noir. Fixes #2185. --- This also allows us to **start versioning the aztec noir releases** rather than having a moving tag that potentially breaks master (and any open branches) when we update to a breaking release. To make the most of out this, I believe we should publish each aztec release as both `aztec` (so it's easy for end users to just install that version when they are starting) and a specific tag like `aztec-0.7.0` that we refer to in the `noir-version`. Alternatively, we can drop the `aztec` tag altogether, and either 1) automatically update our docs to reflect the tag listed in `noir-verison.json` in the install instructions (requires a smarter `include_code` macro) or 2) have the aztec-cli run `noirup` on its own to install the version required.
subrepo: subdir: "circuits/cpp/barretenberg" merged: "ee778d492" upstream: origin: "https://github.com/AztecProtocol/barretenberg" branch: "master" commit: "ee778d492" git-subrepo: version: "0.4.6" origin: "???" commit: "???"
fixes: #2193 Updates the bridge docs code such that it uses code snippets (which can change) rather than having static code
subrepo: subdir: "docs" merged: "6905fb906" upstream: origin: "https://github.com/AztecProtocol/docs" branch: "main" commit: "6905fb906" git-subrepo: version: "0.4.6" origin: "???" commit: "???"
This PR creates a Nargo workspace for the `noir-contracts` package. This is useful for a mystery project. # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [x] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [x] Every change is related to the PR description. - [ ] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist).
🤖 I have created a release *beep* *boop* --- <details><summary>aztec-packages: 0.7.0</summary> ## [0.7.0](aztec-packages-v0.6.7...aztec-packages-v0.7.0) (2023-09-13) ### ⚠ BREAKING CHANGES * **aztec-noir:** rename noir-aztec to aztec-noir ([#2071](#2071)) ### Features * **build:** Use LTS version of ubuntu ([#2239](#2239)) ([ce6671e](ce6671e)) * **ci:** Run nargo test in ci on all packages ([#2197](#2197)) ([cca55f2](cca55f2)) * **cli:** Add commands for generating ts and nr interfaces ([#2241](#2241)) ([c11b70d](c11b70d)), closes [#2183](#2183) * **cli:** Inspect contract command ([#2248](#2248)) ([381706e](381706e)), closes [#2180](#2180) * Define specific Sandbox version when running docker-compose up ([#2238](#2238)) ([71da236](71da236)) * **docs:** Updated docs explaining Sandbox accounts ([#2235](#2235)) ([f560066](f560066)) * Optimise sandbox startup time by only initialising the BB solver once. ([#2240](#2240)) ([e9cac9c](e9cac9c)) * Remove entrypoint collection ([#2148](#2148)) ([e97c94d](e97c94d)) * Validate nargo version against expected one ([#2254](#2254)) ([011c0b7](011c0b7)) ### Bug Fixes * Add cjs-entry to bbjs package files ([#2237](#2237)) ([ae16193](ae16193)) * Add link to example contracts in the monorepo ([#2219](#2219)) ([8aede54](8aede54)) * **build:** Update ubuntu version used in Docker builds ([#2236](#2236)) ([dbe80b7](dbe80b7)) * **docs:** Use code snippet macros in bridge docs ([#2205](#2205)) ([0c3a627](0c3a627)) * Format barretenberg ([#2209](#2209)) ([0801372](0801372)) * Msgpack blowup with bigger objects ([#2207](#2207)) ([b909937](b909937)) * Refactor constraints in scalar mul to use the high limb ([#2161](#2161)) ([1d0e25d](1d0e25d)) * Reinstate v stripping in build ([#2220](#2220)) ([13d34f5](13d34f5)) * Return partial witnesses based on the content of read requests. ([#2164](#2164)) ([a2125f7](a2125f7)) * Try e2e cli timeout bump ([#2210](#2210)) ([a039fdd](a039fdd)) * Try workaround sample dapp ci timeout ([#2208](#2208)) ([e39f6bf](e39f6bf)) ### Miscellaneous * Add a Nargo workspace in `noir-contracts` ([#2083](#2083)) ([728a79c](728a79c)) * Add debugging to run_tests ([#2212](#2212)) ([1c5e78a](1c5e78a)) * **aztec-noir:** Rename noir-aztec to aztec-noir ([#2071](#2071)) ([e1e14d2](e1e14d2)) * **circuits:** Merge and root rollup cbind msgpack ([#2192](#2192)) ([4f3ecee](4f3ecee)) * **noir-contracts:** 1655 - rename functions to make hack clearer for publicly created notes ([#2230](#2230)) ([707bc09](707bc09)) * Run the test for zero division with mul div up ([#2206](#2206)) ([747de6a](747de6a)) * Update url for acir artifacts ([#2231](#2231)) ([5e0abd3](5e0abd3)) * Use workspace build with `nargo compile --workspace` ([#2266](#2266)) ([9ab66a0](9ab66a0)) ### Documentation * Dapp tutorial ([#2109](#2109)) ([573dbc2](573dbc2)), closes [#2051](#2051) * Minor fixes to dapp tutorial ([#2203](#2203)) ([dcc927c](dcc927c)) </details> <details><summary>barretenberg.js: 0.7.0</summary> ## [0.7.0](barretenberg.js-v0.6.7...barretenberg.js-v0.7.0) (2023-09-13) ### Bug Fixes * Add cjs-entry to bbjs package files ([#2237](#2237)) ([ae16193](ae16193)) ### Miscellaneous * Add debugging to run_tests ([#2212](#2212)) ([1c5e78a](1c5e78a)) </details> <details><summary>barretenberg: 0.7.0</summary> ## [0.7.0](barretenberg-v0.6.7...barretenberg-v0.7.0) (2023-09-13) ### ⚠ BREAKING CHANGES * **aztec-noir:** rename noir-aztec to aztec-noir ([#2071](#2071)) ### Features * **build:** Use LTS version of ubuntu ([#2239](#2239)) ([ce6671e](ce6671e)) ### Bug Fixes * **build:** Update ubuntu version used in Docker builds ([#2236](#2236)) ([dbe80b7](dbe80b7)) * Format barretenberg ([#2209](#2209)) ([0801372](0801372)) * Msgpack blowup with bigger objects ([#2207](#2207)) ([b909937](b909937)) * Refactor constraints in scalar mul to use the high limb ([#2161](#2161)) ([1d0e25d](1d0e25d)) ### Miscellaneous * Add debugging to run_tests ([#2212](#2212)) ([1c5e78a](1c5e78a)) * **aztec-noir:** Rename noir-aztec to aztec-noir ([#2071](#2071)) ([e1e14d2](e1e14d2)) * Update url for acir artifacts ([#2231](#2231)) ([5e0abd3](5e0abd3)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
subrepo: subdir: "circuits/cpp/barretenberg" merged: "18975d878" upstream: origin: "https://github.com/AztecProtocol/barretenberg" branch: "master" commit: "18975d878" git-subrepo: version: "0.4.6" origin: "???" commit: "???"
This PR adds a module to symbolically verify circuits in our codebase # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ x] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [x ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [ x] Every change is related to the PR description. - [x ] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist). --------- Co-authored-by: Innokentii Sennovskii <isennovskiy@gmail.com>
subrepo: subdir: "circuits/cpp/barretenberg" merged: "efe36c963" upstream: origin: "https://github.com/AztecProtocol/barretenberg" branch: "master" commit: "efe36c963" git-subrepo: version: "0.4.6" origin: "???" commit: "???"
subrepo: subdir: "circuits/cpp/barretenberg" merged: "97ba36b86" upstream: origin: "https://github.com/AztecProtocol/barretenberg" branch: "master" commit: "97ba36b86" git-subrepo: version: "0.4.6" origin: "???" commit: "???"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.