Skip to content

Commit

Permalink
chore(starknet_sequencer_node): add todo and fix typo (#3963)
Browse files Browse the repository at this point in the history
commit-id:3938dc3e
  • Loading branch information
Itay-Tsabary-Starkware authored Feb 5, 2025
1 parent 7b93eb6 commit 9b00b48
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/starknet_sequencer_node/src/servers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ pub struct SequencerNodeServers {
wrapper_servers: WrapperServers,
}

// TODO(Tsabary): remove ComponentServerError and ComponentError, their wrapping Result return
// types, and their usage in trait definitions. In a case where each of these occur the code should
// panic, not return an error.

/// A macro for creating a remote component server based on the component's execution mode.
/// Returns a remote server if the component is configured with Remote execution mode; otherwise,
/// returns None.
Expand Down Expand Up @@ -487,7 +491,7 @@ fn get_server_error(
if let Some(result) = result {
match result {
Ok((res, label)) => {
error!("{} Server stoped", label);
error!("{} Server stopped", label);
Ok(res?)
}
Err(e) => {
Expand Down

0 comments on commit 9b00b48

Please sign in to comment.