Skip to content

Commit

Permalink
Done!?!?
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Mar 17, 2024
1 parent 80b4313 commit 63066d2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,16 @@ fn batch(
),
);

// test that after etching, no outputs have both rune balances and inscriptions
let response = ord_rpc_server.json_request("/inscriptions");

assert!(response.status().is_success());

for id in response.json::<api::Inscriptions>().unwrap().ids {
let response = ord_rpc_server.json_request(format!("/inscription/{id}"));
assert!(response.status().is_success());
let inscription = response.json::<api::Inscription>().unwrap();
assert!(inscription.satpoint.outpoint != location);
}

assert_eq!(bitcoin_rpc_server.address(location), destination);

Expand Down

0 comments on commit 63066d2

Please sign in to comment.