2754 Commits

Author SHA1 Message Date
moudyellaz
0119b38c1b refactor(integration_bench)!: pivot to docker-compose via TestContext, share one node per run
BREAKING CHANGE:
- crate renamed e2e_bench → integration_bench. Run via `cargo run -p integration_bench`.
- env vars removed: LEZ_BEDROCK_BIN, LEZ_BEDROCK_CONFIG_DIR, LEZ_BEDROCK_PORT. Replaced by a docker prerequisite (docker-compose Bedrock via test_fixtures::TestContext).
- output filenames: target/e2e_bench_{dev,prove}.json → target/integration_bench_{dev,prove}.json.
- JSON schema: per-scenario `setup_s` field removed; replaced by run-level `shared_setup_s` (one TestContext is shared across all scenarios in a run).
- internal: bedrock_handle.rs and bench_context.rs deleted; placeholder-string config (PLACEHOLDER_CHAIN_START_TIME) gone.
2026-05-20 11:04:06 +02:00
moudyellaz
563a9ce0f7 refactor: extract test_fixtures crate from integration_tests 2026-05-20 10:08:24 +02:00
moudyellaz
932763fcf2 refactor(e2e_bench): rename ScenarioResult to ScenarioOutput 2026-05-19 23:48:05 +02:00
moudyellaz
619db3846d refactor(e2e_bench)!: Duration-typed timings, seconds-float JSON, tokio::timeout
BREAKING CHANGE: bench JSON renames per-step / per-scenario timing fields from *_ms (float milliseconds) to *_s (float seconds). Renames: submit_ms → submit_s, inclusion_ms → inclusion_s, wallet_sync_ms → wallet_sync_s, total_ms → total_s, setup_ms → setup_s, bedrock_finality_ms → bedrock_finality_s, total_wall_seconds → total_wall_s. measure_bedrock_finality timeout floor also shifts slightly: on timeout the field is now ~60.000s rather than "first poll tick past 60s".
2026-05-19 22:59:02 +02:00
Sergio Chouhy
c0e837b65d
Merge pull request #479 from logos-blockchain/schouhy/fix-faucet-account-protection-mechanism
fix: Bug in faucet account protection mechanism
2026-05-19 16:36:29 -03:00
moudyellaz
c3daa9897d docs(e2e_bench): drop machine table and stale benchmark numbers 2026-05-19 18:54:11 +02:00
Pravdyvy
7920b17c6d fix(deny): deny fix 2026-05-19 18:00:03 +03:00
Pravdyvy
43e7fa9be2 fix(wallet): no sign option added 2026-05-19 17:54:25 +03:00
Moudy
832b21f74d fix: cli 2026-05-19 09:59:11 +02:00
Moudy
20b9868ace feat: add e2e_bench tool for end-to-end scenario latency, block, and tx-byte measurements 2026-05-19 09:45:26 +02:00
jonesmarvin8
ccb4fb0660 ci fix 2026-05-18 18:06:30 -04:00
Daniil Polyakov
534b0f8ee1
Merge pull request #483 from logos-blockchain/arjentix/contributing-guide
docs(contributing): add CONTRIBUTING.md
2026-05-18 22:46:45 +03:00
jonesmarvin8
f1c42b3391 minor fix 2026-05-18 15:42:00 -04:00
jonesmarvin8
643eb2e741 addressing comments 2026-05-18 15:33:26 -04:00
Moudy
aa53e591d8
Merge pull request #480 from logos-blockchain/moudy/wallet-crypto-bench-tool 2026-05-18 20:06:21 +02:00
Daniil Polyakov
34b6e34642 docs(contributing): add CONTRIBUTING.md 2026-05-18 20:19:11 +03:00
Moudy
0ab3075e78 Merge remote-tracking branch 'origin/main' into moudy/wallet-crypto-bench-tool
# Conflicts:
#	Cargo.toml
#	docs/benchmarks/README.md
2026-05-18 18:25:58 +02:00
Moudy
3877b216e0
Merge pull request #478 from logos-blockchain/moudy/cycle-bench-tool
feat: add cycle_bench tool for executor, prove, PPE, and verify cycle measurements
2026-05-18 17:56:22 +02:00
Moudy
dbe8ac6160 chore(crypto_primitives_bench): switch allow to expect, fix doc_markdown inline 2026-05-18 17:36:07 +02:00
Moudy
8960df04d6 fix: fmt 2026-05-18 17:17:58 +02:00
Moudy
ba65b168dd rename(wallet_crypto_bench): rename to crypto_primitives_bench 2026-05-18 17:13:07 +02:00
Moudy
87170b93b0 refactor(cycle_bench): collapse 9 inline run_case calls into Case struct + iterator
- Introduce `struct Case` holding pre-serialized InstructionData,
  with new<I: Serialize>(...) -> Result<Self> constructor and
  fn run(self, prove, exec_iters) -> Result<BenchResult>.
- Replace 9 inline `run_case(...)?` push calls in main() with
  [Case::new(...)?, ...].into_iter().map(|c| c.run(prove, exec_iters))
  .collect::<Result<Vec<_>>>()?.
- Drop now-unused `needless_pass_by_value` and `too_many_arguments`
  from the crate-level #![expect] block.
2026-05-18 16:48:23 +02:00
Moudy
b84a3e8b44 docs(cycle_bench): document Stats fields and use Display instead of ::format()
- Add /// doc comments on Stats {n, best_ms, mean_ms, stdev_ms}
  clarifying units, semantics, and Bessel's correction.
- Replace pub fn format(&self) -> String with impl fmt::Display for
  Stats, idiomatic and lets println! use {} directly.
- Update three call sites accordingly.
2026-05-18 16:37:11 +02:00
Moudy
28db42315b chore(cycle_bench): tighten lint discipline (allow → expect, fix issues in code)
- Switch crate-level #![allow] to #![expect] in main.rs and prune
  17 entries the compiler reports as unfulfilled or workspace-allowed.
- Fix the underlying issues rather than allow: source ordering
  (mods/uses regrouped), doc_markdown (identifiers backticked),
  redundant_type_annotations, map_unwrap_or, unnecessary_wraps.
- Extract feature-gated mod ppe_impl into its own file
  tools/cycle_bench/src/ppe/ppe_impl.rs so the mod declaration can
  precede the public structs per arbitrary_source_item_ordering.

Net: 35 → 12 expects in main.rs, all load-bearing.
2026-05-18 15:49:24 +02:00
jonesmarvin8
081de03956 minor fix 2026-05-18 09:07:47 -04:00
jonesmarvin8
26df0ceb7b clippy fix 2026-05-18 08:54:50 -04:00
Pravdyvy
0210d70602 feat(wallet): added unified way of sending public transactions to all facades 2026-05-18 15:06:09 +03:00
Pravdyvy
3732f16df9 feat: account manager extension 2026-05-18 13:44:03 +03:00
jonesmarvin8
a81fa01431
Merge branch 'marvin/keycard-commands' into marvin/keycard-privacy-commands 2026-05-17 12:35:02 -04:00
jonesmarvin8
a216234a95 refactored 2026-05-17 12:32:43 -04:00
jonesmarvin8
2f85288bae fmt 2026-05-17 12:24:11 -04:00
Sergio Chouhy
518c0e0205 remove test. Now directly modifying faucet account is forbidden 2026-05-15 21:07:17 -03:00
Sergio Chouhy
0e177f1eba replace unit tests with integration tests 2026-05-15 21:04:09 -03:00
Sergio Chouhy
58226fd0f7 fix test 2026-05-15 20:11:11 -03:00
jonesmarvin8
c2dad4b602
Merge branch 'marvin/keycard-commands' into marvin/keycard-privacy-commands 2026-05-15 18:17:39 -04:00
jonesmarvin8
54f6d4922b updating logic 2026-05-15 18:15:54 -04:00
jonesmarvin8
91ba9c1536 adjust signer logic workflow 2026-05-15 18:09:40 -04:00
Sergio Chouhy
57173cc140 make authorization propagate transitively through chain calls in the circuit like in the public execution 2026-05-15 17:24:24 -03:00
jonesmarvin8
a43314a213 Merge branch 'marvin/keycard-commands' into marvin/keycard-privacy-commands 2026-05-15 11:06:07 -04:00
jonesmarvin8
7c1e5fb67e fix main merge error 2026-05-15 10:21:55 -04:00
jonesmarvin8
64c9259958 fix artifacts 2026-05-15 10:01:53 -04:00
Moudy
891b23c18a fix: ci 2026-05-15 15:27:30 +02:00
jonesmarvin8
1baa5d07b3 Merge branch 'marvin/keycard-commands' into marvin/keycard-privacy-commands 2026-05-15 09:24:50 -04:00
jonesmarvin8
dd4ee70797 compile error fixed 2026-05-15 09:07:35 -04:00
Moudy
4a8825e63c fix: ci 2026-05-15 12:53:04 +02:00
Moudy
9efc26495b refactor: use canonical program IDs from nssa::program_methods 2026-05-15 12:19:49 +02:00
Moudy
84a1fec942 feat: add wallet_crypto_bench tool for wallet-side cryptographic primitives 2026-05-15 10:51:51 +02:00
Sergio Chouhy
2ae9e4da7f add tests and fix mechanism 2026-05-15 00:43:45 -03:00
jonesmarvin8
d2b6597119 Merge branch 'main' into marvin/keycard-commands 2026-05-14 21:29:38 -04:00
jonesmarvin8
52026c4065 addressed comments 2026-05-14 21:19:25 -04:00