therealyingtong
5b26c7d67a
Pass rng to create_proof API.
...
As of halo2#444, all APIs now take `R: RngCore` arguments instead of
internally depending on `rand::rngs::OsRng`.
2022-01-05 21:30:45 +08:00
therealyingtong
f28edd886c
Remove .into() from arguments to enable_equality().
...
As of halo2#416, this is handled internally by the function.
2022-01-05 21:30:45 +08:00
therealyingtong
a5ffc3bb47
Update halo2 revision.
2022-01-05 21:30:45 +08:00
str4d
5742eb5c52
Merge pull request #269 from zcash/pin-dependencies
...
Pin `pprof = 0.6.1`.
2022-01-05 12:27:32 +00:00
therealyingtong
1c11a424e5
Pin pprof to 0.6.1.
2022-01-05 19:44:52 +08:00
str4d
6630a143c1
Merge pull request #450 from zcash/update-deps
...
Migrate to pasta_curves 0.3 and blake2b_simd 1
2022-01-05 08:03:53 +00:00
Jack Grigg
deabd62eee
Migrate to pasta_curves 0.3 and blake2b_simd 1
2022-01-05 02:45:51 +00:00
str4d
f9b3ff2aef
Merge pull request #433 from zcash/mockprover-failure-locations
...
dev: Enable `VerifyFailure::ConstraintNotSatisfied` to point to region offsets
2022-01-04 14:06:28 +00:00
str4d
f565883db0
Merge pull request #448 from zcash/dev-fill-from-row
...
[dev] Implement `Assignment::fill_from_row()` for `MockProver`.
2022-01-04 13:12:55 +00:00
therealyingtong
fe75ceee28
dev::bad_lookup test: Fix lookup expression.
2022-01-04 14:23:08 +08:00
therealyingtong
7f526f01e6
dev: Implement fill_from_row() for MockProver.
2022-01-04 14:23:08 +08:00
therealyingtong
3d22943ebe
dev::bad_lookup test: Do not assign zero in lookup table.
...
We now expect the lookup to fail when q = 0, but it still passes,
revealing a bug in the MockProver.
2022-01-04 14:23:08 +08:00
str4d
d062072366
Merge pull request #424 from zcash/fix-assigned
...
Fix `Assigned<F>` implementation
2022-01-03 22:09:51 +00:00
str4d
6ffe61fd81
Add some extra `Assigned<F>` test cases
...
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-01-03 17:00:47 +00:00
str4d
b5adc3843d
Fix comments in `Assigned<F>` tests
...
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-01-03 16:50:29 +00:00
str4d
d57c530d99
Merge pull request #444 from zcash/more-pasta-prep
...
More preparations for `pasta_curves 0.3`
2022-01-03 13:26:51 +00:00
str4d
408b617376
Merge pull request #397 from rex4539/typos
...
Fix typos
2021-12-31 14:14:34 +00:00
Daira Hopwood
5614b076b9
Merge pull request #446 from HAOYUatHZ/patch-1
...
fix typos
2021-12-29 19:54:38 +00:00
HAOYUatHZ
5a65c7b77b
fix typos
2021-12-29 15:00:32 +08:00
ying tong
3cd7a141cc
Merge pull request #442 from zcash/therealyingtong-patch-1
...
[book] Fix SHA256 interpolation polynomial
2021-12-29 09:22:37 +08:00
Jack Grigg
1556489a9f
Remove usage of `FieldExt::rand`
...
All APIs now take `R: RngCore` arguments instead of internally depending
on `rand::rngs::OsRng`.
2021-12-25 13:41:39 +00:00
Jack Grigg
9297a938ab
Remove `FieldExt::from_u64` usage from SHA-256 example
2021-12-25 13:34:36 +00:00
ying tong
2ab6e1b0d6
[book] Fix SHA256 interpolation polynomial
...
Closes #434
2021-12-23 22:07:09 +08:00
str4d
af8e0d619a
Merge pull request #432 from zcash/381-rename-verifyfailure-cell
...
Rename `VerifyFailure::Cell` to `VerifyFailure::CellNotAssigned`
2021-12-21 15:33:08 +00:00
Jack Grigg
558e03aa93
dev: Enable `VerifyFailure::ConstraintNotSatisfied` to point to region offsets
2021-12-21 03:00:16 +00:00
Jack Grigg
5520d13480
dev: Move reusable logic onto `FailureLocation`
2021-12-21 02:56:39 +00:00
Jack Grigg
54125fbc8c
dev: Rename `LookupFailure` to `FailureLocation`
2021-12-21 02:56:39 +00:00
str4d
3f53d9f6bd
Merge pull request #431 from zcash/mockprover-improve-lookup-error
...
Improve `dev::VerifyFailure::Lookup` information
2021-12-20 22:39:33 +00:00
str4d
54cdc051fe
Merge pull request #237 from zcash/orchard-mainnet-circuit
...
Orchard proposed mainnet circuit
2021-12-20 17:49:57 +00:00
str4d
40cc3cb728
Merge pull request #267 from zcash/crate-cleanups
...
Crate cleanups
2021-12-20 17:35:53 +00:00
Jack Grigg
d11fbd4a56
Remove `ValueSum::from_raw`
...
There is no reason for crate users to be constructing `ValueSum`
directly. We no longer use it to represent `valueBalanceOrchard`,
instead requiring the user to specify their own type.
2021-12-20 16:08:44 +00:00
Jack Grigg
04af08d343
Fix documentation of `orchard::value` module
...
Closes zcash/orchard#142 .
2021-12-20 16:05:33 +00:00
Jack Grigg
d84764f2db
Remove outdated doc comment on `MerkleHashOrchard`
...
Closes zcash/orchard#245 .
2021-12-20 15:24:48 +00:00
Jack Grigg
0e1220acc9
Merge branch 'main' into orchard-mainnet-circuit
2021-12-20 15:20:33 +00:00
Jack Grigg
28489d03ad
Rename `VerifyFailure::Cell` to `VerifyFailure::CellNotAssigned`
...
Closes zcash/halo2#381 .
2021-12-20 14:45:56 +00:00
Jack Grigg
cbe4d05002
dev: Match lookup failures to regions
...
This currently matches the first region on the row that matches any
input column, which will result in some mismatches. To fix this, we will
need to track the columns of complex selectors.
2021-12-20 13:16:55 +00:00
Jack Grigg
3843c11e82
dev: Enable `VerifyFailure::Lookup` to point to region offsets
2021-12-20 13:16:55 +00:00
str4d
a061a861b3
Merge pull request #266 from zcash/release-0.1.0-beta.1
...
Release 0.1.0-beta.1
2021-12-17 22:30:14 +00:00
Jack Grigg
f98431175a
orchard 0.1.0-beta.1
2021-12-17 22:10:35 +00:00
Jack Grigg
369b99ee3f
Add `doc_cfg` annotations
2021-12-17 22:08:58 +00:00
Jack Grigg
bb04300059
zcash_note_encryption 0.1
2021-12-17 22:08:23 +00:00
Jack Grigg
af236a34ad
blake2b_simd 1
2021-12-17 17:06:37 +00:00
Jack Grigg
f468e604e3
pprof 0.6
2021-12-17 17:05:23 +00:00
Jack Grigg
4af28cb6d4
incrementalmerkletree 0.2
2021-12-17 16:39:48 +00:00
str4d
cad50e7611
Merge pull request #265 from zcash/zcash_note_encryption-api-cleanups
...
Migrate to latest `zcash_note_encryption` API
2021-12-17 13:43:07 +00:00
Jack Grigg
4b0b32275f
Migrate to latest `zcash_note_encryption` API
2021-12-17 05:31:24 +00:00
ebfull
4592c2f275
Merge pull request #262 from zcash/261-ak_P-reject-identity
...
Reject the identity in `SpendValidatingKey::from_bytes`
2021-12-16 08:19:58 -07:00
str4d
b13b9677cf
Merge pull request #254 from zcash/pasta_curves-prep
...
Remove various usages of `FieldExt` methods
2021-12-16 12:07:50 +00:00
str4d
a5de219cee
Merge pull request #258 from zcash/ci-benchmarks
...
CI: Benchmark tweaks
2021-12-15 23:14:33 +00:00
Jack Grigg
ab930e8866
sinsemilla: Simplify assertions in `MessagePiece::from_bitstring`
...
Also fixes some incorrect code comments.
Closes zcash/orchard#263 .
2021-12-15 22:15:00 +00:00