Skip to content

Commit

Permalink
feat: test attach inline datum to change output
Browse files Browse the repository at this point in the history
  • Loading branch information
twwu123 committed Feb 21, 2024
1 parent cc6a10d commit 512096a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,15 @@ mod int_tests {
"addr_test1vpw22xesfv0hnkfw4k5vtrz386tfgkxu6f7wfadug7prl7s6gt89x".to_string(),
)
.change_address(wallet_address.to_string())
.change_output_datum(
to_string(&json!({
"constructor": 0,
"fields": [],
}))
.unwrap(),
)
.complete_sync(None);

println!("{}", mesh.tx_hex);
assert!(mesh.tx_hex != *"");
}
}

0 comments on commit 512096a

Please sign in to comment.