mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-12-26 16:25:18 +00:00
Change some log level. (#46)
* Change some log level. * Add log for flow root commit.
This commit is contained in:
parent
163f843581
commit
bd4ebee2da
@ -318,7 +318,7 @@ impl LogEntryFetcher {
|
|||||||
info!("log sync to block number {:?}", progress);
|
info!("log sync to block number {:?}", progress);
|
||||||
}
|
}
|
||||||
Ok(None) => {
|
Ok(None) => {
|
||||||
error!(
|
debug!(
|
||||||
"log sync gets entries without progress? old_progress={}",
|
"log sync gets entries without progress? old_progress={}",
|
||||||
progress
|
progress
|
||||||
)
|
)
|
||||||
|
@ -178,6 +178,10 @@ impl LogStoreWrite for LogManager {
|
|||||||
// TODO(zz): Should we validate received tx?
|
// TODO(zz): Should we validate received tx?
|
||||||
self.append_subtree_list(tx.merkle_nodes.clone())?;
|
self.append_subtree_list(tx.merkle_nodes.clone())?;
|
||||||
self.commit_merkle(tx.seq)?;
|
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 let Some(old_tx_seq) = maybe_same_data_tx_seq {
|
||||||
if self.check_tx_completed(old_tx_seq)? {
|
if self.check_tx_completed(old_tx_seq)? {
|
||||||
|
Loading…
Reference in New Issue
Block a user