2607 Commits

Author SHA1 Message Date
jonesmarvin8
8492f995df ci fixes 2026-05-20 16:36:24 -04:00
jonesmarvin8
8253002739 add test and other fixes 2026-05-20 16:00:57 -04:00
jonesmarvin8
dc7378da1f Merge branch 'main' into marvin/pq-privacy-encryption 2026-05-19 17:52:30 -04: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
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
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
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
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
Moudy
891b23c18a fix: ci 2026-05-15 15:27:30 +02: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
Daniil Polyakov
4079b0c9c8
Merge pull request #450 from logos-blockchain/arjentix/move-configurable-initial-data-to-genesis
feat: move configurable initial data to genesis
2026-05-15 02:30:57 +03:00
Daniil Polyakov
8c8f5b57af fixup! refactor: use faucet program to manage faucet account 2026-05-15 01:46:39 +03:00
Daniil Polyakov
7e31aa39e3 fix(ci): increase integration-tests timeout 2026-05-15 01:34:07 +03:00
Daniil Polyakov
f721a00bdf fix: proper account authorization propagation 2026-05-15 01:34:07 +03:00
Daniil Polyakov
ee5a98fc48 refactor: use faucet program to manage faucet account 2026-05-15 01:34:07 +03:00
Daniil Polyakov
e359c1abe2 refactor: better check for db existence 2026-05-15 01:34:01 +03:00
Daniil Polyakov
879cd5096a fix: update configuration files 2026-05-15 01:34:01 +03:00
Daniil Polyakov
9075f30f19 refactor: use system faucet and vaults to supply accounts from genesis
Co-authored-by: Copilot <copilot@github.com>
2026-05-15 01:34:01 +03:00
Daniil Polyakov
89d1b95738 refactor: mark WalletFfiError as must_use
Co-authored-by: Copilot <copilot@github.com>
2026-05-15 01:33:50 +03:00
Daniil Polyakov
cff019dca4 fix: increase valid-proof-test timeout 2026-05-15 01:33:50 +03:00
Daniil Polyakov
5f207a3f02 feat: move initial accounts data into genesis 2026-05-15 01:33:50 +03:00
Moudy
e74fe36866
Update README.md 2026-05-15 00:24:56 +02:00
Moudy
75e1cc51d5
Update README.md 2026-05-15 00:24:16 +02:00
Moudy
1e2d41f941
Update cycle_bench.md 2026-05-15 00:23:49 +02:00
Moudy
e998ec7b99
Merge pull request #469 from logos-blockchain/moudy/refactor-ppc-submodules
refactor(privacy_preserving_circuit)!: split guest into bin-dir submodules
2026-05-15 00:18:32 +02:00
moudyellaz
ba84ba60ce fix(privacy_preserving_circuit): refresh artifact 2026-05-14 23:45:52 +02:00
moudyellaz
7679c50ea8 fix(privacy_preserving_circuit): lint 2026-05-14 23:07:15 +02:00
Moudy
2870bc364b fix: allow non_ascii_literal and redundant_type_annotations clippy lints 2026-05-14 18:58:53 +02:00
Moudy
5f30e382d1 fix: satisfy nightly rustfmt and pedantic clippy in cycle_bench 2026-05-14 18:43:26 +02:00
moudyellaz
3c8ff78319 merge: resolve conflicts with main 2026-05-14 18:40:49 +02:00
Moudy
05f41f81e9 feat: add cycle_bench tool for executor, prove, PPE, and verify cycle measurements 2026-05-14 18:14:37 +02:00
moudyellaz
497a8fa761 fix(ci): drop duplicate deny.toml and add hickory advisories to .deny.toml 2026-05-14 16:25:36 +02:00
Pravdyvy
41fa494e32
Merge pull request #477 from logos-blockchain/Pravdyvy/nix-fix
Nix fix
2026-05-14 17:24:18 +03:00
Pravdyvy
36b7228b6d fix: nix pin 2026-05-14 11:56:18 +03:00
Pravdyvy
cfabd91510 fix: nix pin 2026-05-14 11:54:32 +03:00
Pravdyvy
ec74dca893 fix: nix pin 2026-05-14 11:49:29 +03:00