diff --git a/Cargo.lock b/Cargo.lock index 7efb7761..109676ea 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3994,29 +3994,22 @@ dependencies = [ "authenticated_transfer_core", "bytesize", "common", - "env_logger", "faucet_core", - "futures", "hex", "indexer_ffi", - "indexer_service", "indexer_service_protocol", "indexer_service_rpc", - "jsonrpsee", "key_protocol", "log", "nssa", "nssa_core", "sequencer_core", - "sequencer_service", "sequencer_service_rpc", "serde_json", "tempfile", "test_fixtures", - "testcontainers", "token_core", "tokio", - "url", "vault_core", "wallet", "wallet-ffi", diff --git a/integration_tests/Cargo.toml b/integration_tests/Cargo.toml index 04cd8f8c..82d8ebd1 100644 --- a/integration_tests/Cargo.toml +++ b/integration_tests/Cargo.toml @@ -14,11 +14,9 @@ nssa_core = { workspace = true, features = ["host"] } nssa.workspace = true authenticated_transfer_core.workspace = true sequencer_core = { workspace = true, features = ["default", "testnet"] } -sequencer_service.workspace = true wallet.workspace = true common.workspace = true key_protocol.workspace = true -indexer_service.workspace = true serde_json.workspace = true token_core.workspace = true ata_core.workspace = true @@ -26,18 +24,13 @@ vault_core.workspace = true faucet_core.workspace = true indexer_service_rpc = { workspace = true, features = ["client"] } sequencer_service_rpc = { workspace = true, features = ["client"] } -jsonrpsee = { workspace = true, features = ["ws-client"] } wallet-ffi.workspace = true indexer_ffi.workspace = true indexer_service_protocol.workspace = true -url.workspace = true anyhow.workspace = true -env_logger.workspace = true log.workspace = true tokio = { workspace = true, features = ["rt-multi-thread", "macros"] } hex.workspace = true tempfile.workspace = true bytesize.workspace = true -futures.workspace = true -testcontainers = { version = "0.27.3", features = ["docker-compose"] } diff --git a/tools/integration_bench/src/harness.rs b/tools/integration_bench/src/harness.rs index 9337f3ed..fb9d4d5c 100644 --- a/tools/integration_bench/src/harness.rs +++ b/tools/integration_bench/src/harness.rs @@ -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, } diff --git a/tools/integration_bench/src/scenarios/amm.rs b/tools/integration_bench/src/scenarios/amm.rs index f05eed1a..79100c42 100644 --- a/tools/integration_bench/src/scenarios/amm.rs +++ b/tools/integration_bench/src/scenarios/amm.rs @@ -24,10 +24,26 @@ pub async fn run(ctx: &mut TestContext) -> Result { 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| {