Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zsa1 upsteram merge #63

Merged
merged 996 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
996 commits
Select commit Hold shift + click to select a range
6898dbf
Replace `unstable-nu6` and `zfuture` feature flags with cfg flags
str4d Mar 10, 2024
654f116
Merge pull request #1251 from zcash/ci-rework
nuttycom Mar 10, 2024
c4abcba
zcash_client_backend: Add Orchard change output support to proposals
str4d Mar 10, 2024
2a81156
zcash_client_sqlite: Fix balance APIs in `TestState` to include Orchard
str4d Mar 10, 2024
7995745
zcash_client_sqlite: Fix more test seeds to use valid lengths
str4d Mar 10, 2024
993102e
zcash_client_sqlite: Fix `test_with_nu5_birthday_offset` tree setup
str4d Mar 10, 2024
1003cd6
Merge pull request #1252 from zcash/orchard-test-fixes
nuttycom Mar 10, 2024
0256218
zcash_client_sqlite: Make scan_cached_blocks_detects_spends_out_of_or…
nuttycom Mar 11, 2024
99b3d3c
zcash_client_sqlite: Generalize chain tests.
nuttycom Mar 11, 2024
de58b5a
zcash_client_sqlite: Add a failing test of cross-pool transfer
nuttycom Mar 11, 2024
cc3f05a
Merge pull request #1253 from zcash/more-orchard-tests
nuttycom Mar 11, 2024
374ed8c
zcash_client_sqlite: Add backend impl for the Orchard note commitment…
nuttycom Mar 7, 2024
ae9dd25
zcash_client_sqlite: Add `orchard_received_notes` table and update re…
nuttycom Mar 7, 2024
0780272
Merge pull request #1254 from zcash/orchard-tables
str4d Mar 11, 2024
af4dce9
zcash_client_sqlite: Implement `wallet::orchard::put_received_note`
nuttycom Mar 7, 2024
50f5df4
zcash_client_sqlite: Implement `WalletDb::get_orchard_nullifiers`
nuttycom Mar 7, 2024
1181566
zcash_client_sqlite: Support Orchard scanning
nuttycom Mar 7, 2024
b62763d
zcash_client_sqlite: Add Orchard note commitments in `put_blocks` and…
nuttycom Mar 8, 2024
8dfa836
zcash_client_sqlite: Use correct offsets for Orchard commitment posit…
nuttycom Mar 9, 2024
22ed9eb
zcash_client_sqlite: Ensure we identify the sending account in z->t t…
nuttycom Mar 10, 2024
33be548
zcash_client_sqlite: Use preference order for z->t account matching
str4d Mar 11, 2024
a9aabb2
Merge pull request #1255 from zcash/orchard-scanning
str4d Mar 11, 2024
021128b
zcash_client_sqlite: Add Orchard note selection.
nuttycom Mar 8, 2024
ac7113c
zcash_client_sqlite: Get the minimum of Sapling and Orchard anchor he…
nuttycom Mar 9, 2024
a1a8af0
zcash_client_sqlite: Add Orchard support to `get_wallet_summary`
str4d Mar 10, 2024
44f5a55
zcash_client_sqlite: Add Orchard support to `get_received_memo`
str4d Mar 10, 2024
6086774
zcash_client_sqlite: Ensure that we only exclude the correct notes fr…
nuttycom Mar 10, 2024
cad174c
zcash_client_sqlite: Make note selection queries consistent between S…
nuttycom Mar 10, 2024
820b1f9
zcash_client_sqlite: Factor out common note selection code.
nuttycom Mar 10, 2024
6601820
zcash_client_sqlite: Add Orchard support to `truncate_to_height`
str4d Mar 10, 2024
1028894
zcash_client_sqlite: Minor refactoring for improved debuggability & f…
nuttycom Mar 10, 2024
8e09b78
zcash_client_sqlite: Call `mark_orchard_note_spent` in `WalletDb::sto…
str4d Mar 10, 2024
5a6057b
zcash_client_backend: Detect Orchard dust in `zip317::SingleOutputCha…
str4d Mar 11, 2024
d68a01a
Fix typos
str4d Mar 11, 2024
071d7c5
Add `UnifiedIncomingViewingKey` struct
AArnott Mar 9, 2024
2b3060d
Apply updated style for key discovery
AArnott Mar 10, 2024
a0bd257
zcash_client_sqlite: Return partial matches when using `WalletRead::g…
nuttycom Mar 9, 2024
09181f4
zcash_client_sqlite: Return a backend-specific `Account` type from ge…
nuttycom Mar 9, 2024
7cfaa42
Apply error message suggestion from code review.
nuttycom Mar 12, 2024
2eb5061
zcash_client_sqlite: Ensure that truncation is applied to the Orchard…
nuttycom Mar 12, 2024
5a28970
Apply suggestions from code review
nuttycom Mar 12, 2024
bb466de
Merge pull request #1182 from nuttycom/sqlite_wallet/orchard_support
nuttycom Mar 12, 2024
5e810d3
Merge pull request #1258 from nuttycom/sqlite_wallet/fuzzy_key_matching
nuttycom Mar 12, 2024
33e943d
zcash_client_backend: Add `WalletRead::get_seed_account`
nuttycom Mar 9, 2024
328e854
zcash_client_sqlite: Ensure uniqueness of (hd_seed_fingerprinte, hd_a…
nuttycom Mar 12, 2024
79f5bb4
zcash_client_sqlite: Add index verification to `verify_schema`
nuttycom Mar 12, 2024
3dcac7a
Merge pull request #1259 from nuttycom/sqlite_wallet/get_seed_account
nuttycom Mar 12, 2024
0c5a365
zcash_client_sqlite: Update to make use of `orchard::note::Rho`
nuttycom Mar 12, 2024
a788fc9
Merge pull request #1264 from nuttycom/orchard_rho
nuttycom Mar 13, 2024
c967bb8
Remove stray dbg! calls
nuttycom Mar 12, 2024
f58263e
zcash_client_backend: Require the tree state for the start of each sc…
nuttycom Mar 11, 2024
c4b2108
zcash_client_sqlite: Fix `block_fully_scanned` test.
nuttycom Mar 12, 2024
d80782a
zcash_client_sqlite: Move tests that require fixes to the test framew…
nuttycom Mar 12, 2024
2ba89a6
zcash_client_backend: Fix `scan_cached_blocks` example doc compilatio…
nuttycom Mar 12, 2024
a046088
Fix stray clippy complaint.
nuttycom Mar 13, 2024
b3d06ba
Merge pull request #1262 from nuttycom/sqlite_wallet/fix_multi_pool_c…
nuttycom Mar 13, 2024
7d603b8
zcash_client_backend: Add `proto::service::TreeState::to_chain_state`
str4d Mar 13, 2024
27eba4e
Merge remote-tracking branch 'upstream/main' into uivk
AArnott Mar 13, 2024
634ebf5
Reorder `WalletRead` and `WalletWrite` trait methods for clarity
str4d Mar 13, 2024
b2597aa
zcash_client_backend: Add a test for ZIP 317 cross-pool payments.
nuttycom Mar 13, 2024
dd63a6e
zcash_client_backend: Remove unnecessary `ReceivedNote::traverse_opt`
nuttycom Mar 13, 2024
05259ef
Merge pull request #1266 from zcash/apis-for-mobile-sdks
str4d Mar 13, 2024
bc6aa95
zcash_client_sqlite: Refactor `wallet::Account` to be a struct
str4d Mar 13, 2024
6509348
zcash_client_backend: Expose the kind of an `Account`
str4d Mar 13, 2024
5f3d5e9
zcash_client_sqlite: Use `wallet::Account` for `WalletRead::Account`
str4d Mar 13, 2024
64aabdc
Rename `WalletRead::get_seed_account` to `WalletRead::get_derived_acc…
str4d Mar 13, 2024
bbb7f36
zcash_client_backend: Add `WalletRead::get_account`
str4d Mar 13, 2024
b161472
zcash_client_sqlite: Rename `account_type` column to `account_kind`
str4d Mar 13, 2024
1c72b0b
Merge pull request #1267 from zcash/account-apis
str4d Mar 13, 2024
a81e7ff
zcash_client_backend: Fix note selection & add more cross-pool tests.
nuttycom Mar 13, 2024
c99338a
Merge new error type into existing one
AArnott Mar 14, 2024
2e0a300
Merge pull request #1268 from nuttycom/sqlite_wallet/cross_pool_note_…
str4d Mar 14, 2024
1770c2e
Merge remote-tracking branch 'upstream/main' into uivk
AArnott Mar 14, 2024
22f3418
zcash_client_backend: Add `SpendableNotes` type and `NoteRetention` t…
nuttycom Mar 14, 2024
0bae47b
zcash_client_backend: Improve API ergonomics for input selection.
nuttycom Mar 14, 2024
9d6a8b6
zcash_keys: Use `DecodingError` instead of `DerivationError` for key …
nuttycom Mar 14, 2024
be312f8
Merge pull request #1271 from nuttycom/sqlite_wallet/cross_pool_selec…
nuttycom Mar 14, 2024
4d9927b
zcash_keys: Verify the ability to derive addresses at USK and UFVK co…
nuttycom Mar 14, 2024
b4171ca
zcash_keys: Fix no-default-features compilation.
nuttycom Mar 14, 2024
9ddbf1e
Implement todo! line
AArnott Mar 14, 2024
9e1a432
zcash_keys: Keep the Ufvk and Uivk encodings private.
nuttycom Mar 14, 2024
cc990b6
zcash_keys: Remove HdSeedFingerprint as it duplicates `zip32::fingerp…
nuttycom Mar 14, 2024
c3d82b2
Merge pull request #1274 from nuttycom/use_zip32_seed_fingerprint
nuttycom Mar 14, 2024
46fd6ab
zcash_client_backend: Make `WalletRead::get_transaction` return `Resu…
nuttycom Mar 14, 2024
50a4ce3
Merge pull request #1275 from nuttycom/get_transaction_option
nuttycom Mar 15, 2024
6102e83
Merge remote-tracking branch 'upstream/main' into uivk
nuttycom Mar 15, 2024
1775f65
Add WASM support to `lightwalletd-tonic` feature flag (#1270)
willemolding Mar 15, 2024
ab3e790
zcash_client_backend: Rename `AccountKind` to `AccountSource`
nuttycom Mar 14, 2024
8b8757c
zcash_client_sqlite: Fix ambiguities in transaction views
str4d Mar 15, 2024
e0227ed
Merge pull request #1279 from zcash/zcs-fix-view-migrations
nuttycom Mar 15, 2024
273712b
Merge pull request #1245 from AArnott/uivk
nuttycom Mar 18, 2024
da64e8a
Merge pull request #1272 from nuttycom/account_source
str4d Mar 18, 2024
85d79fb
zcash_client_sqlite: Distinguish "seed not relevant" in migration errors
str4d Mar 18, 2024
703e50a
Add `Account::uivk`
str4d Mar 18, 2024
c67b17d
zcash_client_sqlite: Extract `seed_matches_derived_account` helper
str4d Mar 18, 2024
2d8a7dc
zcash_client_sqlite: Remove `SqliteClientError::InvalidNoteId`
str4d Mar 18, 2024
8c7f8d0
zcash_client_sqlite: Fix bug in `WalletDb::validate_seed`
str4d Mar 18, 2024
e6bc21b
Add `WalletRead::is_seed_relevant_to_any_derived_accounts`
str4d Mar 18, 2024
4fa0547
zcash_client_sqlite: Always check for seed relevance in `init_wallet_db`
str4d Mar 18, 2024
5b3ebca
Merge pull request #1286 from zcash/1283-zcs-migration-seed-relevance
str4d Mar 19, 2024
3090aff
Distinguish seed relevance when no derived accounts are present
str4d Mar 19, 2024
3c1e82a
zcash_client_sqlite: Add missing feature flags to error helper fn
str4d Mar 19, 2024
35a60ab
Merge pull request #1287 from zcash/zcs-distinguish-seed-relevance-wi…
nuttycom Mar 19, 2024
b189fe7
Remove `orchard` feature flag from behind `zcash_unstable` cfg flag
str4d Mar 19, 2024
18e2683
Merge pull request #1288 from zcash/orchard-metastability
nuttycom Mar 19, 2024
4f7c5bd
zcash_client_sqlite: Fix `scan_complete` tests.
nuttycom Mar 18, 2024
97651a6
Merge pull request #1289 from nuttycom/sqlite_wallet/branching_chain_…
str4d Mar 19, 2024
5f1d759
zcash_client_backend: Treat protobuf default as the empty tree.
nuttycom Mar 19, 2024
e795174
Merge pull request #1290 from nuttycom/fix/empty_tree_deserialization
str4d Mar 19, 2024
7bcf10b
zcash_client_sqlite: Include Orchard receiver in default UA for new a…
str4d Mar 20, 2024
978f838
zcash_client_sqlite: Add `testing::TestAccount` struct.
nuttycom Mar 20, 2024
7cbfc1f
remove doc hidden
AloeareV Mar 20, 2024
dc4fccf
zcash_client_sqlite: Modify `TestState` to allow initialization with …
nuttycom Mar 19, 2024
5298ae2
zcash_client_sqlite: Fix update_chain_tip_unstable_max_scanned tests.
nuttycom Mar 21, 2024
f7d2228
Merge pull request #1291 from zcash/zcs-default-ua-orchard-receiver
nuttycom Mar 21, 2024
cb218ad
Merge pull request #1297 from nuttycom/sqlite_wallet/branching_chain_…
nuttycom Mar 21, 2024
6f1e4af
zcash_client_sqlite: Fix tests that broke with the addition of Orchar…
nuttycom Mar 22, 2024
c45d3ae
Merge pull request #1301 from nuttycom/fix/orchard_ua_receiver_tests
nuttycom Mar 22, 2024
f3c8b58
Minor internal variable renaming for clarity.
nuttycom Mar 22, 2024
fada46e
zcash_client_sqlite: Fix balance in expired unmined transaction history.
nuttycom Mar 21, 2024
5d3ddab
zcash_client_sqlite: Add a test to attempt to simulate the checkpoint…
nuttycom Mar 22, 2024
635057d
zcash_client_sqlite: Avoid attempting to re-create already-pruned che…
nuttycom Mar 23, 2024
2bcfa79
Merge pull request #1303 from nuttycom/fix/put_blocks_checkpoint_conf…
nuttycom Mar 24, 2024
874d6b6
zcash_client_backend: Ensure checkpoint at the end of each block.
nuttycom Mar 24, 2024
9c82b87
Merge pull request #1309 from nuttycom/fix/missing_block_end_checkpoints
nuttycom Mar 24, 2024
9c9bd40
zcash_client_sqlite: Fix balance in expired unmined transaction history.
nuttycom Mar 21, 2024
e67a978
zcash_client_sqlite: Use account birthday subtree sizes for progress.
nuttycom Mar 24, 2024
81954e2
zcash_client_sqlite: Fix `invalid_chain_cache_disconnected` tests.
nuttycom Mar 24, 2024
e22cf68
zcash_client_sqlite: Fix `birthday_in_anchor_shard` tests.
nuttycom Mar 24, 2024
5f042c4
zcash_protocol release version 0.1.1
nuttycom Mar 25, 2024
3620314
Merge pull request #1310 from zcash/release-zcash_protocol-0.1.1
nuttycom Mar 25, 2024
33edf74
Merge pull request #1300 from nuttycom/sqlite_wallet/expired_transact…
nuttycom Mar 25, 2024
22f90bc
Merge pull request #1307 from nuttycom/fix/update_chain_tip_stable_ma…
nuttycom Mar 25, 2024
7e7dba8
zcash_client_sqlite: Add `get_funding_accounts` method.
nuttycom Mar 23, 2024
404132b
zcash_client_sqlite: Use `get_funding_account` to determine whether a…
nuttycom Mar 23, 2024
151e6e5
zcash_client_backend: Track external addresses in inter-account trans…
nuttycom Mar 25, 2024
4cf8cab
zcash_primitives release version 0.15.0
nuttycom Mar 25, 2024
181e898
Merge pull request #1311 from zcash/release-zcash_primitives-0.15.0
nuttycom Mar 25, 2024
2bda943
Release zcash_proofs version 0.15.0
nuttycom Mar 25, 2024
f8c0215
Release zcash_keys version 0.2.0
nuttycom Mar 25, 2024
4ba7fbd
zcash_client_sqlite: Clarify `TransferType` matches in `store_decrypt…
nuttycom Mar 25, 2024
b82740b
Merge pull request #1313 from zcash/release-zcash_proofs-0.15.0
nuttycom Mar 25, 2024
b68d97b
Merge pull request #1314 from zcash/release-zcash_keys-0.2.0
nuttycom Mar 25, 2024
1719b01
zcash_client_sqlite: Don't overwrite `account_id` with nulls in `put_…
nuttycom Mar 25, 2024
0d8f569
zcash_client_sqlite: Disallow selection of dust notes.
nuttycom Mar 25, 2024
895e8e3
Merge pull request #1306 from zcash/detect_spending_accounts
nuttycom Mar 25, 2024
bda72e3
Put expensive tests behind an additional `expensive-tests` feature flag.
nuttycom Mar 25, 2024
304e565
Merge pull request #1312 from zcash/avoid_dust_note_selection
nuttycom Mar 25, 2024
a9c4bc1
Merge pull request #1296 from AloeareV/remove_doc_hidden
nuttycom Mar 25, 2024
777adb8
Release zcash_client_backend version 0.12.0
nuttycom Mar 25, 2024
366d5d7
Release zcash_client_sqlite version 0.10.0
nuttycom Mar 25, 2024
5e5ee19
Fix broken intra-doc link.
nuttycom Mar 25, 2024
ad4bc84
Merge pull request #1319 from zcash/release-zcash_client_sqlite-0.10.0
nuttycom Mar 25, 2024
4464e06
zcash_client_sqlite: Permit either sent note recipient address or rec…
nuttycom Mar 26, 2024
da3869a
Release zcash_client_sqlite 0.10.1
nuttycom Mar 26, 2024
3ccc14f
Merge pull request #1321 from zcash/fix_sent_note_recipient_constraint
nuttycom Mar 26, 2024
020305f
zcash_client_sqlite: Add tests that hit zcash/librustzcash#1326.
str4d Mar 27, 2024
5462f84
zcash_client_sqlite: Fix column name in UTXO query
str4d Mar 27, 2024
9195019
Merge pull request #1328 from zcash/1326-zcs-fix-query
str4d Mar 27, 2024
bea4097
zcash_client_sqlite 0.10.2
str4d Mar 27, 2024
0d80f3c
Merge pull request #1331 from zcash/release-zcash_client_sqlite-0.10.2
str4d Mar 27, 2024
a58355f
zcash_client_backend: Add a failing test for note selection error.
nuttycom Mar 27, 2024
d431889
zcash_client_sqlite: Fix incorrect input selection filtering when sen…
nuttycom Mar 27, 2024
1cb33c8
zcash_client_backend release version 0.12.1
nuttycom Mar 27, 2024
86823c9
Merge pull request #1333 from zcash/fix/single_pool_send_to_t
str4d Mar 27, 2024
c34b682
zcash_client_sqlite: Add a migration to ensure that default addresses…
nuttycom Mar 28, 2024
cc9ea39
Merge pull request #1334 from zcash/fix/ensure_orchard_in_default_ua
nuttycom Mar 29, 2024
55895b8
zcash_client_sqlite: Add a test for multiple-account retrieval.
nuttycom Apr 1, 2024
e618d80
zcash_client_sqlite: Fix sloppy named-parameter reference.
nuttycom Apr 1, 2024
9bd9781
zcash_client_sqlite: Use named column references in `to_unspent_trans…
nuttycom Apr 1, 2024
bdd0990
zcash_client_sqlite: Use named column accessors for `to_spendable_note`
nuttycom Apr 1, 2024
eff1a2b
Merge pull request #1339 from nuttycom/use_named_column_accessors
str4d Apr 1, 2024
023e3ca
Merge pull request #1337 from nuttycom/fix_suspicious_account_query
str4d Apr 1, 2024
25b8404
Add block cache trait (#1192)
Oscar-Pepper Apr 1, 2024
24277a6
zcash_client_backend: Implement async wallet synchronization function
str4d Feb 9, 2024
7f017bc
CI: Test with `sync` feature flag
str4d Apr 2, 2024
430212c
Merge pull request #1184 from zcash/1169-sync-engine
nuttycom Apr 3, 2024
bbb8d10
Add placeholder for a zip321 crate.
nuttycom Jan 15, 2024
07d5aa4
zip321: Remove stub lib.rs
nuttycom Feb 2, 2024
fdf86ad
Move `zcash_client_backend::zip321` to the `zip321` crate.
nuttycom Jan 29, 2024
d982d78
zip321: Replace dependencies on `zcash_keys` types with `zcash_address`
nuttycom Jan 16, 2024
3ea7d84
zcash_client_backend: Update to use extracted `zip321` crate
nuttycom Jan 27, 2024
86e1181
zip321: Make `Payment` fields private.
nuttycom Jan 28, 2024
b60600a
zcash_client_sqlite: Use `ZcashAddress` for persistence of sent note …
nuttycom Jan 28, 2024
20e8bca
zcash_client_sqlite: Add a test demonstrating the broken `account_bir…
nuttycom Apr 5, 2024
f7c29f0
zcash_client_sqlite: Fix the broken `account_birthday` query.
nuttycom Apr 5, 2024
e37e490
Merge pull request #1341 from nuttycom/fix_birthday_query
nuttycom Apr 6, 2024
a7de8a3
Release zcash_client_sqlite version 0.10.3
nuttycom Apr 8, 2024
19fce07
Merge pull request #1342 from zcash/release-zcash_client_sqlite-0.10.3
nuttycom Apr 8, 2024
b42b498
build(deps): bump peaceiris/actions-gh-pages from 3 to 4
dependabot[bot] Apr 9, 2024
5cf83c5
build(deps): bump supplypike/setup-bin from 3 to 4
dependabot[bot] Apr 10, 2024
f28aa6b
`zcash_{keys, client_backend}`: Fix no-default-features build.
nuttycom Apr 12, 2024
ea82dbe
Apply straightforward suggestions from code review
daira Apr 18, 2024
390b929
Merge pull request #1347 from zcash/dependabot/github_actions/supplyp…
str4d Apr 18, 2024
3877c38
Merge pull request #1343 from zcash/dependabot/github_actions/peaceir…
str4d Apr 18, 2024
cc1bcb8
equihash: Move `Params` into an internal submodule
str4d Apr 18, 2024
d4b405f
equihash: Move helper methods for minimal reprs into a submodule
str4d Apr 18, 2024
5df164b
Merge pull request #1357 from zcash/equihash-refactor-code
str4d Apr 19, 2024
aeac544
Address comments from code review.
nuttycom Apr 22, 2024
d2aa6cf
Apply suggestions from code review
nuttycom Apr 22, 2024
5c6a6a4
Merge pull request #1143 from nuttycom/crate_zip321
str4d Apr 22, 2024
672cc9f
cargo vet init
str4d Apr 22, 2024
afb8b55
Import cargo-vet criteria from `zcash/zcash`
str4d Apr 22, 2024
f3717d9
Trust the Zcash crates we maintain and publish
str4d Apr 22, 2024
3f11ba5
Import our Rust crate audits from elsewhere
str4d Apr 22, 2024
4eb2df6
Trust the Windows crates published by Microsoft
str4d Apr 22, 2024
6bbd002
Import Rust crate audits from Mozilla
str4d Apr 22, 2024
12334b3
Import Rust crate audits from Google
str4d Apr 23, 2024
d99edcc
Import Rust crate audits from ISRG
str4d Apr 23, 2024
03627b1
Import Rust crate audits from the Bytecode Alliance
str4d Apr 23, 2024
846d986
Import Rust crate audits from Embark Studios
str4d Apr 23, 2024
e574c27
Import Rust crate audits from Fermyon
str4d Apr 23, 2024
08cd7e2
CI: Add audit check for `cargo vet`
str4d Apr 23, 2024
66f11ce
Add config file for `cargo deny check licenses`
str4d Apr 23, 2024
011909d
CI: Add audit check for `cargo deny check licenses`
str4d Apr 23, 2024
069109b
Adjust versions of pinned dependencies to cover more audits
str4d Apr 23, 2024
895afe5
Merge pull request #1359 from zcash/cargo-audits
nuttycom Apr 23, 2024
c2ed829
CI: Add workflow to automatically trigger audit aggregation
str4d Apr 26, 2024
081be32
Merge pull request #1375 from zcash/trigger-audit-aggregation
str4d Apr 26, 2024
e4c51c3
CI: Add explicit token to GitHub CLI usage
str4d Apr 26, 2024
de24462
Merge pull request #1376 from zcash/fix-audit-aggregation-workflow
daira Apr 27, 2024
7bd1cd1
CI: Migrate to `codecov/[email protected]`
str4d Apr 29, 2024
9375c1b
Merge pull request #1378 from zcash/ci-codecov-4
nuttycom Apr 29, 2024
3510384
chore: remove repetitive words
jimmycathy May 4, 2024
c3eace4
Merge pull request #1383 from jimmycathy/main
nuttycom May 7, 2024
1fc28e8
minor update
PaulLaux Jan 10, 2023
c053f95
updated version
PaulLaux Jan 12, 2023
a6097f9
commented out test code
PaulLaux Jan 12, 2023
09d238f
updated test and cleanup
PaulLaux Jan 23, 2023
552bda5
New orchard version
alexeykoren Dec 18, 2022
0fee216
Add TODO for burn reading/writing
alexeykoren Dec 18, 2022
f169962
fixed zcash_client_backend and simplified cargo.toml
PaulLaux Jan 24, 2023
ea0c9f0
updated Cargo.toml
PaulLaux Jan 31, 2023
def6ab4
Fix post-rebase problems
alexeykoren May 13, 2024
7eb1fe9
Merge remote-tracking branch 'refs/remotes/origin/zsa1-rebased' into …
Jun 13, 2024
4c1d5c9
Fix fmt
Jun 13, 2024
61fafcb
Exclude zcash_client crates
alexeykoren Jun 18, 2024
aa108bd
Exclude unused features
alexeykoren Jun 18, 2024
e3d0f79
Exclude unused features
alexeykoren Jun 18, 2024
8da4a01
Add sapling feature
alexeykoren Jun 18, 2024
fe288b5
Fix prost version
alexeykoren Jun 18, 2024
73e8e97
Fix prost version
alexeykoren Jun 19, 2024
f13fc9b
Fix orchard version
alexeykoren Jun 19, 2024
1a166a2
Bump MEV to 1.70
alexeykoren Jun 19, 2024
04023eb
Fix clippy
alexeykoren Jun 19, 2024
3e58f6d
Add cargo vet exemptions for k256 dependencies
alexeykoren Jun 20, 2024
c5627ee
Remove empty file
alexeykoren Jun 26, 2024
2d6fe45
Remove empty file
alexeykoren Jun 26, 2024
3242658
Fix github runner name
alexeykoren Jun 26, 2024
ca7634b
Try default runners
alexeykoren Jun 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# EditorConfig is awesome:http://EditorConfig.org

# top-most EditorConfig file
root = true

[*.md]
indent_style = space
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
zcash_client_backend/src/proto/compact_formats.rs linguist-generated=true
zcash_client_backend/src/proto/service.rs linguist-generated=true
zcash_client_backend/src/proto/proposal.rs linguist-generated=true
36 changes: 36 additions & 0 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: 'Prepare CI'
description: 'Prepares feature flags'
inputs:
extra-features:
description: 'Extra feature flags to enable'
required: false
default: ''
test-dependencies:
description: 'Include test dependencies'
required: false
default: true
outputs:
feature-flags:
description: 'Feature flags'
value: ${{ steps.prepare.outputs.flags }}
runs:
using: 'composite'
steps:
- id: test
shell: bash
run: echo "feature=test-dependencies" >> $GITHUB_OUTPUT
if: inputs.test-dependencies == 'true'
- name: Prepare feature flags
id: prepare
shell: bash
run: >
echo "flags=--features '
bundled-prover
download-params
temporary-zcashd
transparent-inputs
sapling
unstable
${{ inputs.extra-features }}
${{ steps.test.outputs.feature }}
'" >> $GITHUB_OUTPUT
24 changes: 24 additions & 0 deletions .github/workflows/aggregate-audits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Aggregate audits

on:
push:
branches: main
paths:
- '.github/workflows/aggregate-audits.yml'
- 'supply-chain/audits.toml'

permissions:
contents: read

jobs:
trigger:
name: Trigger
runs-on: ubuntu-latest
steps:
- name: Trigger aggregation in zcash/rust-ecosystem
run: >
gh api repos/zcash/rust-ecosystem/dispatches
--field event_type="aggregate-audits"
--field client_payload[sha]="$GITHUB_SHA"
env:
GH_TOKEN: ${{ github.token }}
30 changes: 30 additions & 0 deletions .github/workflows/audits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Audits

on:
pull_request:
push:
branches: main

permissions:
contents: read

jobs:
cargo-vet:
name: Vet Rust dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
id: toolchain
- run: rustup override set ${{steps.toolchain.outputs.name}}
- run: cargo install cargo-vet --version ~0.9
- run: cargo vet --locked

cargo-deny:
name: Check licenses
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check licenses
12 changes: 9 additions & 3 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,19 @@ jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: prepare
uses: ./.github/actions/prepare
- uses: dtolnay/rust-toolchain@nightly
id: toolchain
- run: rustup override set ${{steps.toolchain.outputs.name}}

- name: Build latest rustdocs
run: cargo doc --no-deps --workspace --all-features
run: >
cargo doc
--no-deps
--workspace
${{ steps.prepare.outputs.feature-flags }}
env:
RUSTDOCFLAGS: -Z unstable-options --enable-index-page --cfg docsrs

Expand All @@ -25,7 +31,7 @@ jobs:
mv ./target/doc ./book/book/rustdoc/latest

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/book
Loading
Loading