Skip to content

Commit

Permalink
chore: restore changed logging levels
Browse files Browse the repository at this point in the history
  • Loading branch information
cylewitruk committed Feb 28, 2024
1 parent fd3ef05 commit 5a68254
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stackslib/src/clarity_vm/database/marf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,15 +463,15 @@ impl<'a> WritableMarfStore<'a> {
}

pub fn rollback_unconfirmed(self) -> InterpreterResult<()> {
trace!("Drop unconfirmed MARF trie {}", &self.chain_tip);
debug!("Drop unconfirmed MARF trie {}", &self.chain_tip);
SqliteConnection::drop_metadata(self.marf.sqlite_tx(), &self.chain_tip)?;
SqliteConnection::delete_contracts_for_block(self.marf.sqlite_tx(), &self.chain_tip)?;
self.marf.drop_unconfirmed();
Ok(())
}

pub fn commit_to(self, final_bhh: &StacksBlockId) -> InterpreterResult<()> {
trace!("commit_to({})", final_bhh);
debug!("commit_to({})", final_bhh);
SqliteConnection::commit_metadata_to(self.marf.sqlite_tx(), &self.chain_tip, final_bhh)?;
SqliteConnection::commit_contracts_to(self.marf.sqlite_tx(), &self.chain_tip, final_bhh)?;

Expand Down Expand Up @@ -677,7 +677,7 @@ impl<'a> ClarityBackingStore for WritableMarfStore<'a> {
let mut keys = Vec::new();
let mut values = Vec::new();
for (key, value) in items.into_iter() {
test_debug!("MarfedKV put '{}' = '{}'", &key, &value);
trace!("MarfedKV put '{}' = '{}'", &key, &value);
let marf_value = MARFValue::from_value(&value);
SqliteConnection::put_data(self.get_side_store(), &marf_value.to_hex(), &value)?;
keys.push(key);
Expand Down

0 comments on commit 5a68254

Please sign in to comment.