Sergio Chouhy
00f7324f8e
clippy
2026-03-28 04:11:30 -03:00
Sergio Chouhy
6f380f1e74
fmt
2026-03-28 03:54:57 -03:00
Sergio Chouhy
5634cc3654
minor refactor
2026-03-28 03:54:41 -03:00
Sergio Chouhy
936b8aaf1e
remove blockid from common
2026-03-28 03:52:14 -03:00
Sergio Chouhy
3fdf93df4f
rename timestamp_ms to timestamp
2026-03-28 03:47:25 -03:00
Sergio Chouhy
3b7fe58f6f
remove common TimeStamp
2026-03-28 03:47:07 -03:00
Sergio Chouhy
4f38dec019
use curr_time from new block
2026-03-28 03:27:00 -03:00
Sergio Chouhy
b92dcbb711
add type aliases
2026-03-28 03:13:46 -03:00
Sergio Chouhy
fba95ca2a8
add tests for timestamp validity windows
2026-03-28 02:30:15 -03:00
Sergio Chouhy
caf74b8346
refactor validity window with generic
2026-03-28 01:13:48 -03:00
Sergio Chouhy
4746548994
Merge branch 'main' into feature/validity-window-timestamps
2026-03-27 23:26:00 -03:00
Sergio Chouhy
085ca69e42
Merge pull request #400 from logos-blockchain/schouhy/add-block-context
...
Add validity windows to program output
2026-03-27 10:07:38 -03:00
Sergio Chouhy
99071a4ef9
Merge branch 'main' into schouhy/add-block-context
2026-03-26 21:23:36 -03:00
Sergio Chouhy
73fdc1d70c
artifacts
2026-03-26 18:30:03 -03:00
Sergio Chouhy
287b196569
remove redundant docstring
2026-03-26 18:16:18 -03:00
Sergio Chouhy
e618e08bdc
use validity window as intstruction type in test programs
2026-03-26 18:10:31 -03:00
Sergio Chouhy
25a86d4bac
move standard derives to beginning
2026-03-26 15:27:37 -03:00
Sergio Chouhy
57b83f4e1a
move to impl display
2026-03-26 15:21:29 -03:00
Pravdyvy
9c23c5fd8a
Merge pull request #393 from logos-blockchain/Pravdyvy/hardcoded-initial-state
...
feat: general initial state
2026-03-26 19:17:20 +02:00
Pravdyvy
9d5eb3e3bd
Merge pull request #390 from logos-blockchain/Pravdyvy/indexer-db-batching
...
Indexer db batching
2026-03-26 18:27:02 +02:00
Sergio Chouhy
acf609ecc8
Merge branch 'main' into schouhy/add-block-context
2026-03-26 13:24:46 -03:00
Pravdyvy
8a806899e4
Merge branch 'main' into Pravdyvy/hardcoded-initial-state
2026-03-26 17:53:05 +02:00
Pravdyvy
b8a754449a
Merge branch 'main' into Pravdyvy/indexer-db-batching
2026-03-26 17:51:03 +02:00
Sergio Chouhy
9e6820f2a4
Merge pull request #412 from logos-blockchain/schouhy/remove-indexer-ci-tests
...
Temporarily remove integration tests indexer
2026-03-26 12:41:23 -03:00
Sergio Chouhy
1ad3070662
fix deny
2026-03-26 11:54:24 -03:00
Sergio Chouhy
867b2ceb0b
remove integration tests indexer
2026-03-26 11:01:36 -03: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
Sergio Chouhy
fc34ecd3ca
fix deny
2026-03-26 09:19:00 -03:00
Sergio Chouhy
c5cbfa375b
artifacts
2026-03-25 20:58:55 -03:00
Sergio Chouhy
d7b0c42255
clippy
2026-03-25 20:26:04 -03:00
Sergio Chouhy
1b555d6623
update astral tokio tar
2026-03-25 18:03:07 -03:00
Sergio Chouhy
356a84132a
build artifacts
2026-03-25 18:02:38 -03:00
Sergio Chouhy
52f254d4ed
fix RUSTSEC-2026-0066 and RUSTSEC-2026-0049
2026-03-25 17:50:49 -03:00
Sergio Chouhy
70ccb1befa
add constructors from ranges
2026-03-25 17:42:17 -03:00
Sergio Chouhy
953a1dacd3
clippy
2026-03-25 17:35:10 -03:00
Sergio Chouhy
79d70b3a66
add test for empty intersection in circuit
2026-03-25 17:33:27 -03:00
Sergio Chouhy
abc30c0ce0
remove old program output constructors
2026-03-25 16:56:04 -03:00
Sergio Chouhy
3356aef291
handle comments
2026-03-25 16:03:39 -03:00
Sergio Chouhy
1193d31f76
implement convert constructor
2026-03-25 15:47:50 -03:00
Sergio Chouhy
4d5d767249
add tests. minor refactor
2026-03-25 14:55:23 -03:00
Moudy
9426eb972a
update vulnerable dependencies (astral-tokio-tar, rustls-webpki, testcontainers)
2026-03-24 17:22:30 +01:00
Moudy
47d9257d6f
fix: add backticks to doc comment for clippy doc_markdown
2026-03-24 16:35:41 +01:00
Moudy
eff2ffdae8
rebuild artifacts with validity_window field in ProgramOutput
2026-03-24 16:35:34 +01:00
moudyellaz
fa0f77dad9
fix: remove unused self from next_block_timestamp_ms
2026-03-24 15:57:21 +01:00
moudyellaz
3ba2441b6e
style: apply nightly cargo fmt
2026-03-24 12:44:19 +01:00
moudyellaz
a838a45a2c
style: apply cargo fmt
2026-03-24 11:49:15 +01:00
moudyellaz
0043f29dc2
feat: extend ValidityWindow with Unix timestamp bounds
2026-03-24 11:28:44 +01:00
Pravdyvy
ce136348e7
fix: deny fix
2026-03-23 19:22:56 +02:00
Pravdyvy
c3723776c6
fix: deny fix
2026-03-23 19:21:42 +02:00
Pravdyvy
df831bbf6f
Merge branch 'main' into Pravdyvy/hardcoded-initial-state
2026-03-23 18:20:03 +02:00