Jack Grigg
089905aefb
zcash_protocol: Set the public mainnet activation height for NU6
2024-09-24 16:23:01 +00:00
Jack Grigg
d8db481ac3
Merge pull request #1547 from zcash/1525-document-v_tx_outputs-change
...
Document the change to `v_tx_outputs` in `zcash_client_sqlite 0.11.0`
2024-09-23 18:26:13 +01:00
Kris Nuttycombe
23b955f16a
Merge pull request #1546 from zcash/fix-test-feature-flag-issues
...
Fix various single-crate feature flag issues with tests
2024-09-23 10:59:33 -06:00
Jack Grigg
0936abd542
Document the change to `v_tx_outputs` in 0.11.0
...
Closes zcash/librustzcash#1525 .
2024-09-23 16:25:38 +00:00
Jack Grigg
6bd2f1f7ab
Fix clippy lint for `cargo test -p zcash_client_sqlite`
2024-09-23 16:17:10 +00:00
Jack Grigg
ebd849f3e1
Fix `cargo test -p zcash_client_backend`
2024-09-23 16:15:36 +00:00
Jack Grigg
8b8efe9bb4
Fix clippy lint for `cargo test -p zcash_keys`
2024-09-23 16:14:44 +00:00
Jack Grigg
ae4a968a86
Fix `cargo test -p zcash_primitives`
2024-09-23 16:13:13 +00:00
Jack Grigg
eaf330d950
Fix `cargo test -p zcash_address`
...
Closes zcash/librustzcash#1538 .
2024-09-23 16:13:13 +00:00
Kris Nuttycombe
778fe2e2df
Merge pull request #1543 from zcash/zcb-migrate-tests
...
Move remaining pool tests from `zcash_client_sqlite` to `zcash_client_backend`
2024-09-20 18:27:11 -06:00
Jack Grigg
e67e7abc52
zcash_client_backend: Remove default impls for `WalletTest` methods
...
Now that these are in a separate trait, we can just require them for all
downstreams, in order to make them usable in all tests.
2024-09-20 23:52:58 +00:00
Jack Grigg
1f23bc1d4c
Move remaining pool tests from `zcash_client_sqlite` to `zcash_client_backend`
...
Co-authored-by: Willem Olding <willemolding@gmail.com>
2024-09-20 23:52:58 +00:00
Jack Grigg
0deee7aa63
zcash_client_sqlite: Replace crate-specific functionality in tests
2024-09-20 23:52:58 +00:00
Willem Olding
ceaa9e80c7
zcash_client_backend: New `WalletTest` methods to abstract SQL queries
...
Co-authored-by: Jack Grigg <jack@electriccoin.co>
2024-09-20 23:52:58 +00:00
Jack Grigg
c0f4effdb6
Merge pull request #1542 from zcash/fix_bad_wallettest_import
...
zcash_client_sqlite: Fix bad `WalletTest` import that breaks downstream builds.
2024-09-21 00:12:07 +01:00
Kris Nuttycombe
176c0cb805
Update base64 to 0.22 to eliminate duplicate dependency.
2024-09-20 16:42:04 -06:00
Kris Nuttycombe
06687321e4
zcash_client_sqlite: Fix bad `WalletTest` import that breaks downstream builds.
2024-09-20 16:27:55 -06:00
Kris Nuttycombe
8b5236a45a
Merge pull request #1541 from zcash/1070-zcb-wallet-summary-progress
...
Improve progress representation in `WalletSummary`
2024-09-20 12:13:01 -06:00
Jack Grigg
4b3bc8fc9d
Merge pull request #1539 from zcash/zcb-test-cleanups
...
zcash_client_backend: Post-merge cleanups to test framework extraction
2024-09-20 19:11:33 +01:00
Jack Grigg
b4da98e510
zcash_client_sqlite: Fix bug in update_chain_tip_stable_max_scanned tests
...
The wrong subtree was being completed, which didn't matter before but
does now that scan progress is extrapolated.
2024-09-20 16:39:48 +00:00
Jack Grigg
0ab7784bc9
zcash_client_sqlite: Improve estimate for tree size at chain tip
...
After splitting recover progress out from scan progress, the
overestimation of the chain tip tree size became much more noticeable.
We now extrapolate from the most recent known "notes per block" rate.
2024-09-20 16:39:48 +00:00
Jack Grigg
7b57390595
Split out `WalletSummary::recover_progress` from `WalletSummary::scan_progress`
2024-09-20 16:39:48 +00:00
Jack Grigg
e453cee465
zcash_client_sqlite: Extract common query from `subtree_scan_progress`
2024-09-17 17:27:35 +00:00
Jack Grigg
1b5f4f49d0
zcash_client_sqlite: Extract common code for wallet scan progress
2024-09-17 16:58:21 +00:00
Jack Grigg
f7228a5c01
Merge pull request #1528 from nuttycom/fix/zip321-test-dependencies
...
zip321: Add missing `test-dependencies` feature configuration.
2024-09-16 21:12:57 +01:00
Kris Nuttycombe
2ce78bef95
Remove dead code and/or suppress dead code warnings.
2024-09-16 19:16:12 +00:00
Kris Nuttycombe
80902faff1
Suppress warnings for unexpected `zcash_unstable` cfg
2024-09-16 19:16:12 +00:00
Jack Grigg
63c1de3ad0
zcash_client_backend: Add missing documentation to `data_api::testing`
...
Addresses review comments from zcash/librustzcash#1530 .
2024-09-16 17:28:50 +00:00
Jack Grigg
45b106345b
zcash_client_backend: Rename `TransactionSummary::new` for clarity
2024-09-16 15:01:05 +00:00
Jack Grigg
bf73a02f45
zcash_client_backend: Move test-only methods to new `WalletTest` trait
...
This reduces the feature-flag-related `WalletRead` breakage for crate
users, and gives us a place to expose even more internal Data Access API
implementation details for general testing purposes.
2024-09-12 13:08:34 +00:00
Jack Grigg
0777cbc2de
Merge pull request #1536 from zcash/zcb-sync-refresh-utxos
...
zcb::sync: Refresh UTXOs at the start of each scanning cycle
2024-09-12 13:09:30 +01:00
Jack Grigg
6c3cc18230
Merge pull request #1537 from zcash/devtools-keys
...
devtools: Detect more key formats with `zcash-inspect`
2024-09-11 18:56:43 +01:00
Jack Grigg
c25cca05b8
devtools: Detect more key formats with `zcash-inspect`
2024-09-11 17:32:13 +00:00
Jack Grigg
7026aeb28a
zcb::sync: Refresh UTXOs at the start of each scanning cycle
2024-09-11 03:15:50 +00:00
Kris Nuttycombe
e7abed34be
Merge pull request #1532 from zcash/zcb-refix-all-features-build
2024-09-10 11:55:01 -06:00
Jack Grigg
ee7cb69599
zcash_client_backend: Fix `tor::grpc` module feature flag
...
We already depend on `rustls` and `webpki-roots` for `tor::http`, but
`tonic` has its own feature flag that needs to be enabled for equivalent
support in `tor::grpc`. We didn't need that feature flag enabled for the
`proto::service::compact_tx_streamer_client` module because those
constructors take a `D: TryInto<tonic::transport::Endpoint>`, which
abstracts over TLS and leaves it up to the caller. By constrast, in
`tor::grpc` we need to construct the `Endpoint` manually from a `Uri`
and then configure TLS ourselves.
2024-09-10 16:40:58 +00:00
Jack Grigg
c97e9a192b
Merge pull request #1530 from nuttycom/generalized_test_framework
...
Generalize the `zcash_client_sqlite` test framework and extract it to `zcash_client_backend`
2024-09-10 16:45:47 +01:00
Jack Grigg
cd71c30857
Address non-documentation review comments
2024-09-10 15:14:23 +00:00
Kris Nuttycombe
04478c791a
Merge pull request #1524 from zcash/wallet/do_not_require_transparent
...
zcash_client_sqlite: Do not require a transparent key for migrations.
2024-09-08 09:34:15 -06:00
Kris Nuttycombe
d4e26d5e4b
zcash_client_backend: Migrate `send_single_step_proposed_transfer` test from `zcash_client_sqlite`
2024-09-06 17:56:20 -06:00
Kris Nuttycombe
cdf993d12b
Merge pull request #1509 from daira/improve-singleoutputchangestrategy-doc
...
Make the `{fixed,standard,zip317}::SingleOutputChangeStrategy` doc comments more accurate concerning the choice of output pool
2024-09-06 15:39:01 -06:00
Kris Nuttycombe
33b8f89a6a
zcash_client_backend: Move `OrchardPoolTester` here from `zcash_client_sqlite`
2024-09-06 15:33:44 -06:00
Kris Nuttycombe
7e36561de8
zcash_client_backend: Move `SaplingPoolTester` here from `zcash_client_sqlite`
2024-09-06 15:07:34 -06:00
Kris Nuttycombe
4f5b3efe09
zcash_client_backend: Move the `ShieldedPoolTester` trait from `zcash_client_sqlite`
2024-09-06 14:51:29 -06:00
Kris Nuttycombe
49dffbf6ee
zcash_client_sqlite: Remove unused `OutputRecoveryError` type.
2024-09-06 14:00:39 -06:00
Kris Nuttycombe
f2654f5bf1
zcash_client_backend: Fix broken intra-doc links and other doc warnings.
2024-09-06 13:33:23 -06:00
Kris Nuttycombe
2be0dfbc0c
zcash_client_backend: Record audit of `ambassador` crate.
2024-09-06 13:33:23 -06:00
Kris Nuttycombe
e55df6c493
zcash_client_sqlite: Move `TestState` to `zcash_client_backend`
2024-09-06 13:33:19 -06:00
Kris Nuttycombe
7e9f78bf46
zcash_client_sqlite: Generalize `TestBuilder::with_block_cache`
2024-09-06 13:30:10 -06:00
Kris Nuttycombe
ce59a676e9
zcash_client_sqlite: Remove the remainder of the sqlite dependencies from TestState
2024-09-06 13:30:10 -06:00