ci(integration_bench): apply nightly rustfmt and drop integration_tests unused deps

This commit is contained in:
moudyellaz
2026-05-20 13:08:48 +02:00
parent b0a5b3478b
commit 33b20bb480
4 changed files with 22 additions and 17 deletions
+4 -1
View File
@@ -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>,
}
+18 -2
View File
@@ -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| {