Skip to content

Commit

Permalink
fix run of Subcommand::FrontierDb
Browse files Browse the repository at this point in the history
  • Loading branch information
rustlang-dev committed Sep 16, 2024
1 parent d2bcdd7 commit 63d9c7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,10 @@ pub fn run() -> sc_cli::Result<()> {
let (client, _, _, _, frontier_backend) =
service::new_chain_ops(&mut config, &cli.eth)?;
let frontier_backend = match frontier_backend {
fc_db::Backend::KeyValue(kv) => std::sync::Arc::new(kv),
fc_db::Backend::KeyValue(kv) => kv,
_ => panic!("Only fc_db::Backend::KeyValue supported"),
};
// cmd.run(client, *frontier_backend)
todo!();// ^ uncomment this line
cmd.run(client, frontier_backend)
})
}
None => {
Expand Down
1 change: 0 additions & 1 deletion node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,6 @@ where
// and vote data availability than the observer. The observer has not
// been tested extensively yet and having most nodes in a network run it
// could lead to finality stalls.
todo!();
let grandpa_voter =
sc_consensus_grandpa::run_grandpa_voter(sc_consensus_grandpa::GrandpaParams {
config: grandpa_config,
Expand Down

0 comments on commit 63d9c7f

Please sign in to comment.