Some(100 * COIN_VALUE),
);
assert_eq!(
context
.index
.get_inscription_entry(reinscription_on_cursed)
.unwrap()
.unwrap()
.inscription_number,
1
);
let witness = envelope(&[
b"ord",
&[1],
b"text/plain;charset=utf-8",
&[],
b"second reinscription on cursed",
]);
let txid = context.rpc_server.broadcast_tx(TransactionTemplate {
inputs: &[(4, 1, 0, witness)],
..Default::default()
});
let second_reinscription_on_cursed = InscriptionId { txid, index: 0 };
context.mine_blocks(1);
context.index.assert_inscription_location(
second_reinscription_on_cursed,
SatPoint {
outpoint: OutPoint { txid, vout: 0 },
offset: 0,
},
Some(100 * COIN_VALUE),
);
assert_eq!(
context
.index
.get_inscription_entry(second_reinscription_on_cursed)
.unwrap()