-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into kw/update-bb
* master: (107 commits) chore: remove leftover files from `acvm-repo` (#2861) chore: miscellaneous ACVM fixups (#2864) chore(noir): Release (master) (#2875) fix: Remove cast for field comparisons in brillig (#2874) fix: remove duplication of code to load stdlib files (#2868) chore(noir_js): remove unnecessary input validation in JS (#2841) chore: build yarn packages in parallel (#2867) chore(ci): remove `toml2json` dependency (#2862) chore: fix infinite loop in yarn workspace cleaning (#2863) chore(noir): Release (master) (#2859) chore: remove rebuild script since its failing chore(ci): rename CI workflows based on theme (#2853) chore(noir): Release (master) (#2827) chore: add solidity verifier workflow (#2749) chore: add `CRS` directory to gitignore (#2852) chore: add initial version of `Backend` interface for `noir_js` (#2851) chore(errors): Refactor errors representation in compiler (#2760) chore(ci): run `noir_js` tests in CI (#2843) chore(noir_js)!: Rename inner and outer proof methods (#2845) chore: remove unnecessary `AcirValue`s (#2823) ...
- Loading branch information
Showing
647 changed files
with
27,359 additions
and
3,927 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module.exports = { | ||
root: true, | ||
parser: "@typescript-eslint/parser", | ||
plugins: ["@typescript-eslint", "prettier"], | ||
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"], | ||
rules: { | ||
"comma-spacing": ["error", { before: false, after: true }], | ||
"no-unused-vars": "off", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", // or "error" | ||
{ | ||
argsIgnorePattern: "^_", | ||
varsIgnorePattern: "^_", | ||
caughtErrorsIgnorePattern: "^_", | ||
}, | ||
], | ||
"prettier/prettier": "error", | ||
}, | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Idea Action Plan | ||
description: Outline the scope and steps for implementing an enhancement. Start with "Ideas" instead to request and discuss new features. | ||
labels: ["enhancement"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Description | ||
Thanks for taking the time to create the Issue, and welcome to the Noirot family! | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: Problem | ||
description: Describe what you feel lacking. Supply code / step-by-step examples if applicable. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: solution | ||
attributes: | ||
label: Happy Case | ||
description: Describe how you think it should work. Supply pseudocode / step-by-step examples if applicable. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: alternatives | ||
attributes: | ||
label: Alternatives Considered | ||
description: Describe less-happy cases you have considered, if any. | ||
- type: textarea | ||
id: additional | ||
attributes: | ||
label: Additional Context | ||
description: Supplement further information if applicable. | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Pull Request | ||
- type: dropdown | ||
id: pr-preference | ||
attributes: | ||
label: Would you like to submit a PR for this Issue? | ||
description: Fellow contributors are happy to provide support where applicable. | ||
multiple: false | ||
options: | ||
- "No" | ||
- "Maybe" | ||
- "Yes" | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: pr-support | ||
attributes: | ||
label: Support Needs | ||
description: Support from other contributors you are looking for to create a PR for this Issue. |
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Publish acvm_js | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
acvm-ref: | ||
description: The acvm reference to checkout | ||
required: true | ||
|
||
jobs: | ||
publish-acvm-js-package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ inputs.acvm-ref }} | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
registry-url: "https://registry.npmjs.org" | ||
node-version: 18.15 | ||
|
||
- uses: cachix/install-nix-action@v22 | ||
with: | ||
nix_path: nixpkgs=channel:nixos-23.05 | ||
github_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: cachix/cachix-action@v12 | ||
with: | ||
name: barretenberg | ||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | ||
|
||
- name: Build acvm-js | ||
working-directory: acvm-repo | ||
run: | | ||
nix build .# | ||
- name: Discover Build Output Path | ||
working-directory: acvm-repo | ||
run: echo "BUILD_OUTPUT_PATH=$(readlink -f ./result)" >> $GITHUB_ENV | ||
|
||
- name: Copy Build Output to Temporary Directory | ||
working-directory: acvm-repo | ||
run: | | ||
mkdir temp_publish_dir | ||
cp -r ${{ env.BUILD_OUTPUT_PATH }}/* temp_publish_dir/ | ||
- name: Publish to NPM | ||
working-directory: ./acvm-repo/temp_publish_dir | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: Publish ACVM crates | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
acvm-ref: | ||
description: The acvm reference to checkout | ||
required: true | ||
|
||
jobs: | ||
publish: | ||
name: Publish in order | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ inputs.acvm-ref }} | ||
|
||
- name: Setup toolchain | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: 1.66.0 | ||
|
||
# These steps are in a specific order so crate dependencies are updated first | ||
- name: Publish acir_field | ||
run: | | ||
cargo publish --package acir_field | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.ACVM_CRATES_IO_TOKEN }} | ||
|
||
- name: Publish brillig | ||
run: | | ||
cargo publish --package brillig | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.ACVM_CRATES_IO_TOKEN }} | ||
|
||
- name: Publish acir | ||
run: | | ||
cargo publish --package acir | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.ACVM_CRATES_IO_TOKEN }} | ||
|
||
- name: Publish acvm_blackbox_solver | ||
run: | | ||
cargo publish --package acvm_blackbox_solver | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.ACVM_CRATES_IO_TOKEN }} | ||
|
||
- name: Publish barretenberg_blackbox_solver | ||
run: | | ||
cargo publish --package barretenberg_blackbox_solver | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.ACVM_CRATES_IO_TOKEN }} | ||
|
||
- name: Publish acvm_stdlib | ||
run: | | ||
cargo publish --package acvm_stdlib | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.ACVM_CRATES_IO_TOKEN }} | ||
|
||
- name: Publish brillig_vm | ||
run: | | ||
cargo publish --package brillig_vm | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.ACVM_CRATES_IO_TOKEN }} | ||
|
||
- name: Publish acvm | ||
run: | | ||
cargo publish --package acvm | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.ACVM_CRATES_IO_TOKEN }} |
Oops, something went wrong.