output_1
),
);
ord_server.assert_response_regex(
format!("/inscription/{}", output.inscriptions[1].id),
format!(
r".*
parent\s*.*{parent_id}.*.*output value.*10000.*.*location.*{}:0.*",
output_2
),
);
ord_server.assert_response_regex(
format!("/inscription/{}", output.inscriptions[2].id),
format!(
r".*parent\s*.*{parent_id}.*.*output value.*10000.*.*location.*{}:0.*",
output_3
),
);
}
#[test]
fn batch_in_separate_outputs_with_parent_and_non_default_postage() {
let rpc_server = test_bitcoincore_rpc::spawn();
rpc_server.mine_blocks(1);
assert_eq!(rpc_server.descriptors().len(), 0);
create_wallet(&rpc_server);
let parent_output = CommandBuilder::new("wallet inscribe --fee-rate 5.0 --file parent.png")
.write("parent.png", [1; 520])
.rpc_server(&rpc_server)
.run_and_deserialize_output::();