mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-05-22 01:30:00 +00:00
ci(integration_bench): apply nightly rustfmt and drop integration_tests unused deps
This commit is contained in:
parent
b0a5b3478b
commit
33b20bb480
7
Cargo.lock
generated
7
Cargo.lock
generated
@ -3994,29 +3994,22 @@ dependencies = [
|
|||||||
"authenticated_transfer_core",
|
"authenticated_transfer_core",
|
||||||
"bytesize",
|
"bytesize",
|
||||||
"common",
|
"common",
|
||||||
"env_logger",
|
|
||||||
"faucet_core",
|
"faucet_core",
|
||||||
"futures",
|
|
||||||
"hex",
|
"hex",
|
||||||
"indexer_ffi",
|
"indexer_ffi",
|
||||||
"indexer_service",
|
|
||||||
"indexer_service_protocol",
|
"indexer_service_protocol",
|
||||||
"indexer_service_rpc",
|
"indexer_service_rpc",
|
||||||
"jsonrpsee",
|
|
||||||
"key_protocol",
|
"key_protocol",
|
||||||
"log",
|
"log",
|
||||||
"nssa",
|
"nssa",
|
||||||
"nssa_core",
|
"nssa_core",
|
||||||
"sequencer_core",
|
"sequencer_core",
|
||||||
"sequencer_service",
|
|
||||||
"sequencer_service_rpc",
|
"sequencer_service_rpc",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"tempfile",
|
"tempfile",
|
||||||
"test_fixtures",
|
"test_fixtures",
|
||||||
"testcontainers",
|
|
||||||
"token_core",
|
"token_core",
|
||||||
"tokio",
|
"tokio",
|
||||||
"url",
|
|
||||||
"vault_core",
|
"vault_core",
|
||||||
"wallet",
|
"wallet",
|
||||||
"wallet-ffi",
|
"wallet-ffi",
|
||||||
|
|||||||
@ -14,11 +14,9 @@ nssa_core = { workspace = true, features = ["host"] }
|
|||||||
nssa.workspace = true
|
nssa.workspace = true
|
||||||
authenticated_transfer_core.workspace = true
|
authenticated_transfer_core.workspace = true
|
||||||
sequencer_core = { workspace = true, features = ["default", "testnet"] }
|
sequencer_core = { workspace = true, features = ["default", "testnet"] }
|
||||||
sequencer_service.workspace = true
|
|
||||||
wallet.workspace = true
|
wallet.workspace = true
|
||||||
common.workspace = true
|
common.workspace = true
|
||||||
key_protocol.workspace = true
|
key_protocol.workspace = true
|
||||||
indexer_service.workspace = true
|
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
token_core.workspace = true
|
token_core.workspace = true
|
||||||
ata_core.workspace = true
|
ata_core.workspace = true
|
||||||
@ -26,18 +24,13 @@ vault_core.workspace = true
|
|||||||
faucet_core.workspace = true
|
faucet_core.workspace = true
|
||||||
indexer_service_rpc = { workspace = true, features = ["client"] }
|
indexer_service_rpc = { workspace = true, features = ["client"] }
|
||||||
sequencer_service_rpc = { workspace = true, features = ["client"] }
|
sequencer_service_rpc = { workspace = true, features = ["client"] }
|
||||||
jsonrpsee = { workspace = true, features = ["ws-client"] }
|
|
||||||
wallet-ffi.workspace = true
|
wallet-ffi.workspace = true
|
||||||
indexer_ffi.workspace = true
|
indexer_ffi.workspace = true
|
||||||
indexer_service_protocol.workspace = true
|
indexer_service_protocol.workspace = true
|
||||||
|
|
||||||
url.workspace = true
|
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
env_logger.workspace = true
|
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
||||||
hex.workspace = true
|
hex.workspace = true
|
||||||
tempfile.workspace = true
|
tempfile.workspace = true
|
||||||
bytesize.workspace = true
|
bytesize.workspace = true
|
||||||
futures.workspace = true
|
|
||||||
testcontainers = { version = "0.27.3", features = ["docker-compose"] }
|
|
||||||
|
|||||||
@ -61,7 +61,10 @@ pub struct ScenarioOutput {
|
|||||||
/// reporting the sequencer tip as L1-finalised. Effectively measures the
|
/// reporting the sequencer tip as L1-finalised. Effectively measures the
|
||||||
/// sequencer→Bedrock posting + Bedrock finalisation + indexer L1 ingest path.
|
/// sequencer→Bedrock posting + Bedrock finalisation + indexer L1 ingest path.
|
||||||
/// A value at the timeout (60s) means finalisation did not happen within the bench window.
|
/// 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>,
|
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?;
|
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_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_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
|
output
|
||||||
.step(ctx, "amm_new_pool", async |ctx| {
|
.step(ctx, "amm_new_pool", async |ctx| {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user