mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-08-27 12:21:17 +00:00
ci(integration_bench): apply nightly rustfmt and drop integration_tests unused deps
This commit is contained in:
@@ -61,7 +61,10 @@ pub struct ScenarioOutput {
|
||||
/// reporting the sequencer tip as L1-finalised. Effectively measures the
|
||||
/// sequencer→Bedrock posting + Bedrock finalisation + indexer L1 ingest path.
|
||||
/// A value at the timeout (60s) means finalisation did not happen within the bench window.
|
||||
#[serde(serialize_with = "ser_opt_duration_secs", rename = "bedrock_finality_s")]
|
||||
#[serde(
|
||||
serialize_with = "ser_opt_duration_secs",
|
||||
rename = "bedrock_finality_s"
|
||||
)]
|
||||
pub bedrock_finality: Option<Duration>,
|
||||
}
|
||||
|
||||
|
||||
@@ -24,10 +24,26 @@ pub async fn run(ctx: &mut TestContext) -> Result<ScenarioOutput> {
|
||||
let user_lp = new_public_account(ctx, &mut output, "create_acc_user_lp").await?;
|
||||
|
||||
timed_token_new(ctx, &mut output, "token_a_new", def_a, supply_a, "TokA").await?;
|
||||
timed_token_send(ctx, &mut output, "token_a_fund_user", supply_a, user_a, 1_000).await?;
|
||||
timed_token_send(
|
||||
ctx,
|
||||
&mut output,
|
||||
"token_a_fund_user",
|
||||
supply_a,
|
||||
user_a,
|
||||
1_000,
|
||||
)
|
||||
.await?;
|
||||
|
||||
timed_token_new(ctx, &mut output, "token_b_new", def_b, supply_b, "TokB").await?;
|
||||
timed_token_send(ctx, &mut output, "token_b_fund_user", supply_b, user_b, 1_000).await?;
|
||||
timed_token_send(
|
||||
ctx,
|
||||
&mut output,
|
||||
"token_b_fund_user",
|
||||
supply_b,
|
||||
user_b,
|
||||
1_000,
|
||||
)
|
||||
.await?;
|
||||
|
||||
output
|
||||
.step(ctx, "amm_new_pool", async |ctx| {
|
||||
|
||||
Reference in New Issue
Block a user