.unwrap(); let sequence_number_to_satpoint = rtx.open_table(SEQUENCE_NUMBER_TO_SATPOINT).unwrap(); let sequence_number = rtx .open_table(INSCRIPTION_ID_TO_SEQUENCE_NUMBER) .unwrap() .get(&inscription_id.store()) .unwrap() .unwrap() .value(); assert_eq!( satpoint_to_sequence_number.len().unwrap(), sequence_number_to_satpoint.len().unwrap(), ); assert_eq!( SatPoint::load( *sequence_number_to_satpoint .get(sequence_number) .unwrap() .unwrap() .value() ), satpoint, ); assert!(satpoint_to_sequence_number .get(&satpoint.store()) .unwrap() .any(|result| result.unwrap().value() == sequence_number)); match sat { Some(sat) => { if self.index_sats { // unbound inscriptions should not be assigned to a sat assert!(satpoint.outpoint != unbound_outpoint()); assert!(rtx .open_multimap_table(SAT_TO_SEQUENCE_NUMBER)