format code

This commit is contained in:
Peter Zhang 2024-10-24 14:47:57 +08:00
parent 09095c245a
commit 09c6bc2da1
2 changed files with 2 additions and 2 deletions

View File

@ -26,9 +26,9 @@ use std::sync::Arc;
use std::time::Instant; use std::time::Instant;
use tracing::{debug, error, info, instrument, trace, warn}; use tracing::{debug, error, info, instrument, trace, warn};
use crate::log_store::metrics;
use crate::log_store::tx_store::BlockHashAndSubmissionIndex; use crate::log_store::tx_store::BlockHashAndSubmissionIndex;
use crate::log_store::{FlowSeal, MineLoadChunk, SealAnswer, SealTask}; use crate::log_store::{FlowSeal, MineLoadChunk, SealAnswer, SealTask};
use crate::log_store::metrics;
/// 256 Bytes /// 256 Bytes
pub const ENTRY_SIZE: usize = 256; pub const ENTRY_SIZE: usize = 256;

View File

@ -15,8 +15,8 @@ pub mod config;
mod flow_store; mod flow_store;
mod load_chunk; mod load_chunk;
pub mod log_manager; pub mod log_manager;
mod seal_task_manager;
mod metrics; mod metrics;
mod seal_task_manager;
#[cfg(test)] #[cfg(test)]
mod tests; mod tests;
pub mod tx_store; pub mod tx_store;