Skip to content

Commit

Permalink
Merge pull request zingolabs#1382 from fluidvanadium/calculated_trans…
Browse files Browse the repository at this point in the history
…action_cache

Calculated transaction cache!
  • Loading branch information
idky137 authored Sep 17, 2024
2 parents 25d1612 + 807c00a commit 51e3e1f
Show file tree
Hide file tree
Showing 21 changed files with 575 additions and 342 deletions.
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ bip0039 = "0.11"
orchard = "0.9"
sapling-crypto = "0.2"
shardtree = "0.4"
zcash_address = { git = "https://github.com/zingolabs/librustzcash.git", tag = "upgrade_prost_and_tonic" }
zcash_client_backend = { git = "https://github.com/zingolabs/librustzcash.git", tag = "upgrade_prost_and_tonic", features = ["lightwalletd-tonic", "orchard", "transparent-inputs"] }
zcash_encoding = { git = "https://github.com/zingolabs/librustzcash.git", tag = "upgrade_prost_and_tonic" }
zcash_keys = { git = "https://github.com/zingolabs/librustzcash.git", tag = "upgrade_prost_and_tonic", features = ["transparent-inputs", "sapling", "orchard" ] }
zcash_address = { git = "https://github.com/zingolabs/librustzcash.git", tag = "unhack_calculate_0.6" }
zcash_client_backend = { git = "https://github.com/zingolabs/librustzcash.git", tag = "unhack_calculate_0.6", features = ["lightwalletd-tonic", "orchard", "transparent-inputs"] }
zcash_encoding = { git = "https://github.com/zingolabs/librustzcash.git", tag = "unhack_calculate_0.6" }
zcash_keys = { git = "https://github.com/zingolabs/librustzcash.git", tag = "unhack_calculate_0.6", features = ["transparent-inputs", "sapling", "orchard" ] }
zcash_note_encryption = "0.4"
zcash_primitives = { git = "https://github.com/zingolabs/librustzcash.git", tag = "upgrade_prost_and_tonic" }
zcash_proofs = { git = "https://github.com/zingolabs/librustzcash.git", tag = "upgrade_prost_and_tonic" }
zcash_protocol = { git = "https://github.com/zingolabs/librustzcash.git", tag = "upgrade_prost_and_tonic" }
zcash_primitives = { git = "https://github.com/zingolabs/librustzcash.git", tag = "unhack_calculate_0.6" }
zcash_proofs = { git = "https://github.com/zingolabs/librustzcash.git", tag = "unhack_calculate_0.6" }
zcash_protocol = { git = "https://github.com/zingolabs/librustzcash.git", tag = "unhack_calculate_0.6" }
zip32 = "0.1"

append-only-vec = { git = "https://github.com/zancas/append-only-vec.git", branch = "add_debug_impl" }
Expand Down
8 changes: 8 additions & 0 deletions darkside-tests/proptest-regressions/chain_generics.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Seeds for failure cases proptest has generated in the past. It is
# automatically read and these particular cases re-run before any
# novel cases are generated.
#
# It is recommended to check this file in to source control so that
# everyone who runs the test benefits from these saved cases.
cc eef3deec08ec4d278ea80acf3351dba273deacb3d9544ebf173c6ce8d5d3f79d # shrinks to value = 0
cc 58a549bf09db2b84ee36488c0bda1295ca5068fa7ec753dae3ca0b955bedd613 # shrinks to value = 0
4 changes: 2 additions & 2 deletions libtonode-tests/tests/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,14 @@ mod load_wallet {
.unwrap()
.first();

assert!(faucet
assert!(!faucet
.transaction_summaries()
.await
.iter()
.find(|transaction_summary| transaction_summary.txid() == pending_txid)
.unwrap()
.status()
.is_pending());
.is_confirmed());

assert_eq!(
faucet.do_list_notes(true).await["unspent_orchard_notes"].len(),
Expand Down
Loading

0 comments on commit 51e3e1f

Please sign in to comment.