144 Commits

Author SHA1 Message Date
ygd58
94096bcdc6
fix(workspace): disable risc0-zkvm default features to avoid ring in guest builds
- Cargo.toml: add default-features = false to risc0-zkvm
- nssa/Cargo.toml: add explicit prove feature for ExecutorEnv/default_prover
- Regenerate artifacts

Fixes #468
2026-05-20 17:23:51 +02:00
Moudy
715d52f605 chore(workspace): drop integration_tests workspace dep and clean test_fixtures docstring 2026-05-20 16:04:53 +02:00
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
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
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
ba65b168dd rename(wallet_crypto_bench): rename to crypto_primitives_bench 2026-05-18 17:13:07 +02:00
Moudy
84a1fec942 feat: add wallet_crypto_bench tool for wallet-side cryptographic primitives 2026-05-15 10:51:51 +02:00
Daniil Polyakov
ee5a98fc48 refactor: use faucet program to manage faucet account 2026-05-15 01:34:07 +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
5f207a3f02 feat: move initial accounts data into genesis 2026-05-15 01:33:50 +03:00
Moudy
05f41f81e9 feat: add cycle_bench tool for executor, prove, PPE, and verify cycle measurements 2026-05-14 18:14:37 +02:00
Pravdyvy
45ccf14e77 fix(indexer_ffi): move into indexer 2026-05-07 14:32:03 +03:00
Petar Radovic
7944a77251 use new docker image 2026-04-29 12:50:17 +02:00
Petar Radovic
6bcbe058ed merge master 2026-04-29 10:33:07 +02:00
Pravdyvy
02949e961a
Merge branch 'main' into Pravdyvy/indexer-ffi-spawns-rpc-for-communication 2026-04-27 13:58:10 +03:00
Moudy
9e4e546c9e ci: reduce debug info in dev/test profiles to avoid LLD OOM 2026-04-17 16:10:20 +02:00
Pravdyvy
b864ff22d4 Merge branch 'main' into Pravdyvy/indexer-ffi-spawns-rpc-for-communication 2026-04-14 10:58:18 +03:00
Pravdyvy
a921d63750 Merge branch 'main' into Pravdyvy/indexer-ffi-spawns-rpc-for-communication 2026-04-13 16:01:14 +03:00
Pravdyvy
5fc397c2ee fix: ci fix 2026-04-13 15:53:31 +03:00
Petar Radovic
078c4726e4 simplify run script 2026-04-13 11:46:29 +02:00
Petar Radovic
b7ba2daa97 use newer image 2026-04-09 13:18:54 +02:00
Petar Radovic
359619ad14 new version 2026-04-08 23:33:12 +02:00
Petar Radovic
7af703f198 debug 2026-04-08 22:30:21 +02:00
Petar Radovic
74039f5cca debug 2026-04-08 21:59:15 +02:00
Petar Radovic
63206faeea tag commits 2026-04-08 18:39:47 +02:00
Pravdyvy
1ae7192c7a fix: trying to run tests 2026-04-03 15:50:24 +03:00
Pravdyvy
cf420291e3 feat: indexer ffi added 2026-04-02 15:49:42 +03:00
Sergio Chouhy
fa2fd857a9 minor refactor 2026-04-01 00:01:11 -03:00
Pravdyvy
8a806899e4 Merge branch 'main' into Pravdyvy/hardcoded-initial-state 2026-03-26 17:53:05 +02:00
r4bbit
0ed91e869e feat(programs): add Associated Token Account program with wallet CLI and tutorial
Introduce the ATA program, which derives deterministic per-token holding
accounts from (owner, token_definition) via SHA256, eliminating the need
to manually create and track holding account IDs.

Program (programs/associated_token_account/):
- Create, Transfer, and Burn instructions with PDA-based authorization
- Deterministic address derivation: SHA256(owner || definition) → seed → AccountId
- Idempotent Create (no-op if ATA already exists)

Wallet CLI (`wallet ata`):
- `address` — derive ATA address locally (no network call)
- `create`  — initialize an ATA on-chain
- `send`    — transfer tokens from owner's ATA to a recipient
- `burn`    — burn tokens from owner's ATA
- `list`    — query ATAs across multiple token definitions

Usage:
  wallet deploy-program artifacts/program_methods/associated_token_account.bin
  wallet ata address --owner <ID> --token-definition <DEF_ID>
  wallet ata create --owner Public/<ID> --token-definition <DEF_ID>
  wallet ata send --from Public/<ID> --token-definition <DEF_ID> --to <RECIPIENT> --amount 100
  wallet ata burn --holder Public/<ID> --token-definition <DEF_ID> --amount 50
  wallet ata list --owner <ID> --token-definition <DEF1> <DEF2>

Includes tutorial: docs/LEZ testnet v0.1 tutorials/associated-token-accounts.md
2026-03-26 13:19:29 +01:00
Pravdyvy
9c90930bd6 Merge branch 'main' into Pravdyvy/hardcoded-initial-state 2026-03-20 14:55:42 +02:00
Daniil Polyakov
05c2c3a56d fix: encode transactions with borsh in sequencer rpc 2026-03-20 00:48:04 +03:00
Daniil Polyakov
be94e133fa feat: refactor sequencer RPC server-side 2026-03-20 00:41:05 +03:00
Daniil Polyakov
bffc711470 refactor: move sequencer_ directories into sequencer 2026-03-20 00:36:07 +03:00
Pravdyvy
afa0a63c95 fix: suggestions fix 2 2026-03-19 18:01:15 +02:00
Petar Radovic
5191370360 feat(sequencer): use logos-blockchain zone-sdk 2026-03-18 16:24:22 +01:00
Daniil Polyakov
3b0e842a42 feat: update dependencies 2026-03-17 21:25:30 +03:00
Daniil Polyakov
147fff957a feat: add cargo clippy lints 2026-03-17 21:25:30 +03:00
Daniil Polyakov
6e79ce0941 feat: add style clippy lints 2026-03-17 21:25:30 +03:00
Daniil Polyakov
90412f9590 feat: add suspicious clippy lints 2026-03-17 21:25:30 +03:00
Daniil Polyakov
5bf4495709 feat: add perf clippy lints 2026-03-17 21:25:30 +03:00
Daniil Polyakov
3e1cc2e58e feat: add complexity clippy lints 2026-03-17 21:25:30 +03:00
Daniil Polyakov
222e68ac0b feat: add correctness clippy lints 2026-03-17 21:25:30 +03:00
Daniil Polyakov
aa462b66eb feat: add nursery clippy lints 2026-03-17 21:25:30 +03:00
Daniil Polyakov
e3b93b6e9a feat: add restriction clippy lints 2026-03-17 21:25:30 +03:00
Daniil Polyakov
efe8393ba0 feat: add pedantic clippy lints 2026-03-17 21:25:30 +03:00
Daniil Polyakov
756f2f4135 feat: add workspace lints to every crate 2026-03-17 15:13:44 +03:00
Daniil Polyakov
803708ea1e fix: set wallet-ffi default features to false in workspace to fix tps test 2026-02-26 16:25:24 +03:00