outpoint: OutPoint { txid, vout: 0 }, offset: 0, }, Some(50 * COIN_VALUE), ); assert_eq!( context .index .get_inscription_entry(first) .unwrap() .unwrap() .inscription_number, 0 ); assert_eq!( context .index .get_inscription_entry(second) .unwrap() .unwrap() .inscription_number, -1 ); assert_eq!( context .index .get_inscription_entry(third) .unwrap() .unwrap() .inscription_number, -2 ); } } #[test] fn multiple_inscriptions_different_inputs_and_same_inputs() { for context in Context::configurations() { context.rpc_server.mine_blocks(1); context.rpc_server.mine_blocks(1); context.rpc_server.mine_blocks(1); let script = script::Builder::new() .push_opcode(opcodes::OP_FALSE) .push_opcode(opcodes::all::OP_IF)