-
Notifications
You must be signed in to change notification settings - Fork 244
Comparing changes
Open a pull request
base repository: noir-lang/noir
base: v0.2.0
head repository: noir-lang/noir
compare: v0.3.0
Commits on Feb 16, 2023
-
chore(ci): only run spellcheck job on push (#858)
* chore(ci): only run spellcheck job on push * chore(ci): split spellcheck off into its own workflow
Configuration menu - View commit details
-
Copy full SHA for 595e3c3 - Browse repository at this point
Copy the full SHA 595e3c3View commit details -
feat!: Allow impls on primitive types (#847)
* Allow impls on primitives * Update extra tests * Fix pedersen calls * Fix remaining test errors * Turn hash methods back into functions * Fix stdlib * Revert nargo tests * Format and update stdlib syntax * Remove 'if true'
Configuration menu - View commit details
-
Copy full SHA for 479da0e - Browse repository at this point
Copy the full SHA 479da0eView commit details -
feat(abi)!: add an explicit mapping from ABI params to witness indices (
#851) * feat: track all parameter witnesses in evaluator * chore: use explicit witness map for encoding/decoding witness map * chore: move `param_witnesses` to be stored within ABI * feat: create separate methods for encoding to a witness vs verifier inputs * chore: move encode_value and decode_value back inside Abi's impl * chore: remove clone from `encode_to_witness` * chore: use try_btree_map instead of unwrapping * feat: check for unexpected inputs when encoding a witness * chore: use InputMap and WitnessMap types in ABI * chore: update stale comment * chore: apply input validation checks on new encoding method * chore: clippy * chore: remove unnecessary clone * feat: add smoke test for abi encoding and decoding * chore: remove todo * chore: return abi from compile_circuit * chore: simplify returning `CompiledProgram` * chore: clippy * feat: return AbiError if witness value can't be found * chore: add documentation for Abi fields * fix: re-add `public_inputs` field to `Evaluator` * chore: remove stale code from BTreeSet experiment * chore: fix merge issues * fix: re-add deleted `num_witnesses_abi_len` init
Configuration menu - View commit details
-
Copy full SHA for 5bd4bd5 - Browse repository at this point
Copy the full SHA 5bd4bd5View commit details
Commits on Feb 17, 2023
-
chore(nargo): migrate to clap 4 and use derived interface (#842)
* chore: update clap to 4.1.4 * chore: switch to using the derived clap interface
Configuration menu - View commit details
-
Copy full SHA for 4d3d35b - Browse repository at this point
Copy the full SHA 4d3d35bView commit details -
feat(abi)!: merge both abi encoding/decoding methods (#862)
* feat(abi)!: merge both abi encoding/decoding methods feat: deduplicate public inputs in evaluator * chore: fmt
Configuration menu - View commit details
-
Copy full SHA for fecd32c - Browse repository at this point
Copy the full SHA fecd32cView commit details -
fix: properly initialise
Evaluator
in test (#863)fix: properly initialise Evaluator in test
Configuration menu - View commit details
-
Copy full SHA for bbb70bd - Browse repository at this point
Copy the full SHA bbb70bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddb7730 - Browse repository at this point
Copy the full SHA ddb7730View commit details -
chore: remove support for InputValue::Undefined (#867)
* feat: remove support for undefined `InputValues` * chore: add quick test for parsing empty strings * chore: remove unused imports
Configuration menu - View commit details
-
Copy full SHA for 2918f33 - Browse repository at this point
Copy the full SHA 2918f33View commit details -
chore: remove abi decoding from
execute_program
(#868)* chore: remove abi decoding from `execute_program` * chore: clippy
Configuration menu - View commit details
-
Copy full SHA for 5eddaf7 - Browse repository at this point
Copy the full SHA 5eddaf7View commit details -
* Clone expression parser instead of using exponential recursion * Remove redundant clone
Configuration menu - View commit details
-
Copy full SHA for e927a39 - Browse repository at this point
Copy the full SHA e927a39View commit details -
feat(abi)!: add explicit return type field to ABI. (#865)
* feat: add an explicit `return_type` field to ABI * chore: inline `check_for_unexpected_inputs` * chore: inline `self.return_witnesses` and remove borrow * chore: add necessary errors * chore: replace `matches` with `match` statement! * chore: clippy * chore: remove filtering of return dummy parameter * chore: use `MAIN_RETURN_NAME` instead of "return" * chore: add proper error variants for return value issues * chore: improve comment
Configuration menu - View commit details
-
Copy full SHA for 8ca5676 - Browse repository at this point
Copy the full SHA 8ca5676View commit details
Commits on Feb 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5186ab9 - Browse repository at this point
Copy the full SHA 5186ab9View commit details
Commits on Feb 20, 2023
-
chore: remove clone when using preprocessed keys (#876)
* chore: remove clone when using preprocessed keys * chore: clippy
Configuration menu - View commit details
-
Copy full SHA for 83bb75f - Browse repository at this point
Copy the full SHA 83bb75fView commit details -
chore: remove
witness
flag fromnargo compile
(#878)* chore: make preprocess_with_path private * chore: remove option to generate a witness in `nargo compile`
Configuration menu - View commit details
-
Copy full SHA for f304afc - Browse repository at this point
Copy the full SHA f304afcView commit details -
fix!: prevent inconsistent language usage in
Driver
(#881)fix: prevent inconsistent language usage in `Driver`
Configuration menu - View commit details
-
Copy full SHA for 48cda7a - Browse repository at this point
Copy the full SHA 48cda7aView commit details
Commits on Feb 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for adba24c - Browse repository at this point
Copy the full SHA adba24cView commit details -
fix: compute witness when println evaluated before input (#891)
* compute witness when var from var_cache is not const during println evaluation * move regression test for std::println to merkle_insert * include comment pointing to regression test PR
Configuration menu - View commit details
-
Copy full SHA for 2727b34 - Browse repository at this point
Copy the full SHA 2727b34View commit details -
chore: encapsulate IO logic in IO functions (#885)
* chore: encapsulate IO logic in IO functions * chore: replace if-let with match * chore: add comment explaining serialisation logic * chore: add doc comment for read_inputs_from_file * chore: update comment
Configuration menu - View commit details
-
Copy full SHA for db5c588 - Browse repository at this point
Copy the full SHA db5c588View commit details -
fix(nargo): Switch order of writing acir file and acir checksum file (#…
…895) switch order of writing acir file and acir checksum file
Configuration menu - View commit details
-
Copy full SHA for 4fc94dc - Browse repository at this point
Copy the full SHA 4fc94dcView commit details
Commits on Feb 22, 2023
-
fix: correct type checking to handle
false
bools (#893)* fix: correct type checking to handle `false` bools * chore: replace abi type match check for bools with explicit equality check
Configuration menu - View commit details
-
Copy full SHA for 6c7aa2f - Browse repository at this point
Copy the full SHA 6c7aa2fView commit details -
feat: Silence output of prove and verify (#892)
* Silence output of prove and verify * Cleanup output
Configuration menu - View commit details
-
Copy full SHA for 811b346 - Browse repository at this point
Copy the full SHA 811b346View commit details -
chore: move nargo I/O into separate module (#896)
* chore: move IO logic into separate module * chore: remove preprocessing from io module * chore: replace if-lets with match
Configuration menu - View commit details
-
Copy full SHA for 8cafa34 - Browse repository at this point
Copy the full SHA 8cafa34View commit details -
fix(noir_wasm): Update wasm ACIR serialization (#898)
* switch wasm acir serialization methods to use write and read instead of to_bytes and from_bytes * add deprecated flag to acir_from_bytes and acir_to_bytes
Configuration menu - View commit details
-
Copy full SHA for 575436f - Browse repository at this point
Copy the full SHA 575436fView commit details
Commits on Feb 23, 2023
-
fix: allow parsing strings from toml into booleans (#894)
* fix: allow parsing strings from toml into booleans * chore: remove catch-all arm from match
Configuration menu - View commit details
-
Copy full SHA for f729a00 - Browse repository at this point
Copy the full SHA f729a00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93d83bf - Browse repository at this point
Copy the full SHA 93d83bfView commit details
Commits on Feb 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 269269c - Browse repository at this point
Copy the full SHA 269269cView commit details -
fix(ssa): fix the compile-time check for equality in acir-gen (#904)
constant folding before comparing in acir-gen
Configuration menu - View commit details
-
Copy full SHA for 161e4fb - Browse repository at this point
Copy the full SHA 161e4fbView commit details -
chore: new() to default (#875)
* new() to default * fix clippy * remove new() * fix clippy * remove ssacontext new * new to default * Update lib.rs * move comment back into context * fix fmt --------- Co-authored-by: kevaundray <kevtheappdev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 440f778 - Browse repository at this point
Copy the full SHA 440f778View commit details -
Configuration menu - View commit details
-
Copy full SHA for b91307b - Browse repository at this point
Copy the full SHA b91307bView commit details -
feat: update to ACVM 0.5.0 (#902)
* feat: update to ACVM 0.5.0 * chore: update dictionary * chore: update to use ACVM from crates.io * chore: bump aztec_backend commit to pull from master
Configuration menu - View commit details
-
Copy full SHA for 9b58da4 - Browse repository at this point
Copy the full SHA 9b58da4View commit details -
chore(nargo)!: restrict
CliError
visibility to crate (#911)* chore: restrict CliError visibility to crate * chore!: remove check_from_path from crate's interface. * chore: clippy
Configuration menu - View commit details
-
Copy full SHA for ed0e1ab - Browse repository at this point
Copy the full SHA ed0e1abView commit details
Commits on Feb 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d3e2aa7 - Browse repository at this point
Copy the full SHA d3e2aa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab0029e - Browse repository at this point
Copy the full SHA ab0029eView commit details -
chore: restrict function visibility where overly broad (#920)
* chore: throw warning on unreachable pub items * chore: make restricted visibility explicit
Configuration menu - View commit details
-
Copy full SHA for 2c30f64 - Browse repository at this point
Copy the full SHA 2c30f64View commit details -
chore: add warnings for crates with unused dependencies (#917)
* chore: warn on unused dependencies * chore: remove unused dependencies * chore: remove unused extern crate * chore: remove unused dependencies from `wasm`
Configuration menu - View commit details
-
Copy full SHA for c730329 - Browse repository at this point
Copy the full SHA c730329View commit details -
feat(nargo)!: save program ABI alongside ACIR (#922)
* feat!(nargo): save program ABI alongside ACIR * chore: clippy fix * fix: update extension for reading program hash * chore: add some error handling to `read_program_from_file` * chore: replace `.sha256` extension with `.checksum`
Configuration menu - View commit details
-
Copy full SHA for ddaf305 - Browse repository at this point
Copy the full SHA ddaf305View commit details -
chore: Document name resolution (#925)
* Document name resolution * Reword note on CompTime::Maybe --------- Co-authored-by: TomAFrench <tom@tomfren.ch>
Configuration menu - View commit details
-
Copy full SHA for 007ab75 - Browse repository at this point
Copy the full SHA 007ab75View commit details
Commits on Feb 28, 2023
-
chore(nargo): report bubbled up errors using eyre (#907)
* chore(nargo): report errors using anyhow * chore: replace anyhow with eyre
Configuration menu - View commit details
-
Copy full SHA for e87ce66 - Browse repository at this point
Copy the full SHA e87ce66View commit details -
chore(nargo): create a specific error variant for compilation (#923)
chore(nargo): create a specifc error variant for compilation
Configuration menu - View commit details
-
Copy full SHA for 4a0145f - Browse repository at this point
Copy the full SHA 4a0145fView commit details -
chore: Add some docs to the frontend (#903)
* Add some docs * s -> z * Update crates/noirc_frontend/src/lexer/mod.rs Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com> * Update crates/noirc_frontend/src/hir_def/mod.rs Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com> * Update crates/noirc_frontend/src/hir_def/mod.rs Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com> * Add link to chumsky docs * Update crates/noirc_frontend/src/lexer/token.rs Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com> * Fix warning * Ammend docs on Token::Invalid --------- Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a92d12e - Browse repository at this point
Copy the full SHA a92d12eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96328e4 - Browse repository at this point
Copy the full SHA 96328e4View commit details
Commits on Mar 1, 2023
-
feat: Implement endianness specified versions of
to_bytes
`to_radix……` and `to_bits` (#914) * initial commit * rename * little * change constrain of to_radix * test index * refactor * remove to_radix * reverse result * remove to_bytes integration test * set is_little_endian to true * add constrains
Configuration menu - View commit details
-
Copy full SHA for 43abc6b - Browse repository at this point
Copy the full SHA 43abc6bView commit details -
chore!: replace dummy ABIs with
FunctionSignature
type alias (#930)* chore:replace dummy ABIs with `FunctionSignature` type * chore: rename `build_empty_map` to `build_placeholder_input_map`
Configuration menu - View commit details
-
Copy full SHA for 156125b - Browse repository at this point
Copy the full SHA 156125bView commit details -
fix: generate valid toml when outputting nested structs (#936)
* chore: add regression test for #934 * fix: properly order nested toml tables * chore: remove unnecessary `to_owned()`
Configuration menu - View commit details
-
Copy full SHA for ba947a7 - Browse repository at this point
Copy the full SHA ba947a7View commit details
Commits on Mar 2, 2023
-
chore: optimize
mul
for constant expressions (#932)* chore: optimize `mul` for constant expressions * chore: optimize another instance * chore: add early returns to `add` for const inputs
Configuration menu - View commit details
-
Copy full SHA for cfa9701 - Browse repository at this point
Copy the full SHA cfa9701View commit details -
chore: Replace markdown issue templates with forms (#938)
* chore: Replace markdown issue templates with forms * Update .github/ISSUE_TEMPLATE/bug_report.yml Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com> --------- Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e51ff01 - Browse repository at this point
Copy the full SHA e51ff01View commit details
Commits on Mar 6, 2023
-
chore(github): Separate
doc needed
Checkbox in PR Template (#947)Separate `doc needed` Checkbox
Configuration menu - View commit details
-
Copy full SHA for c75d0c5 - Browse repository at this point
Copy the full SHA c75d0c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2829af1 - Browse repository at this point
Copy the full SHA 2829af1View commit details -
chore: Add docs to monomorphization pass (#928)
* Add docs to monomorphization pass * Remove doc test, it is noir not rust * Update crates/noirc_frontend/src/monomorphization/ast.rs Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com> * Update crates/noirc_frontend/src/monomorphization/mod.rs Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com> * Address PR feedback --------- Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e4d89a9 - Browse repository at this point
Copy the full SHA e4d89a9View commit details -
chore: serialize circuit as hex string in build artifact file (#950)
chore: serialize circuit as hex string
Configuration menu - View commit details
-
Copy full SHA for 03a2088 - Browse repository at this point
Copy the full SHA 03a2088View commit details
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.