From 29fcc415a602d93d8c95487bb6191aadfde0cc74 Mon Sep 17 00:00:00 2001
From: peilun-conflux <48905552+peilun-conflux@users.noreply.github.com>
Date: Fri, 6 Sep 2024 17:56:04 +0800
Subject: [PATCH] Add log for proof generation errors. (#182)
---
node/storage/src/log_store/flow_store.rs | 15 +++++++++++++++
.../src/log_store/load_chunk/chunk_data.rs | 1 +
node/storage/src/log_store/load_chunk/mod.rs | 2 +-
node/storage/src/log_store/load_chunk/seal.rs | 2 +-
node/storage/src/log_store/log_manager.rs | 16 +++++++++++++++-
5 files changed, 33 insertions(+), 3 deletions(-)
diff --git a/node/storage/src/log_store/flow_store.rs b/node/storage/src/log_store/flow_store.rs
index 8c2fae9..5ff4061 100644
--- a/node/storage/src/log_store/flow_store.rs
+++ b/node/storage/src/log_store/flow_store.rs
@@ -90,6 +90,14 @@ impl FlowStore {
}
self.db.delete_batch_list(batch_list)
}
+
+ pub fn get_raw_batch(&self, batch_index: u64) -> Result