Skip to content

Commit f40ddb5

Browse files
committed
beginning migration of generic libtonodes to darkside
1 parent fbdc909 commit f40ddb5

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

darkside-tests/src/chain_generics.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,27 @@ use zcash_client_backend::PoolType::Transparent;
88
use zcash_client_backend::ShieldedProtocol::Orchard;
99
use zcash_client_backend::ShieldedProtocol::Sapling;
1010

11-
use zingolib::testutils::chain_generics::fixtures::send_value_to_pool;
11+
use zingolib::testutils::chain_generics::fixtures;
1212

1313
use crate::utils::scenarios::DarksideEnvironment;
1414

1515
#[tokio::test]
16-
#[ignore] // darkside cant handle transparent?
17-
async fn send_40_000_to_transparent() {
18-
send_value_to_pool::<DarksideEnvironment>(40_000, Transparent).await;
16+
async fn simpool_change_50_000_orchard_to_orchard() {
17+
fixtures::shpool_to_pool::<DarksideEnvironment>(Orchard, Shielded(Orchard), 50_000).await;
1918
}
2019

2120
proptest! {
2221
#![proptest_config(proptest::test_runner::Config::with_cases(4))]
2322
#[test]
2423
fn send_pvalue_to_orchard(value in 0..90u64) {
2524
Runtime::new().unwrap().block_on(async {
26-
send_value_to_pool::<DarksideEnvironment>(value * 1_000, Shielded(Orchard)).await;
25+
fixtures::send_value_to_pool::<DarksideEnvironment>(value * 1_000, Shielded(Orchard)).await;
2726
});
2827
}
2928
#[test]
3029
fn send_pvalue_to_sapling(value in 0..90u64) {
3130
Runtime::new().unwrap().block_on(async {
32-
send_value_to_pool::<DarksideEnvironment>(value * 1_000, Shielded(Sapling)).await;
31+
fixtures::send_value_to_pool::<DarksideEnvironment>(value * 1_000, Shielded(Sapling)).await;
3332
});
3433
}
3534
}

0 commit comments

Comments
 (0)