Skip to content
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

feat: add noirc_abi_wasm crate for ABI encoding in JS #1945

Merged
merged 49 commits into from
Sep 5, 2023
Merged

Commits on Jul 17, 2023

  1. chore: temp commit

    TomAFrench committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    e611498 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. chore: update package.json

    TomAFrench committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    90be749 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    901314d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e2775a4 View commit details
    Browse the repository at this point in the history
  4. fix: shell env to 1.66.1

    kobyhallx committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    38b7569 View commit details
    Browse the repository at this point in the history
  5. chore: refactor scripts

    TomAFrench committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    c468e17 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8d615e4 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. Configuration menu
    Copy the full SHA
    04ac605 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0bc9944 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cbcca58 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b1b218f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6f4b098 View commit details
    Browse the repository at this point in the history
  6. chore: fix action yaml

    TomAFrench committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    616530f View commit details
    Browse the repository at this point in the history
  7. chore: fix inputs

    TomAFrench committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    91f46c2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6063d64 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d7579c6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4432308 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Merge branch 'master' into abi-wasm

    * master: (75 commits)
      fix: Mutating a variable no longer mutates its copy (#2057)
      fix: Implement `.len()` in Acir-Gen (#2077)
      chore: clippy fixes (#2101)
      chore: Update `noir-source-resolver` to v1.1.3 (#1912)
      chore: Document `GeneratedAcir::more_than_eq_comparison` (#2085)
      chore: refresh ACIR test artifacts (#2091)
      feat: Add `deprecated` attribute (#2041)
      chore(ssa refactor): Implement `acir_gen` errors (#2071)
      chore: use witnesses from the generated acir in the ABI (#2095)
      fix: Fix methods not mutating fields (#2087)
      chore(nargo): Use Display impl for InputValue (#1990)
      feat: Make arrays and slices polymorphic over each other (#2070)
      feat: Remove an unnecessary witness in `mul_with_witness` (#2078)
      chore: document truncate (#2082)
      fix: avoid potential panic in `two_complement` (#2081)
      chore: Cleanup integration tests (#2074)
      chore: replace `Type::TypeVariable`, `Type::PolymorphicInteger`, and … (#2065)
      chore!: Require package names in `Nargo.toml` files (#2056)
      fix: Avoid non-determinism in defunctionalization (#2069)
      chore: change 'unnecessary pub' error to a warning (#2064)
      ...
    TomAFrench committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    0ccf055 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Merge branch 'master' into abi-wasm

    * master: (80 commits)
      fix: properly capture lvalues in closure environments (#2120) (#2257)
      fix: Optimize contracts built by `nargo info` (#2259)
      chore: impl Display for DebugType (#2258)
      chore: update `noir_wasm` build process to match `acvm_js` (#2067)
      feat: Implement traits - parser support #2094 (#2230)
      chore: Refactor DefCollector duplicate errors (#2231)
      chore: Address clippy warnings (#2246)
      feat: Support `contract` package type in `nargo info` command (#2249)
      feat: Add slice append (#2241)
      chore: Bump `async-lsp` to v0.0.5 (#2186)
      chore: Move the remaining `nargo_cli` lib funcs into `nargo` crate (#2225)
      chore: Add test for eddsa (#2237)
      chore: Split `Nargo.toml` operations into separate package (#2224)
      fix(stdlib): correct `tecurve::contains` formula (#1821)
      feat: Remove `comptime` and warn upon usage (#2178)
      fix: Remove last vestige of array of structs to struct of arrays conversion (#2217)
      fix: Add foreign impl error (#2216)
      feat(nargo)!: Replace `--contracts` flag with `contract` package type (#2204)
      feat: Optimize `x < 0` for unsigned `x` to false (#2206)
      fix: Initialize numeric generics' type to a polymorphic integer when used in an expression (#2179)
      ...
    TomAFrench committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    285ee1a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6df8af1 View commit details
    Browse the repository at this point in the history
  3. chore: test on firefox

    TomAFrench committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    197c961 View commit details
    Browse the repository at this point in the history
  4. chore: fix typo in README

    TomAFrench committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    b90b84f View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Merge branch 'master' into abi-wasm

    * master: (23 commits)
      chore: Reuse workspace target directory in wasm build script (#2312)
      feat(nargo): Add `--workspace` flag to run commands in every package (#2313)
      chore(frontend): Replace `ModuleOrigin` with `Location` on `ModuleData` (#2308)
      fix: Fix 3 parser test cases in parsing (#2284)
      fix: Require package names to be non-empty (#2293)
      fix(nargo)!: Remove `-p` short flag from the `--program-dir` flag (#2300)
      feat: optionally output a debug artifact on compile (#2260)
      chore: `nargo info` now prints information as a prettified table  (#2282)
      fix(lsp): Pass `--program-dir` to test command from codelens (#2292)
      fix(nargo): Allow `--program-dir` flag anywhere in a command (#2290)
      feat: Execute brillig opcodes with constant inputs at compile-time (#2190)
      feat: Add basic benchmarking (#2213)
      feat: Include struct names in ABIs (#2266)
      feat(nargo): Add `--exact` flag to `nargo test` (#2272)
      fix: Fix assignment when both `mut` and `&mut` are used (#2264)
      feat: Add `assert_constant` (#2242)
      feat(nargo): Add support for contracts in `nargo check` (#2267)
      chore(ci): Name wasm job more clearly (#2269)
      chore(ci): Create cache key with consideration to target (#2273)
      chore(ci): Run publish workflow against PRs (#2268)
      ...
    TomAFrench committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    075fde8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4182a68 View commit details
    Browse the repository at this point in the history
  3. chore: fix merge

    TomAFrench committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    f261c73 View commit details
    Browse the repository at this point in the history
  4. chore: Cargo.toml tweaks

    TomAFrench committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    f3b28c0 View commit details
    Browse the repository at this point in the history
  5. chore: Fix typo (#2315)

    kevaundray authored and TomAFrench committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    75d2137 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    48b20fa View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2684b56 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9ed9fd8 View commit details
    Browse the repository at this point in the history
  9. chore: fix build command

    TomAFrench committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    311dc99 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'master' into abi-wasm

    * master:
      chore: Parameterize the build mode for noir-wasm (#2317)
      chore: Make `wasm` tests pull from `result` directory (#2319)
      chore: Fix typo (#2315)
    TomAFrench committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    1ca0ce2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c1d8623 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d8b8c93 View commit details
    Browse the repository at this point in the history
  13. chore: fix package name

    TomAFrench committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    e0edbd6 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Merge branch 'master' into abi-wasm

    * master: (25 commits)
      chore: update noir-source-resolver from `1.1.2` to `^1.1.3` (#2349)
      chore(ci): Avoid writing to cache in workflows triggered by the merge queue (#2341)
      chore(noir): Release 0.10.3 (#2344)
      feat(lsp): Add `Execute` code lens for `main` functions (#2330)
      feat(lsp): Add `Compile` code lens for `main` function and contracts (#2309)
      feat: Allow calling higher-order functions with closures (#2335)
      fix: Display warning if last expression of block is unused (#2314)
      chore(noir): Release 0.10.2 (#2343)
      fix: Prevent dead instruction elimination of brillig functions which may contain side-effects (#2340)
      chore: Separate integration tests for contracts and programs (#2339)
      chore: move orphaned integration tests to new directory (#2331)
      chore(noir): Release 0.10.1 (#2328)
      feat(ssa): Switch mem2reg pass to be per function rather than per block (#2243)
      feat(ssa): Perform dead instruction elimination on intrinsic functions (#2276)
      feat: Add full call stacks to runtime errors (#2310)
      chore(ci): fix mismatched input name to publish workflow (#2327)
      chore: add README for integration test structure (#2277)
      feat: Improved error message for unexpected return type (#2302)
      feat(stdlib): Implement `str` `as_bytes` and `into_bytes` function (#2298)
      chore(ci): automatically convert changelog entries to sentence case (#2325)
      ...
    TomAFrench committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    c970b4f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a71e5a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ec855ff View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. chore(build): add wasm-opt

    kobyhallx committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    1bfab41 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. Configuration menu
    Copy the full SHA
    778af65 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Configuration menu
    Copy the full SHA
    41720c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f87c5c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc8324a View commit details
    Browse the repository at this point in the history
  4. fix: cache issue

    kobyhallx committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    bc21e14 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    43cc363 View commit details
    Browse the repository at this point in the history
  6. Update crates/noirc_abi_wasm/test/browser/abi_encode.test.ts

    Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
    kobyhallx and TomAFrench authored Sep 5, 2023
    Configuration menu
    Copy the full SHA
    b005033 View commit details
    Browse the repository at this point in the history
  7. chore: resolving nits

    kobyhallx committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    05e86ef View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3eaea24 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1182be1 View commit details
    Browse the repository at this point in the history