solana-with-rpc-optimizations/programs
samkim-crypto b222fdf3d7
[zk-token-proof] Add functionality to read proof from accounts instead of instruction data (#34750)
* add functionality to read proof from accounts instead of instruction data

* update add tests

* clippy

* clarify instruction data discriminator

* avoid cloning entire proof data

* Update programs/zk-token-proof/src/lib.rs

Co-authored-by: Jon C <me@jonc.dev>

* update `PROOF_OFFSET_LENGTH` to `INSTRUCTION_DATA_LENGTH_WITH_PROOF_ACCOUNT`

* update instruction docs

* add feature gate

* Update sdk/src/feature_set.rs

Co-authored-by: Jon C <me@jonc.dev>

* update feature name `enable_zk_from_account` to `enable_zk_proof_from_account`

* Apply suggestions from code review

Co-authored-by: Jon C <me@jonc.dev>

* clarify the instruction data length more precisely

---------

Co-authored-by: Jon C <me@jonc.dev>
2024-01-13 08:15:44 +09:00
..
address-lookup-table pass feature_set to BorrowedAccount (#34542) 2023-12-21 20:03:17 +01:00
address-lookup-table-tests Bump solana_rbpf to v0.8.0 (#33679) 2023-10-20 21:39:50 +02:00
bpf-loader-tests Bump solana_rbpf to v0.8.0 (#33679) 2023-10-20 21:39:50 +02:00
bpf_loader cleanup feature code after activation (#34695) 2024-01-12 14:28:50 -06:00
compute-budget Bump solana_rbpf to v0.8.0 (#33679) 2023-10-20 21:39:50 +02:00
config pass feature_set to BorrowedAccount (#34542) 2023-12-21 20:03:17 +01:00
ed25519-tests Bump rand to 0.8, rand_chacha to 0.3, getrandom to 0.2 (#32871) 2023-08-21 19:11:21 +02:00
loader-v4 cleanup feature code after activation (#34695) 2024-01-12 14:28:50 -06:00
sbf cleanup feature code after activation (#34695) 2024-01-12 14:28:50 -06:00
stake refactor: optional `stake_history` arg is never `None` (#34556) 2023-12-22 10:44:28 +08:00
system pass feature_set to BorrowedAccount (#34542) 2023-12-21 20:03:17 +01:00
vote refactor: `check_update_vote_state_slots_are_valid` (#34555) 2024-01-06 00:50:50 +08:00
zk-token-proof [zk-token-proof] Add functionality to read proof from accounts instead of instruction data (#34750) 2024-01-13 08:15:44 +09:00
zk-token-proof-tests [zk-token-proof] Add functionality to read proof from accounts instead of instruction data (#34750) 2024-01-13 08:15:44 +09:00