mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-05-17 21:49:35 +00:00
fmt
This commit is contained in:
parent
aeb3fd3932
commit
8da515da6b
@ -185,7 +185,7 @@ impl TpsTestManager {
|
|||||||
initial_accounts: initial_public_accounts,
|
initial_accounts: initial_public_accounts,
|
||||||
initial_commitments: vec![initial_commitment],
|
initial_commitments: vec![initial_commitment],
|
||||||
signing_key: [37; 32],
|
signing_key: [37; 32],
|
||||||
bedrock_config: None
|
bedrock_config: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,7 +24,8 @@ impl BlockSettlementClient {
|
|||||||
pub fn new(home: &Path, config: &BedrockConfig) -> Self {
|
pub fn new(home: &Path, config: &BedrockConfig) -> Self {
|
||||||
let bedrock_signing_key = load_or_create_signing_key(&home.join("bedrock_signing_key"))
|
let bedrock_signing_key = load_or_create_signing_key(&home.join("bedrock_signing_key"))
|
||||||
.expect("Signing key should load or be created successfully");
|
.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_channel_id = ChannelId::from(config.channel_id);
|
||||||
let bedrock_client =
|
let bedrock_client =
|
||||||
BedrockClient::new(None).expect("Bedrock client should be able to initialize");
|
BedrockClient::new(None).expect("Bedrock client should be able to initialize");
|
||||||
|
|||||||
@ -50,7 +50,9 @@ pub async fn startup_sequencer(
|
|||||||
let id = {
|
let id = {
|
||||||
let mut state = seq_core_wrapped.lock().await;
|
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");
|
info!("Block with id {id} created");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user