Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change sequencer_node_handle type #2636

Open
wants to merge 1 commit into
base: spr/main/fa47beb6
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/starknet_integration_tests/src/flow_test_setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pub struct SequencerSetup {
pub rpc_storage_file_handle: TempDir,

// Handle of the sequencer node.
pub sequencer_node_handle: JoinHandle<Result<(), anyhow::Error>>,
pub sequencer_node_handles: Vec<JoinHandle<Result<(), anyhow::Error>>>,

pub config: SequencerNodeConfig,
}
Expand Down Expand Up @@ -138,7 +138,7 @@ impl SequencerSetup {

// Build and run the sequencer node.
let sequencer_node_future = run_component_servers(servers);
let sequencer_node_handle = task_executor.spawn_with_handle(sequencer_node_future);
let sequencer_node_handles = vec![task_executor.spawn_with_handle(sequencer_node_future)];

// Wait for server to spin up.
// TODO(Gilad): Replace with a persistent Client with a built-in retry to protect against CI
Expand All @@ -150,7 +150,7 @@ impl SequencerSetup {
add_tx_http_client,
batcher_storage_file_handle: storage_for_test.batcher_storage_handle,
rpc_storage_file_handle: storage_for_test.rpc_storage_handle,
sequencer_node_handle,
sequencer_node_handles,
config,
}
}
Expand Down
Loading