Commit Graph

3402 Commits

Author SHA1 Message Date
str4d 74c036e870
Merge pull request #1172 from nuttycom/fix_ua_default_requests
zcash_client_sqlite: Do not request transparent UA components if "transparent-inputs" feature is disabled.
2024-02-07 22:27:40 +00:00
Kris Nuttycombe 7c0b9da9b7 zcash_client_sqlite: Do not request transparent UA components if "transparent-inputs" feature is disabled. 2024-02-07 14:49:48 -07:00
str4d 45df8b7853
Merge pull request #1149 from nuttycom/rename_taddr_variants
zcash_primitives: Rename `TransparentAddress` variants.
2024-02-06 22:04:20 +00:00
Kris Nuttycombe 9b7f13c8a9
Merge pull request #1159 from rex4539/typos
Fix typo
2024-02-06 11:47:05 -07:00
Kris Nuttycombe 5241c6fd29
Merge pull request #1164 from nuttycom/fix_broken_zip321_tests
zcash_client_backend: Fix broken `zip321` tests.
2024-02-06 11:30:51 -07:00
Kris Nuttycombe 3acd6348aa zcash_client_backend: Fix broken `zip321` tests.
These tests appear to have been broken by #1139; it's not clear
why CI passed on that at the time.
2024-02-06 10:36:31 -07:00
Dimitris Apostolou ced84cab36
Fix typo 2024-02-06 14:30:53 +02:00
Kris Nuttycombe 2360609f1a zcash_primitives: Rename `TransparentAddress` variants.
This resolves an old TODO.
2024-02-02 10:52:17 -07:00
Kris Nuttycombe 9b5abe1a38
Merge pull request #1145 from nuttycom/fix/serialize_empty_transaction_requests
zcash_client_backend: Allow serialization of empty transaction requests.
2024-01-30 18:06:21 -07:00
Kris Nuttycombe 11f5589595 zcash_client_backend: Allow serialization of empty transaction requests. 2024-01-30 16:42:31 -08:00
Daira Emma Hopwood e387c6ce3f
Merge pull request #1139 from nuttycom/keys/no_default_address_request
zcash_keys: Remove `UnifiedAddressRequest::DEFAULT`
2024-01-29 18:49:25 +00:00
Kris Nuttycombe 3f3efd2445 zcash_keys: Move proptest generators from `zcash_client_backend` 2024-01-27 07:59:55 -07:00
Kris Nuttycombe ea1d3a35db zcash_keys: Remove `UnifiedAddressRequest::DEFAULT`
This default only made sense in the context of what was supported by
`zcash_client_sqlite`, and not in any other context. Unified address
requests no longer have their parts conditioned by what feature flags
are available; instead, if a request is constructed for which the
required key parts are not supported under a particular selection of
feature flags, address generation will raise a runtime error.
2024-01-27 07:59:55 -07:00
Kris Nuttycombe 0fa76ff726
Merge pull request #1141 from zcash/ci-fix-flags
CI: Fix passing feature flags into preparation action step
2024-01-27 07:58:08 -07:00
Jack Grigg 85095af96e CI: Also set `RUSTDOCFLAGS`
`rustdoc` doesn't support all the same flags as `rustc`, so it doesn't
listen to `RUSTFLAGS` and has its own env variable. We are only setting
flags that both understand.
2024-01-27 00:31:00 +00:00
Jack Grigg b1d9689b8a Use `AccountId` in `orchard::keys::SpendingKey::from_zip32_seed`
This was necessary as of `orchard 0.7`, but due to CI not checking with
the `orchard` feature flag at the time the crate was updated, CI did not
catch this.
2024-01-27 00:08:38 +00:00
Jack Grigg c5af1e0dd2 CI: Fix passing feature flags into preparation action step 2024-01-27 00:03:03 +00:00
str4d 885223adc6
Merge pull request #1138 from zcash/sapling-and-orchard-crates
Migrate to `sapling-crypto 0.1` and `orchard 0.7`
2024-01-26 21:22:25 +00:00
Jack Grigg 8ca1fcee92 Migrate to `sapling-crypto 0.1` and `orchard 0.7` 2024-01-26 20:43:58 +00:00
str4d c583c80cd6
Merge pull request #1137 from zcash/vscode-rustflags
Add `zcash_unstable` to `RUSTFLAGS` for VS Code
2024-01-26 20:16:03 +00:00
Jack Grigg 17ce9302a2 Add `zcash_unstable` to `RUSTFLAGS` for VS Code
Necessary for the `--all-features` to work, allowing all code to be
compiled by `rust-analyzer`.
2024-01-26 19:52:58 +00:00
str4d fb081c8971
Merge pull request #1136 from zcash/dependabot/github_actions/codecov/codecov-action-3.1.5
build(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5
2024-01-26 17:04:53 +00:00
dependabot[bot] fcf66959e4
build(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.4...v3.1.5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-26 05:06:58 +00:00
str4d 961f902795
Merge pull request #1127 from nuttycom/fix/migrate_scope_without_raw_tx
receiving_key_scopes migration: Fall back to note commitment matching for scope determination
2024-01-26 03:31:27 +00:00
Jack Grigg d0a27eda90 zcash_client_sqlite: Add test for `receiving_key_scopes` migration 2024-01-26 03:10:36 +00:00
Kris Nuttycombe 0aebaf1345 receiving_key_scopes migration: Fall back to note commitment matching for scope determination.
Fixes #1117
2024-01-26 03:10:31 +00:00
str4d 6174055fa3
Merge pull request #1134 from zcash/ci-reduce-macos-builds
CI: Don't test `unstable-nu6` and `zfuture` feature flags on macOS
2024-01-25 22:26:31 +00:00
str4d 9967bbc11b
Merge pull request #1133 from zcash/ci-fix-wasm
CI: Copy patch directives into synthetic crate
2024-01-25 22:13:59 +00:00
Jack Grigg 9456d31f23 CI: Don't test `unstable-nu6` and `zfuture` feature flags on macOS
This reduces the number of macOS runner jobs in each PR from 10 to 6, or
from 5 to 3 for external PRs. GitHub's macOS runners are noticeably
slower than their other runners, and our available free runner slots are
being quickly exhausted when we have multiple PRs open.
2024-01-25 21:19:50 +00:00
str4d dca890adcd
Merge pull request #1102 from zcash/doc-improvements
Various documentation improvements
2024-01-25 21:02:01 +00:00
Jack Grigg c52a26cd8e CI: Copy patch directives into synthetic crate 2024-01-25 19:49:46 +00:00
str4d 14408e4eed
Merge pull request #1132 from zcash/rusqlite-dependency-warning
zcash_client_sqlite: Add warning about `rusqlite` version constraint
2024-01-25 19:27:42 +00:00
str4d 4873e2586f
zcash_primitives: Adjust doc comment on `BlockHash`
Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
2024-01-25 19:17:21 +00:00
str4d 610b19bcd2
Merge pull request #1129 from zcash/wallet/orchard_compiler_flag
Add `zcash_unstable` compiler flag to fully gate `orchard` functionality
2024-01-25 19:15:53 +00:00
Jack Grigg e85aac82b6 zcash_client_sqlite: Add warning about `rusqlite` version constraint 2024-01-25 19:06:08 +00:00
str4d 08d3546f88
Merge pull request #1122 from zcash/light-client-perf
Improve light client performance
2024-01-25 19:04:58 +00:00
str4d fe902f74bc Add documentation about the `None` fully scanned height case
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
2024-01-25 17:43:52 +00:00
Kris Nuttycombe 0ae986cad0 zcash_client_backend: Move features guarded by the `orchard` flag to a separate Unreleased section of the CHANGELOG 2024-01-24 20:19:14 -07:00
Kris Nuttycombe ea4d00a12d Add CHANGELOG entries. 2024-01-24 18:00:55 -07:00
Kris Nuttycombe 184e3c741f Add `zcash_unstable` compiler flag to fully gate `orchard` functionality 2024-01-24 17:48:10 -07:00
str4d 20150c32a0
Merge pull request #1130 from zcash/ci-explicit-feature-flags
CI: Replace `--all-features` with common feature config
2024-01-25 00:21:05 +00:00
Jack Grigg 5187a2dafb CI: Replace `--all-features` with common feature config
Part of zcash/librustzcash#1123.
2024-01-24 23:41:43 +00:00
Jack Grigg d07f6d4336 zcash_client_sqlite: Make `get_wallet_summary` entirely transactional 2024-01-24 20:33:55 +00:00
Jack Grigg db071f2e1f zcash_client_backend: Add desired Sapling shard index to `WalletSummary`
Closes zcash/librustzcash#1124.
2024-01-24 18:06:31 +00:00
Jack Grigg 11355e4095 zcash_client_sqlite: Get fully-scanned height from scan queue 2024-01-24 18:06:31 +00:00
Jack Grigg ff724317f6 zcash_client_sqlite: Add test for `WalletDb::block_fully_scanned` 2024-01-24 18:06:31 +00:00
str4d 3a0b634101
Merge pull request #1103 from nerdcash/docFixes
Doc improvements
2024-01-23 16:19:50 +00:00
Jack Grigg 72c427487b zcash_client_backend: Add diagram of wallet sync flow 2024-01-23 16:18:28 +00:00
Jack Grigg 0ccc126315 zcash_client_sqlite: Instrument `put_shard_roots` 2024-01-22 23:55:19 +00:00
Jack Grigg ae2a18db93 zcash_client_sqlite: Instrument `get_wallet_summary` 2024-01-22 23:55:19 +00:00