Skip to content

Commit

Permalink
WIP add siacoin docker test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alrighttt committed Oct 24, 2024
1 parent 14b1da8 commit 1ff1fb5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions mm2src/mm2_main/tests/docker_tests/sia_docker_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,18 @@ fn default_activation_request() -> SiaCoinActivationRequest {
// FIXME WIP
#[test]
fn test_sia_swap_ops_send_taker_fee_wip() {
use uuid::Uuid;
use coins::DexFee;
use mm2_number::MmNumber;

let ctx = block_on(init_ctx("horribly insecure passphrase", 9995));
let coin = block_on(init_siacoin(ctx, "TSIA", &default_activation_request()));
mine_blocks(&coin.client, 201, &coin.address).unwrap();

let uuid = Uuid::new_v4();
let dex_fee = DexFee::Standard(MmNumber::from(0.0001));


assert_eq!(block_on(coin.client.current_height()).unwrap(), 0);
}

Expand Down

0 comments on commit 1ff1fb5

Please sign in to comment.