From c1b80e7e9d220589aca7e151a8756812fe8e4e9b Mon Sep 17 00:00:00 2001 From: Bjerg Date: Fri, 19 May 2023 09:19:58 +0200 Subject: [PATCH] chore: run `dump stage` as blocking task (#2740) --- bin/reth/src/cli.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bin/reth/src/cli.rs b/bin/reth/src/cli.rs index 1755620324..f99e5b119f 100644 --- a/bin/reth/src/cli.rs +++ b/bin/reth/src/cli.rs @@ -32,11 +32,7 @@ pub fn run() -> eyre::Result<()> { Commands::Import(command) => runner.run_blocking_until_ctrl_c(command.execute()), Commands::Db(command) => runner.run_blocking_until_ctrl_c(command.execute()), Commands::Stage(command) => runner.run_blocking_until_ctrl_c(command.execute()), - Commands::DumpStage(command) => { - // TODO: This should be run_blocking_until_ctrl_c as well, but fails to compile due to - // weird compiler GAT issues. - runner.run_until_ctrl_c(command.execute()) - } + Commands::DumpStage(command) => runner.run_blocking_until_ctrl_c(command.execute()), Commands::DropStage(command) => runner.run_blocking_until_ctrl_c(command.execute()), Commands::P2P(command) => runner.run_until_ctrl_c(command.execute()), Commands::TestVectors(command) => runner.run_until_ctrl_c(command.execute()),