solana/programs/bpf_loader
Alexander Meißner 998cdd1c29
Remove `KeyedAccount` in builtin program "BPF loader" (#24381)
* Uses transaction_context.get_key_of_account_at_index() when only the key is needed.

* Uses "!instruction_context.is_signer()" instead of ".signer_key().is_none()".

* Uses instruction_context.get_index_in_transaction() to detect account aliasing.

* Makes sure that there is only one KeyedAccount at a time.
Everywhere except for DeployWithMaxDataLen and Upgrade.

* Makes sure that there is only one KeyedAccount at a time.
In DeployWithMaxDataLen and Upgrade.

* Replaces KeyedAccount by BorrowedAccount.

* Removes unused code.
2022-04-19 11:35:40 +02:00
..
benches Refactor: Use instruction_trace instead of instruction_context_stack (#22988) 2022-02-09 20:04:49 +01:00
gen-syscall-list Bump version to v1.11 (#23807) 2022-03-21 17:40:50 -05:00
src Remove `KeyedAccount` in builtin program "BPF loader" (#24381) 2022-04-19 11:35:40 +02:00
test_elfs
Cargo.toml Bump solana-rbpf to v0.2.25 (#24213) 2022-04-11 10:38:47 -07:00