Pankaj Garg
f198d7426a
Use feature gate to set effective slot of loaded programs ( #30950 )
2023-03-29 04:47:49 -07:00
Yihau Chen
2c842e9932
chore: workspace inheritance ( #30939 )
...
* client/Cargo.toml
* udp-client/Cargo.toml
* tpu-client/Cargo.toml
* thin-client/Cargo.toml
* storage-proto/Cargo.toml
* quic-client/Cargo.toml
* dos/Cargo.toml
* entry/Cargo.toml
* perf/Cargo.toml
* program-runtime/Cargo.toml
* program-test/Cargo.toml
* programs/address-lookup-table/Cargo.toml
* programs/loader-v3/Cargo.toml
* connection-cache/Cargo.toml
* programs/sbf/rust/big_mod_exp/Cargo.toml
* programs/zk-token-proof-tests/Cargo.toml
2023-03-29 03:28:56 +00:00
Pankaj Garg
aebc191c38
Stop loading program accounts if program exists in cache ( #30703 )
...
* Stop loading program accounts if program exists in cache
* load accounts for upgradeable programs
* revert loader change to conditionally use program data account
* load instruction accounts
* generate TransactionExecutorCache from loaded programs
* cleanup account_found_and_dep_index variable
* address review comments
* handle tombstones in loader
* unify tombstone constructor
* handle multiple tombstones
2023-03-28 11:49:56 -07:00
Pankaj Garg
0df28f6d51
Increment usage count for loaded programs and call eviction ( #30900 )
2023-03-27 06:48:05 -07:00
Alexander Meißner
fb7d303995
Refactor - mock_process_instruction() ( #30893 )
...
* Uses InvokeContext::process_instruction() in mock_process_instruction().
* Uses InvokeContext::process_instruction() in tests of loader-v3.
* Only throw InstructionError::BuiltinProgramsMustConsumeComputeUnits if result.is_ok().
* Adds CU cost to loader-v3.
2023-03-24 22:45:03 +01:00
Alexander Meißner
c10f337f85
Feature - Loader built-in program v3 ( #30464 )
...
* Adds loader-v3 in SDK.
* Adds loader-v3 built-in program.
* Adds tests.
2023-03-23 18:13:47 +01:00