This commit is contained in:
Sergio Chouhy 2026-01-15 00:29:45 -03:00
parent aeb3fd3932
commit 8da515da6b
3 changed files with 6 additions and 3 deletions

View File

@ -185,7 +185,7 @@ impl TpsTestManager {
initial_accounts: initial_public_accounts,
initial_commitments: vec![initial_commitment],
signing_key: [37; 32],
bedrock_config: None
bedrock_config: None,
}
}
}

View File

@ -24,7 +24,8 @@ impl BlockSettlementClient {
pub fn new(home: &Path, config: &BedrockConfig) -> Self {
let bedrock_signing_key = load_or_create_signing_key(&home.join("bedrock_signing_key"))
.expect("Signing key should load or be created successfully");
let bedrock_node_url = Url::parse(&config.node_url).expect("Bedrock URL should be a valid URL");
let bedrock_node_url =
Url::parse(&config.node_url).expect("Bedrock URL should be a valid URL");
let bedrock_channel_id = ChannelId::from(config.channel_id);
let bedrock_client =
BedrockClient::new(None).expect("Bedrock client should be able to initialize");

View File

@ -50,7 +50,9 @@ pub async fn startup_sequencer(
let id = {
let mut state = seq_core_wrapped.lock().await;
state.produce_new_block_and_post_to_settlement_layer().await?
state
.produce_new_block_and_post_to_settlement_layer()
.await?
};
info!("Block with id {id} created");