Commit Graph

1276 Commits

Author SHA1 Message Date
Kris Nuttycombe b40a12f1ff
Merge pull request #389 from zcash/368-fix-variable-name
Fix variable name in `spec::diversify_hash`
2023-04-10 19:06:06 -06:00
Jack Grigg a65018f93c Fix variable name in `spec::diversify_hash`
Closes zcash/orchard#368.
2023-04-11 00:23:33 +00:00
Kris Nuttycombe d612d0454c
Merge pull request #388 from zcash/369-fpe-0.6
Migrate to `fpe 0.6`
2023-04-10 17:33:58 -06:00
Jack Grigg 955681b1f7 Migrate to `fpe 0.6`
Closes zcash/orchard#369.
2023-04-10 22:49:40 +00:00
Kris Nuttycombe 047201dafd
Merge pull request #387 from nuttycom/upgrade/incrementalmerkletree_0.3.1
Upgrade `incrementalmerkletree` dependency to version 0.3.1
2023-04-05 10:00:51 -06:00
Kris Nuttycombe 8f452540d4 Upgrade `incrementalmerkletree` dependency to version 0.3.1
Fixes #375
2023-04-05 09:38:11 -06:00
Kris Nuttycombe bdcf15ba21
Merge pull request #385 from nuttycom/upgrade/halo2_0.3.0
Update to halo2_proofs and halo2_gadgets v0.3.0
2023-03-22 13:28:36 -06:00
Kris Nuttycombe feedd693dd Update to halo2_proofs and halo2_gadgets v0.3.0
Fixes #376
2023-03-22 13:11:28 -06:00
Kris Nuttycombe 97d12603d9
Merge pull request #384 from nuttycom/use_zcash_not_encryption-0.3.0-final
Use released version of zcash_note_encryption 0.3.0
2023-03-22 11:28:27 -06:00
Kris Nuttycombe bbc4ee11f1 Use released version of zcash_note_encryption 0.3.0 2023-03-22 10:32:44 -06:00
Kris Nuttycombe 8ecef22dda
Merge pull request #379 from zcash/note_encryption_remove_recipient
Migrate to zcash_note_encryption 0.3.0
2023-03-21 15:23:04 -06:00
Kris Nuttycombe dca33119b4 Migrate to zcash_note_encryption 0.3.0 2023-03-21 10:48:47 -06:00
Kris Nuttycombe 6cbde279e9
Merge pull request #383 from nuttycom/fix/remove_batch_feature
Remove the `halo2-batch` feature flag and rename `halo2-multicore` to just `multicore`
2023-03-20 13:47:08 -06:00
Kris Nuttycombe 46d6766104 Remove the `halo2-batch` feature flag and rename `halo2-multicore` to just `multicore`. 2023-03-20 13:27:01 -06:00
Kris Nuttycombe 7a7f3ec7e7
Merge pull request #382 from nuttycom/upgrade_halo2_patch_dependency
Upgrade patch version of halo2 dependencies.
2023-03-20 13:21:53 -06:00
Kris Nuttycombe a7c438ef0b Upgrade patch version of halo2 dependencies.
Update to make use of the floor-planner-v1-legacy-pdqsort feature.
2023-03-20 13:21:03 -06:00
Kris Nuttycombe bb2212206c Fix halo2_proofs features for wasm32 build & add ci for wasm build.
Co-authored-by: Greg Pfeil <greg@technomadic.org>
2023-03-20 13:19:43 -06:00
Constance Beguier 527e29a062
Upgrade pprof version with a limited inferno version (#48) 2023-03-20 14:12:10 +01:00
Daira Hopwood 61a67f018f
Merge pull request #380 from nuttycom/cleanup/fix_lints
Fix clippy beta lints that are applicable given an MSRV of 1.60
2023-03-10 23:23:18 +00:00
Kris Nuttycombe e9a2de7d97 Fix `cargo doc` complaints. 2023-03-10 14:26:07 -07:00
Kris Nuttycombe cf526f59e2 Fix clippy beta lints that are applicable given an MSRV of 1.60 2023-03-10 14:23:06 -07:00
Kris Nuttycombe 0bc40d8c70
Merge pull request #377 from zcash/ff-0.13
Migrate to `ff 0.13`
2023-03-09 15:05:07 -07:00
Jack Grigg 3beea4adb7 Migrate to `ff 0.13`
Closes zcash/orchard#371.
2023-03-09 21:14:41 +00:00
Jack Grigg 0f123ca707 Bump MSRV to 1.60 2023-03-09 21:14:41 +00:00
Paul 43d5e77d38
AssetBase spec update (#44)
- Renamed AssetId to AssetBase
- Changed the  AssetBase implementation to support the zip update.
- Updated visibility for various members of issuance.rs
2023-03-02 14:26:19 +02:00
Constance Beguier cbf0a3a651
Circuit: Split_flag handling (#42)
When split_flag is set, the following values are modified
* v_net is equal to -v_new instead of v_old - v_new
* cv_net is evaluated with this new value of v_net

The following constraints are modified
* (v_old - v_new = magnitude * sign) becomes (v_old * (1-split_flag) - v_new = magnitude * sign) to take into
   account the new value of v_net
* nf_old = nf_old_pub is only checked when split_flag=0
 * the new constraint asset_old = asset_new is always checked regardless of the value of split_flag
2023-02-14 18:04:59 +01:00
Alexey 4e4767789e
Minimal API changes for Issuance in Client (#43)
Make IVK::from_bytes public
2023-02-09 12:44:25 +01:00
Paul cec48d72a1
V3 encryption (#38)
Added `OrchardDomainV3` on top of the encryption generalization (QED-it/librustzcash#18).

not for review: note_encryption.rs, note_encryptionv2v3.rs and src/test_vectors/note_encryption.rs. These files represent two possible approaches for backward compatibility and will be finalized down the road. (the files were excluded from the build).
2023-01-31 15:51:29 +02:00
Kris Nuttycombe e2bfd99454
Merge pull request #365 from zingolabs/add_spends_and_outputs_getters_to_builder
Add spends/outputs getter fns to builders for use in change calculation
2023-01-03 14:57:06 -07:00
Gygaxis Vainhardt b64d6ba01e
Update src/builder.rs
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2023-01-03 17:34:28 -04:00
Kris Nuttycombe 54b6e7437a
Merge pull request #367 from rex4539/typos
Fix typo
2023-01-03 12:46:31 -07:00
Dimitris Apostolou 1f13327479
Fix typo 2022-12-31 13:19:43 +02:00
Alexey 4681cc212a
Use different random nullifiers in dummy notes (#39) 2022-12-23 11:29:01 +01:00
Paul babf1da44b
CI-Badge (#37)
Added CI badge to README
2022-12-21 11:40:08 +02:00
Alexey efbfc197a9
AssetID test vectors (#34) 2022-12-20 15:49:49 +01:00
Alexey Koren 5a50fb8d11
Create dummy spend in empty builder by default (#36) 2022-12-18 13:53:27 +01:00
Gygaxis Vainhardt cd8a39bd0c
Format comments
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2022-12-09 13:38:06 -04:00
Hazel OHearn c34632746f
fix changelog additions 2022-12-09 13:38:04 -04:00
Hazel OHearn 13d0d5592c
Add spends/outputs getter fns to builders for use in change calculation 2022-12-09 13:37:26 -04:00
Kris Nuttycombe 06cea3fa53
Merge pull request #366 from zingolabs/add_concrete_errors_for_spend_and_output_construction
Add concrete error types for add_spend and add_output
2022-12-08 14:19:32 -07:00
Hazel OHearn e466d7b523
Add Display and Error impls for error types 2022-12-08 16:58:30 -04:00
Gygaxis Vainhardt 4296860a86
Partially apply suggestions from code review
Co-authored-by: str4d <thestr4d@gmail.com>
2022-12-08 16:36:54 -04:00
Gygaxis Vainhardt 938b122814
Replace type alias with zero-size struct
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-12-08 16:35:49 -04:00
Hazel OHearn 9807e325d7
Fix changelog 2022-12-08 11:00:50 -04:00
Hazel OHearn bf9ff1dae6
Fix changelog 2022-12-07 17:04:06 -04:00
Alexey Koren d8f3563c1c
ZSA burn functionality (#35)
Added a method to add assets to burn to the Builder

bvk computation now includes the burnt assets

Added Tests for bsk/bvk consistency for burning

Added E2E tests for assets burning
2022-12-07 16:19:51 +01:00
Paul 9405f801cd verify_issue_bundle() cleanup (#25)
* improved `verify_issue_bundle()`
2022-12-06 16:44:46 +02:00
Paul 355b5691ea Review fixes2 (#24)
* rename 2 note_type -> asset as per  https://github.com/zcash/orchard/pull/356#discussion_r967636009

* added a dedicated type for "IssuanceAuth"

* disabled codecov github action due to bad behavior. 

* extracted "is_asset_desc_of_valid_size()" into asset_id.rs
2022-12-06 15:47:30 +02:00
Paul f3ebe7a1ab Review fixes (#23)
* fixes and suggestions

* changed "issuer" to "issuance" as per https://github.com/zcash/orchard/pull/356#discussion_r967668241

* terminology fixes

* updated naming
2022-12-06 15:39:59 +02:00
Paul 985d0d243e disabled split notes (#22)
* disabled split notes and proof check for zsa transfer
2022-12-06 15:39:59 +02:00