Commit Graph

2108 Commits

Author SHA1 Message Date
TrapdoorHeader e948e10202 fix clippy error 2022-03-06 20:17:09 +03:00
TrapdoorHeader 8c39f89054 use Rotation to sort the opening points s.t. the ordering is static
Signed-off-by: TrapdoorHeader <support@trapdoortech.com>
2022-03-06 20:17:09 +03:00
Carlos Pérez 90f0487e98
Merge pull request #38 from scroll-tech/feat/verify_at_rows
test: add verify_at_rows in MockProver for improve test performance
2022-03-06 11:30:31 +01:00
Zhang Zhuo 2b4ebd36d8 MockProver: allow different gate_row_ids and lookup_input_row_ids for verify_at_rows 2022-03-01 12:00:48 +08:00
Zhang Zhuo 4604e7b80c fix 2022-02-26 17:10:08 +08:00
Zhang Zhuo b011557267 feat: add verify_at_rows in MockProver for testing speed 2022-02-26 16:32:57 +08:00
kilic d0938ea675
Merge pull request #35 from appliedzkp/eval_vanishing
Vanishing polynomial evaluator
2022-02-22 14:22:09 +03:00
kilic caa6f90608 Add vanishing polynomial evaluator 2022-02-22 14:09:20 +03:00
kilic 514152c8b8
Merge pull request #32 from appliedzkp/kzg-rebase
Add name for lookup
2022-02-16 18:29:32 +03:00
Chih Cheng Liang 6f8a605821
Merge pull request #29 from lispc/debug/better_lookup_err3
dev: add name for lookup
2022-02-16 23:14:40 +08:00
kilic e5ce9a3964
Merge pull request #25 from appliedzkp/kzg-rebase
Manuel rebase of commitment scheme replacement 2
2022-02-16 17:18:14 +03:00
AronisAt79 f673407146
Merge pull request #31 from appliedzkp/halo2benchmarking
Halo2benchmarking
2022-02-16 10:19:14 +02:00
Ubuntu 665975062c workflow yml to trigger porver bench on zkevm-circuits 2022-02-15 15:10:08 +00:00
kilic 8b616c33e0 Remove commented out code 2022-02-15 17:41:33 +03:00
Zhang Zhuo ca8cad0e62 format 2022-02-15 20:14:01 +08:00
Zhang Zhuo 67437b222d fix examples 2022-02-15 14:53:25 +08:00
Zhang Zhuo 2a49e2a2bb dev: add name for lookup 2022-02-15 14:52:35 +08:00
Zhang Zhuo e2a01d23db dev: add name for lookup 2022-02-15 11:57:57 +08:00
kilic 8814b0b9f8 Change toolchain in ci to make asm feature pass 2022-02-15 04:22:12 +03:00
kilic 641b4b5f94 Apply clippy and fmt 2022-02-14 14:31:04 +03:00
kilic 7190c5829f Cut out pasta specific circuits 2022-02-14 10:42:32 +03:00
kilic ae2f21827c Use non-stable chain to use asm feature in pairing 2022-02-12 20:56:25 +03:00
kilic a892dd56e9 Make shplonk default 2022-02-12 20:56:25 +03:00
kilic e73c1b2582 Fix typos 2022-02-12 20:56:25 +03:00
kilic c67e7d9f25 Minor cleanups 2022-02-12 20:56:25 +03:00
kilic bebee898fe Add lookup_any 2022-02-12 20:56:25 +03:00
kilic 0e9b075c3a Change multiopen commitment scheme to KZG 2022-02-12 20:56:25 +03:00
str4d b45180273e
Merge pull request #486 from rex4539/typos
Fix typos
2022-02-08 17:52:28 +00:00
str4d 9617336d46
Merge pull request #489 from zcash/ci-book-pin-nightly
CI: Pin nightly version in book workflow
2022-02-04 01:27:43 +00:00
Jack Grigg 53427d19db CI: Pin nightly version in book workflow
We require nightly Rust to build the documentation, but latest nightly
has a bug where `--no-deps` causes an ICE.
2022-02-04 01:23:32 +00:00
str4d 457739593e
Merge pull request #488 from zcash/fix-ci-rustdoc
CI: Fix rustdoc rendering to handle workspace
2022-02-04 01:04:54 +00:00
Jack Grigg 0ce0280b26 CI: Fix rustdoc rendering to handle workspace
`cargo rustdoc` only works for a single package. To render docs for
a workspace while passing config options to `rustdoc`, we need to use
the `RUSTDOCFLAGS` environment variable.

We also add several other flags to handle the switch to `cargo doc`:
- `--no-deps` ensures we only build packages in the workspace.
- `--enable-index-page` (unstable) adds a landing page showing the list
  of rendered crate docs.
2022-02-04 01:03:52 +00:00
Dimitris Apostolou e2f88e450b
Fix typos 2022-02-03 18:01:22 +02:00
str4d ee14e3f985
Merge pull request #481 from zcash/457-deprecated-bigint
halo2_gadgets: Migrate from bigint to uint
2022-02-02 00:40:30 +00:00
Jack Grigg c6886600a9 halo2_gadgets: Migrate from bigint to uint
Closes zcash/halo2#457.
2022-02-01 16:19:53 +00:00
str4d 4bb7496b6f
Merge pull request #473 from zcash/halo2_gadgets-import
Import `halo2_gadgets` as extracted from `orchard`
2022-02-01 15:58:12 +00:00
Jack Grigg 5312343e6d halo2_gadgets: Expose testing APIs required by `orchard` 2022-01-28 17:52:48 +00:00
str4d f3502421cd
Merge pull request #475 from zcash/patch-gadgets-import
`halo2_gadgets` import: Visibility fixes and Clippy fixes.
2022-01-28 16:28:03 +00:00
therealyingtong 3547008d35 Clippy fixes. 2022-01-28 23:50:14 +08:00
therealyingtong 7c7c281000 Visibility fixes. 2022-01-28 23:38:22 +08:00
Jack Grigg bb76d8c292 CI: List explicit features to check against WASM
We can't check the `test-dependencies` feature flag, because `proptest`
fails to compile on WASM.
2022-01-27 23:44:42 +00:00
Jack Grigg 9a12beee73 halo2_gadgets: Rename `halo2` to `halo2_proofs`
The previous commit renamed `halo2_proofs` back to `halo2` temporarily
to keep the commit size down. This commit performs the rename in a
single pass.
2022-01-27 23:32:04 +00:00
Jack Grigg 5202ec6eda Integrate `halo2_gadgets` into the workspace
THe SHA-256 example gadget has been moved into the `halo2_gadgets` crate
behind an `unstable` feature flag.
2022-01-27 23:32:04 +00:00
Jack Grigg 7e9ced2eaa Merge `halo2_gadgets` from zcash/orchard into halo2_gadgets-import 2022-01-27 23:08:35 +00:00
Jack Grigg a2367abcaf Migrate to `halo2_gadgets` crate in subdir
- The crate module structure from `orchard` has been flattened.
- The book pages we want to include in `halo2` have been moved to their
  target location, to avoid any conflicts during the merge.
- Common files that already exist in zcash/halo2 have been removed.
2022-01-27 23:08:01 +00:00
Jack Grigg c4ef177e07 Implement in-crate gadget tests (independent of Orchard constants)
We define some simple fixed bases around the default Pallas generator,
and a simple Sinsemilla instantiation. The tests now compile and pass.

Co-authored-by: ying tong <yingtong@z.cash>
2022-01-27 23:08:01 +00:00
Jack Grigg c2866beb47 Delete Orchard-specific code, dependencies, and book pages
The tests do not compile as of this commit, due to Orchard-specific
constants being deleted, but everything else compiles.

Co-authored-by: ying tong <yingtong@z.cash>
2022-01-27 23:07:59 +00:00
str4d 159ab53da5
Merge pull request #186 from zcash/refactor-gadget-crates
Prepare to extract gadgets into crates
2022-01-27 17:53:18 +00:00
therealyingtong a2868262b3 Minor cleanups and fixes. 2022-01-28 00:45:44 +08:00
therealyingtong 91bc1edf8f constants::sinsemilla: Remove Q_ and S_PERSONALIZATION.
These are part of the sinsemilla gadget and are not Orchard-specific.
They will live in primitives::sinsemilla.
2022-01-27 21:14:15 +08:00