Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Oct 9, 2024
1 parent 86c4bcc commit d44e6e6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions crates/katana/node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,6 @@ impl Node {
}

/// Build the core Katana components from the given configurations.
// TODO: placeholder until we implement a dedicated class that encapsulate building the node
// components
//
// Most of the logic are taken out of the `main.rs` file in `/bin/katana` crate, and combined
// with the exact copy of the setup logic for `NodeService` from `KatanaSequencer::new`. It also
// includes logic that was previously in `Backend::new`.
//
// NOTE: Don't rely on this function as it is mainly used as a placeholder for now.
#[allow(deprecated)]
pub async fn build(mut config: Config) -> Result<Node> {
// Metrics recorder must be initialized before calling any of the metrics macros, in order
// for it to be registered.
Expand Down Expand Up @@ -246,6 +237,7 @@ pub async fn build(mut config: Config) -> Result<Node> {
};

let block_context_generator = BlockContextGenerator::default().into();
#[allow(deprecated)]
let backend = Arc::new(Backend {
blockchain,
executor_factory,
Expand Down

0 comments on commit d44e6e6

Please sign in to comment.