chore: rm logs

This commit is contained in:
Zixuan Chen 2024-07-12 18:12:21 +08:00
parent 46000420e8
commit 2a4e089208
No known key found for this signature in database
2 changed files with 0 additions and 7 deletions

View file

@ -178,7 +178,6 @@ impl Actor {
} }
self.loro.checkout(&f).unwrap(); self.loro.checkout(&f).unwrap();
dbg!(&f);
self.loro.check_state_correctness_slow(); self.loro.check_state_correctness_slow();
// check snapshot correctness after checkout // check snapshot correctness after checkout
self.loro.checkout_to_latest(); self.loro.checkout_to_latest();

View file

@ -1187,11 +1187,6 @@ impl LoroDoc {
let doc = Self::new(); let doc = Self::new();
doc.detach(); doc.detach();
doc.import(&bytes).unwrap(); doc.import(&bytes).unwrap();
dbg!(
self.state_frontiers(),
self.oplog_frontiers(),
self.oplog_vv()
);
doc.checkout(&self.state_frontiers()).unwrap(); doc.checkout(&self.state_frontiers()).unwrap();
let mut calculated_state = doc.app_state().try_lock().unwrap(); let mut calculated_state = doc.app_state().try_lock().unwrap();
let mut current_state = self.app_state().try_lock().unwrap(); let mut current_state = self.app_state().try_lock().unwrap();
@ -1516,7 +1511,6 @@ mod test {
b.get_text("text").insert(0, "hello").unwrap(); b.get_text("text").insert(0, "hello").unwrap();
b.commit_then_renew(); b.commit_then_renew();
let oplog = b.oplog().lock().unwrap(); let oplog = b.oplog().lock().unwrap();
dbg!(&oplog.arena);
drop(oplog); drop(oplog);
b.export_from(&Default::default()); b.export_from(&Default::default());
} }