From c4ee76dfc1306840e02416ff0bbddeed3e19727a Mon Sep 17 00:00:00 2001 From: daltoncoder Date: Thu, 7 Sep 2023 16:47:27 -0400 Subject: [PATCH] increment epoch --- core/application/src/env.rs | 2 +- core/consensus/src/consensus.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/application/src/env.rs b/core/application/src/env.rs index 4d933c3ba..59ff24ca7 100644 --- a/core/application/src/env.rs +++ b/core/application/src/env.rs @@ -56,7 +56,7 @@ impl Env { let mut db_path = db_path.to_path_buf(); - db_path.push("-v2"); + db_path.push("-v3"); let mut db_options = if let Some(db_options) = config.db_options.as_ref() { let (options, _) = Options::load_latest( diff --git a/core/consensus/src/consensus.rs b/core/consensus/src/consensus.rs index 6564becdb..6774bcb5e 100644 --- a/core/consensus/src/consensus.rs +++ b/core/consensus/src/consensus.rs @@ -478,7 +478,7 @@ impl ConsensusInterface for Consensus { let mut store_path = config.store_path.clone(); - store_path.push("-v2"); + store_path.push("-v3"); let epoch_state = EpochState::new( query_runner,