Skip to content

chore: fix double verify proof#2556

Merged
kevaundray merged 2 commits intomasterfrom
kw/fix-double-verify-proof
Sep 4, 2023
Merged

chore: fix double verify proof#2556
kevaundray merged 2 commits intomasterfrom
kw/fix-double-verify-proof

Conversation

@kevaundray
Copy link
Contributor

Description

There seems to be a bug in .as_slice() so I changed the double verify proof to use:

let x : [Field] = x;

to coerce x from an array into a slice.

Problem*

Resolves

Summary*

Documentation

  • This PR requires documentation updates when merged.

    • I will submit a noir-lang/docs PR.
    • I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@kevaundray kevaundray enabled auto-merge September 4, 2023 17:44
@kevaundray kevaundray added this pull request to the merge queue Sep 4, 2023
Merged via the queue into master with commit 158f231 Sep 4, 2023
@kevaundray kevaundray deleted the kw/fix-double-verify-proof branch September 4, 2023 18:20
@jfecher
Copy link
Contributor

jfecher commented Sep 5, 2023

There seems to be a bug in .as_slice() so I changed the double verify proof to use:

What is the bug?

@vezenovm
Copy link
Contributor

vezenovm commented Sep 5, 2023

What is the bug?

The bug is not in as_slice but rather how RecursiveAggregation is setting up inputs after the slice structure change here (#2347). I will get a fix up.

TomAFrench added a commit that referenced this pull request Sep 5, 2023
* master:
  chore: Replace hashers of hashmaps in dfg with fxhashes (#2490)
  chore: remove duplicate span from FunctionReturnType (#2546)
  feat: Add support for brillig call stacks in runtime errors (#2549)
  feat: add `noirc_abi_wasm` crate for ABI encoding in JS (#1945)
  chore: move CRS files into their own directory (#2558)
  chore: Cleanup `rebuild.sh` script (#2470)
  chore(ci): add mocked backend binary to improve `compile_success_empty` tests (#2554)
  chore: add noir-source-resolver (#2485)
  chore: fix double verify proof (#2556)
  feat: add `nargo backend ls` and `nargo backend use` command to switch between backends (#2552)
  chore(ci): bump checkout action to v4 (#2551)
  feat: Support for optional assertion messages (#2491)
  fix: allow usage of decimal string encoding for fields larger than a `i128` (#2547)
  feat(nargo): add hidden option to produce JSON output from `nargo info` (#2542)
  chore(stdlib)!: Rename `fixed_base_scalar_mul` to be more descriptive (#2488)
  chore: Document requirement for range opcode on `r_witness` in  `GeneratedAcir::euclidean_division` (#2437)
  chore!: ACVM 0.24 (#2504)
  fix(aztec_noir): generalise loop to not always inject a hasher instance (#2529)
  chore: create helper functions for writing programs and contracts to file (#2526)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants