Commit Graph

2910 Commits

Author SHA1 Message Date
Kris Nuttycombe 17827539b3 Fix double-entry accounting errors in transaction views. 2023-04-11 14:59:48 -06:00
Kris Nuttycombe 3ff5fa5288
Merge pull request #793 from zcash/zip32_seed_signature
[#792] zcash_primitives: implement Seed Signature section of ZIP-32
2023-04-11 12:58:39 -06:00
str4d f2f99038db
Merge pull request #808 from zcash/orchard-0.4
Update dependencies
2023-04-11 19:25:41 +01:00
Jack Grigg f82866dbb9 Migrate to `bech32 0.9` 2023-04-11 16:01:19 +00:00
Jack Grigg 6b7c62eb22 zcash_client_backend: Migrate to `base64 0.21` 2023-04-11 15:57:16 +00:00
Jack Grigg 3fb66a8aa1 zcash_client_backend: Migrate to `tonic 0.9` 2023-04-11 15:48:44 +00:00
Jack Grigg 43eed3d8f9 zcash_proofs: `directories 5` 2023-04-11 15:48:44 +00:00
Jack Grigg 878f3e9214 zcash_primitives: Migrate to `sha2 0.10`, `bip0039 0.11` 2023-04-11 15:48:44 +00:00
Jack Grigg d2ccd1f017 zcash_primitives: Migrate to `fpe 0.6`
Part of zcash/librustzcash#757.
2023-04-11 15:48:44 +00:00
Jack Grigg 2fcde5e047 Migrate to `orchard 0.4.0`
Closes zcash/librustzcash#766.
2023-04-11 13:25:17 +00:00
str4d 4f0dd218c3
Merge pull request #805 from upbqdn/use-u64-for-byte_count
Fix a theoretical possibility of overflow leading to panic
2023-04-11 13:01:38 +01:00
str4d 47c3159968
Merge pull request #806 from nuttycom/feature/zip_317_sapling_padding
Ensure that Sapling padding outputs are taken account in ZIP 317 change computation.
2023-04-10 12:57:31 +01:00
Kris Nuttycombe f1f63043ca Ensure that Sapling padding outputs are taken account in ZIP 317 change computation.
Fixes #799
2023-04-05 21:39:27 -06:00
Marek c9f55a4c5d Use `u64` instead of `usize` for `byte_count` 2023-04-04 18:38:28 +02:00
Kris Nuttycombe 3e54e1def1
Merge pull request #803 from zcash/upgrade/orchard_0.4.0
Upgrade orchard patch dependency.
2023-04-03 17:41:56 -06:00
Kris Nuttycombe 4fea57dcac Upgrade orchard patch dependency. 2023-04-03 16:28:53 -06:00
Francisco Gindre e3f09ba66a
[#792] zcash_primitives: implement Seed Signature section of ZIP-32
Implements a type to enclose a Seed Fingerprint byte sequence
called `SeedFingerprint`

implements a public function to create a `SeedFingerprint` from
seed bytes

Closes #792

Credits for PR Suggestions by Daira and Kris

Edit: Added suggestions from Daira Emma and a test for returning `None`

Added test refactor suggestions as well

removed reference to test vectors
2023-03-30 18:41:57 -03:00
Kris Nuttycombe fb49cd412f
Merge pull request #801 from nuttycom/upgrade/redjubjub
Upgrade to redjubjub 0.7.0
2023-03-30 15:32:59 -06:00
Kris Nuttycombe fcd6f00396 Upgrade to redjubjub 0.7.0
This removes our reliance on the following out-of-date transitive
dependencies that are duplicative of more recent versions of crates
we depend on:
- bls12_381 v0.7
- ff v0.12
- group v0.12
- jubjub v0.9
- pasta_curves v0.4
- reddsa v0.3
2023-03-30 14:53:19 -06:00
Kris Nuttycombe 3d65c481d7
Merge pull request #791 from zcash/dependabot/github_actions/actions/cache-3.3.1
Bump actions/cache from 3.2.4 to 3.3.1
2023-03-30 09:46:10 -06:00
Kris Nuttycombe 21ae514e99
Merge pull request #798 from nuttycom/zcash_note_encryption-0.3.0
Update zcash_note_encryption changelog for 0.3.0 release.
2023-03-22 10:28:06 -06:00
Kris Nuttycombe 1a27a7f9ce Update zcash_note_encryption changelog for 0.3.0 release. 2023-03-22 09:54:18 -06:00
Kris Nuttycombe ca349b62fd
Merge pull request #790 from zcash/sapling/zcash_note_encryption-0.3.0
Update zcash_primitives to use zcash_note_encryption 0.3.0
2023-03-21 15:39:05 -06:00
Kris Nuttycombe d6fafa291b Update Sapling note encryption for `zcash_note_encryption 0.3.0`
Fixes zcash/librustzcash#455
2023-03-21 11:09:38 -06:00
Kris Nuttycombe 169782c672
Merge pull request #797 from zcash/note_encryption_remove_recipient
zcash_note_encryption: remove `recipient` parameter from `Domain::note_plaintext_bytes`
2023-03-21 10:44:28 -06:00
Kris Nuttycombe c696069f93 Bump zcash_note_encryption to version 0.3.0 for release.
This removes the path-based dependencies on the `zcash_note_encryption`
crate in favor of using versioned dependencies locally. This better
reflects the future state in which `zcash_note_encryption` is factored
out of the workspace and maintained in a separate repository.
2023-03-20 16:16:34 -06:00
Kris Nuttycombe c88f3e1b9d Remove the `recipient` parameter from zcash_note_encyption::Domain::note_plaintext_bytes
The `Domain::Note` type is now expected to contain information about the
recipient of the note, eliminating the need to pass this information in
via the encryption context.
2023-03-20 16:16:00 -06:00
Kris Nuttycombe b77c952583
Merge pull request #795 from nuttycom/upgrade/ff_0.13
Update dependencies to reflect changes in ff 0.13
2023-03-20 16:10:35 -06:00
Kris Nuttycombe cb1be45f22 Update CHANGELOGs to reflect the addition of the zcash_primitives/multicore feature. 2023-03-20 15:11:05 -06:00
Kris Nuttycombe 7c1a4c898d Fix wasm32 CI runner.
The `halo2_proofs/multicore` flag must be disabled when running wasm
builds; this ensures that we do not accidentally include it as a
transitive dependency when building with `--no-default-features`.
2023-03-20 14:39:07 -06:00
Kris Nuttycombe 77fbd8cb4f Update dependencies to reflect changes in ff 0.13 2023-03-20 14:35:45 -06:00
str4d 0cff3c67ed
Merge pull request #794 from zcash/temporary-zcashd-notecommitment-derive
Temporarily re-expose Sapling `NoteCommitment` derivation
2023-03-17 00:05:20 +00:00
Jack Grigg 2530eb3a9d Temporarily re-expose Sapling `NoteCommitment` derivation 2023-03-16 23:27:01 +00:00
dependabot[bot] 19daa67bbb
Bump actions/cache from 3.2.4 to 3.3.1
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.4 to 3.3.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.2.4...v3.3.1)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 05:18:44 +00:00
Kris Nuttycombe e934316db9
Merge pull request #784 from zcash/temporary-zcashd-bundle-from-parts
Temporarily re-expose ability to construct invalid Sapling bundles
2023-03-08 09:02:06 -07:00
Jack Grigg a8003c8ff5 Temporarily re-expose ability to construct invalid Sapling bundles
Until zcash/zcash#6397 is closed, this ability is needed by `zcashd` for
crossing the FFI.
2023-03-08 03:45:01 +00:00
Kris Nuttycombe 8bf5effb71
Merge pull request #779 from nuttycom/pin_inferno
Pin the `inferno` transitive dependency to avoid MSRV errors.
2023-02-16 11:54:59 -07:00
Kris Nuttycombe 9c56b21de7 Pin the `inferno` transitive dependency to avoid MSRV errors. 2023-02-16 11:06:24 -07:00
Kris Nuttycombe d456697fa6
Merge pull request #769 from zcash/dependabot/github_actions/actions/cache-3.2.4
Bump actions/cache from 3.2.2 to 3.2.4
2023-02-02 11:15:08 -07:00
Kris Nuttycombe 64b380c525
Merge pull request #775 from zcash/ci-replace-toolchain-actions
CI: Replace `actions-rs/toolchain` with `dtolnay/rust-toolchain`
2023-02-02 11:13:08 -07:00
Jack Grigg aca56b5d5a CI: Replace `actions-rs/toolchain` with `dtolnay/rust-toolchain`
Now that dtolnay/rust-toolchain#53 has been closed, we can migrate
away from the unmaintained actions-rs/toolchain.
2023-02-02 17:07:39 +00:00
Kris Nuttycombe 6027f52e8e
Merge pull request #773 from zcash/ci-replace-unmaintained-actions
CI: Replace most unmaintained `actions-rs/*` actions
2023-02-01 14:21:14 -07:00
Jack Grigg a4d7254406 CI: Replace most unmaintained `actions-rs/*` actions
The actions-rs/* actions are unmaintained. See actions-rs/toolchain#216
for more information.

- actions-rs/toolchain is replaced by rust-toolchain.toml.
- actions-rs/cargo is replaced by direct cargo usage.
- actions-rs/tarpaulin is replaced by the cargo-tarpaulin container.

We currently retain a few usages due to a current lack of alternatives:

- actions-rs/toolchain to enable beta (for Clippy warnings) and nightly
  (for building the book).
- actions-rs/clippy-check so Clippy results are published as annotations
  on PRs.

We also now require via rust-toolchain.toml that people building from
the repo have the clippy and rustfmt components installed. This is fine
because they will need to ensure these pass when making PRs.
2023-02-01 17:18:24 +00:00
str4d 847c187beb
Merge pull request #772 from zcash/release-0.10
`zcash_primitives 0.10.0`, `zcash_proofs 0.10.0`, `zcash_client_backend 0.7.0`, `zcash_client_sqlite 0.5.0`
2023-02-01 02:55:44 +00:00
Jack Grigg 5f7cae1762 zcash_client_sqlite 0.5.0 2023-02-01 02:12:47 +00:00
Jack Grigg d8cb20e091 zcash_client_backend 0.7.0 2023-02-01 02:11:56 +00:00
Jack Grigg 24b5e04c8d zcash_proofs 0.10.0 2023-02-01 02:10:42 +00:00
Jack Grigg 9852c31970 zcash_primitives 0.10.0 2023-02-01 02:10:42 +00:00
Jack Grigg 5b00699d66 Update changelogs 2023-02-01 01:58:45 +00:00
str4d b6f7ff06ed
Merge pull request #761 from nuttycom/wallet/expose_transaction_propose
Factor out a transaction proposal API from `spend`.
2023-02-01 00:51:31 +00:00