Justin Starry
312f786abf
Rename `SanitizedMessage::try_from` to `try_from_legacy_message` ( #35338 )
...
* Simplify and refactor tx message creation in tests
* Rename SanitizedMessage::try_from to try_from_legacy_message
2024-02-29 08:25:22 +08:00
Lucas Steuernagel
8f3e960640
Add tests for private functions in SVM `account_loader.rs` ( #35334 )
2024-02-28 14:17:45 -03:00
Lucas Steuernagel
ec63b813f5
Move account filter test to SVM ( #35304 )
2024-02-23 17:44:26 -03:00
Alexander Meißner
74758d9fbf
Refactor - Move recompilation out of program loading ( #35297 )
...
Moves recompilation specifics out of load_program().
2024-02-23 17:25:32 +01:00
Tao Zhu
139b9c8c25
Add fee_details to fee calculation ( #35021 )
...
* add fee_details to fee calculation
* fix - no need to round after summing u64
* feature gate on removing unwanted rounding
2024-02-23 08:58:48 -06:00
Alexander Meißner
2891ce886b
Fix - program loading with effective slot at epoch boundary ( #35283 )
...
* Always limit effective slot to the begin of the current epoch.
* Adds comments.
* Optimizes to avoid having two entries if there is no relevant feature activation.
* Adds test_feature_activation_loaded_programs_epoch_transition().
2024-02-23 15:15:28 +01:00
Lucas Steuernagel
31a73ab731
Move `test_rent_state_list_len` to SVM ( #35287 )
2024-02-22 18:37:09 -03:00
Dmitri Makarov
0acee67891
SVM: move transaction_results from accounts-db to SVM ( #35183 )
...
SVM: Remove accounts-db deps in accounts_loader tests
2024-02-20 12:54:56 -08:00
Pankaj Garg
d48f277091
SVM: Remove accounts-db deps in accounts_loader tests ( #35223 )
2024-02-20 08:09:27 -08:00
Dmitri Makarov
245d1c4087
SVM: Move TransactionCheckResult definition from accounts-db to SVM ( #35153 )
2024-02-08 21:13:00 -05:00
Dmitri Makarov
eeb0cf1ea8
SVM: Move nonce_info from accounts-db to Solana SDK ( #35138 )
2024-02-08 15:01:15 -05:00
Pankaj Garg
9b63ac8d7a
SVM: Remove dependency on MatchAccountOwnerError ( #35144 )
2024-02-08 15:32:19 +00:00
Pankaj Garg
28a320d815
SVM: Move `RentCollector` to sdk ( #35122 )
2024-02-07 16:38:42 -08:00
Dmitri Makarov
b9ee3b475b
SVM: Move RentDebits from accounts-db to Solana SDK ( #35135 )
2024-02-07 15:10:17 -08:00
Jeff Washington (jwash)
2aa8b82990
remove activated feature set_exempt_rent_epoch_max ( #35082 )
...
* remove activated feature set_exempt_rent_epoch_max
* fix test_rent_eager_collect_rent_in_partition test
* update hash values for test_bank_hash_consistency
* clean up commas
2024-02-07 09:20:31 -06:00
Alexander Meißner
070a5a36b8
Cleanup - Removes `LoadedProgram::maybe_expiration_slot` ( #35023 )
...
Removes LoadedProgram::maybe_expiration_slot.
2024-02-07 01:38:21 +00:00
Pankaj Garg
46b9586630
SVM: Move SVM code to its own crate folder ( #35119 )
2024-02-06 16:06:32 -08:00