Skip to content

Commit

Permalink
skip merkle
Browse files Browse the repository at this point in the history
  • Loading branch information
forcodedancing committed Oct 23, 2024
1 parent dbdbdd4 commit 48db24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/stages/stages/src/stages/merkle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ impl<DB: Database> Stage<DB> for MerkleStage {
provider: &DatabaseProviderRW<DB>,
input: ExecInput,
) -> Result<ExecOutput, StageError> {
panic!("stop for testing");
let threshold = match self {
Self::Unwind => {
info!(target: "sync::stages::merkle::unwind", "Stage is always skipped");
Expand Down Expand Up @@ -290,6 +289,7 @@ impl<DB: Database> Stage<DB> for MerkleStage {
provider: &DatabaseProviderRW<DB>,
input: UnwindInput,
) -> Result<UnwindOutput, StageError> {
return Ok(UnwindOutput { checkpoint: StageCheckpoint::new(input.unwind_to) });
let tx = provider.tx_ref();
let range = input.unwind_block_range();
if matches!(self, Self::Execution { .. }) {
Expand Down

0 comments on commit 48db24d

Please sign in to comment.