buray
4062cdd289
Merge eed9cc629604a06882fd7d2f3e2b238d6cd72eb4 into 7a29b45cf49d1f52df5ac7367c2179400d4a592c
2026-04-11 14:44:09 +01:00
Moudy
7d465dded7
fix: verify caller_program_id in program output
2026-04-07 19:03:06 +02:00
moudyellaz
087baebcca
feat: add caller_program_id to ProgramInput
2026-04-03 00:58:11 +02:00
Moudy
702ef4a46f
fix: cargo fmt
2026-04-02 20:30:27 +02:00
moudyellaz
eafc2969be
feat: add self_program_id to ProgramOutput struct
2026-04-02 20:30:16 +02:00
moudyellaz
27299e75cc
feat: add self_program_id to ProgramInput and read_nssa_inputs
2026-04-02 20:29:10 +02:00
Sergio Chouhy
eb14b8bf98
clippy
2026-03-31 13:51:12 +02:00
Sergio Chouhy
f627910468
fmt
2026-03-31 13:51:12 +02:00
Sergio Chouhy
8bfaf9ef4a
remove blockid from common
2026-03-31 13:50:47 +02:00
Sergio Chouhy
77c5032527
remove common TimeStamp
2026-03-31 13:50:30 +02:00
Sergio Chouhy
99f0ed03dc
add type aliases
2026-03-31 13:50:06 +02:00
Sergio Chouhy
9aa7caf3bf
refactor validity window with generic
2026-03-31 13:49:12 +02:00
Moudy
6d690a8d25
fix: add backticks to doc comment for clippy doc_markdown
2026-03-31 13:47:21 +02:00
moudyellaz
0823461012
style: apply nightly cargo fmt
2026-03-31 13:46:43 +02:00
moudyellaz
5c592312f9
feat: extend ValidityWindow with Unix timestamp bounds
2026-03-31 13:46:08 +02:00
Daniil Polyakov
6780f1c9a4
feat: protect from public pda griefing attacks
2026-03-28 01:23:57 +03:00
ygd58
eed9cc6296
fix: allow passthrough signer accounts in rule 7 validation
...
Previously rule 7 rejected any non-default account with DEFAULT_PROGRAM_ID
owner in post_states, even if the account was completely unchanged.
This made it impossible for programs to verify external signers via
is_authorized when the signer had prior transactions (nonce > 0).
Fix: skip rule 7 if pre.account == post.account (passthrough).
This enables multisig/governance programs to include signer accounts
as read-only inputs without modifying them.
Added regression test: passthrough_signer_account_allowed_in_rule_7
Fixes #339
2026-03-27 22:36:52 +01:00
Sergio Chouhy
287b196569
remove redundant docstring
2026-03-26 18:16:18 -03:00
Sergio Chouhy
25a86d4bac
move standard derives to beginning
2026-03-26 15:27:37 -03:00
Sergio Chouhy
d7b0c42255
clippy
2026-03-25 20:26:04 -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
4d5d767249
add tests. minor refactor
2026-03-25 14:55:23 -03:00
Sergio Chouhy
3257440448
enforce valid window construction
2026-03-20 13:49:17 -03:00
Sergio Chouhy
d9a1e56983
add docs
2026-03-19 19:41:02 -03:00
Sergio Chouhy
7bbd2dd5d7
add public validity window checks
2026-03-19 15:03:45 -03:00
Sergio Chouhy
895dd942cf
add validity range to program output
2026-03-19 12:10:02 -03:00
jonesmarvin8
5d9980cf63
lint fixes
2026-03-18 13:10:36 -04:00
jonesmarvin8
8dd5037e28
Merge branch 'main' into marvin/nonce
2026-03-17 16:45:08 -04:00
Daniil Polyakov
252848a145
feat: update rust to 1.94.0
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
jonesmarvin8
84abe02573
add serialize/deserialize impls
2026-03-02 11:54:41 -05:00
jonesmarvin8
889326d2ad
clean up and fixed tests
2026-02-16 19:53:32 -05:00
jonesmarvin8
77f2fb6994
update nonce mechanism
2026-02-12 19:22:03 -05:00
Daniil Polyakov
9909f02803
refactor: split token program into crates
2026-02-06 00:08:43 +03:00
Daniil Polyakov
2b2a52d0b8
feat: error on unclaimed modified accounts
2026-01-19 17:29:59 +03:00
Daniil Polyakov
67d5a3e9f4
fix: check public account authorization in privacy preserving circuit
2026-01-17 02:28:31 +03:00
Daniil Polyakov
5d7f44aa3e
feat: implement private multi chain calls in circuit
2026-01-17 02:28:31 +03:00
Pravdyvy
22f6d92ca6
Merge branch 'main' into Pravdyvy/amm-wallet-integration
2025-12-22 05:00:50 +02:00
Pravdyvy
92b5dffec2
fix: public swaps
2025-12-17 14:21:36 +02:00
Pravdyvy
b3dca76b67
fix: intercommit
2025-12-17 11:44:52 +02:00
Pravdyvy
c5cca4376e
Merge branch 'simple_amm' into Pravdyvy/amm-wallet-integration
2025-12-16 09:27:34 +02:00
jonesmarvin8
c3cd110688
data field fixes
2025-12-15 18:55:38 -05:00
jonesmarvin8
d78d97c815
Reapply "Merge branch 'main' into simple_amm"
...
This reverts commit 2419d4a1126afa9882b3fefbe518582ae130a817.
2025-12-15 18:13:31 -05:00
jonesmarvin8
2419d4a112
Revert "Merge branch 'main' into simple_amm"
...
This reverts commit 8dd1c2d84677aa5efe00ca820ec634a19b73de07, reversing
changes made to 2e37e20014fc8ddaa4559cbdf2c13ec8eb356f24.
2025-12-15 17:53:20 -05:00