Skip to content

chore: Revert "feat: Only create new witnesses for distinctiveness when duplicates exist"#2209

Merged
kevaundray merged 1 commit intomasterfrom
revert-2191-reuse-distinct-witnesses
Aug 8, 2023
Merged

chore: Revert "feat: Only create new witnesses for distinctiveness when duplicates exist"#2209
kevaundray merged 1 commit intomasterfrom
revert-2191-reuse-distinct-witnesses

Conversation

@kevaundray
Copy link
Contributor

This PR Reverts #2191 -- that PR was actually a breaking change since distinct implies that the user is relying on a particular ordering of witness indices which the optimization would have changed.

@sirasistant
Copy link
Contributor

More concretely on a concrete order of public inputs, not necessarily witnesses, but yes 🤓

@kevaundray kevaundray enabled auto-merge August 8, 2023 12:04
@kevaundray kevaundray added this pull request to the merge queue Aug 8, 2023
Merged via the queue into master with commit 5b95ab5 Aug 8, 2023
@kevaundray kevaundray deleted the revert-2191-reuse-distinct-witnesses branch August 8, 2023 12:23
TomAFrench added a commit that referenced this pull request Aug 11, 2023
* master:
  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)
  chore(nargo)!: remove `flat_witness` feature flag (#2208)
  chore: Revert "feat: Only create new witnesses for distinctiveness when duplicates exist" (#2209)
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.

2 participants