let server = TestServer::new_with_regtest_with_index_sats(); let mut parent_ids = Vec::new(); for i in 0..101 { server.mine_blocks(1); parent_ids.push(InscriptionId { txid: server.bitcoin_rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(i + 1, 0, 0, inscription("text/plain", "hello").to_witness())], ..Default::default() }), index: 0, }); } for (i, parent_id) in parent_ids.iter().enumerate().take(101) { server.mine_blocks(1); server.bitcoin_rpc_server.broadcast_tx(TransactionTemplate { inputs: &[ (i + 2, 1, 0, Default::default()), ( i + 102, 0, 0, Inscription { content_type: Some("text/plain".into()), body: Some("hello".into()), parent: Some(parent_id.parent_value()), ..Default::default() } .to_witness(), ), ], outputs: 2, output_values: &[50 * COIN_VALUE, 50 * COIN_VALUE],