Change some log level. (#46)

* Change some log level.

* Add log for flow root commit.
This commit is contained in:
peilun-conflux 2024-04-11 17:15:05 +08:00 committed by GitHub
parent 163f843581
commit bd4ebee2da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -318,7 +318,7 @@ impl LogEntryFetcher {
info!("log sync to block number {:?}", progress);
}
Ok(None) => {
error!(
debug!(
"log sync gets entries without progress? old_progress={}",
progress
)

View File

@ -178,6 +178,10 @@ impl LogStoreWrite for LogManager {
// TODO(zz): Should we validate received tx?
self.append_subtree_list(tx.merkle_nodes.clone())?;
self.commit_merkle(tx.seq)?;
debug!(
"commit flow root: root={:?}",
self.pora_chunks_merkle.root()
);
if let Some(old_tx_seq) = maybe_same_data_tx_seq {
if self.check_tx_completed(old_tx_seq)? {