K-anon
36d773810a
Add Executor Cache Eviction Strategy ( #30526 )
...
Co-authored-by: K-anon <IntokuSatori@users.noreply.github.com>
2023-03-06 15:07:01 -07:00
Pankaj Garg
b1f5b0d790
Find and load missing programs in LoadedPrograms cache ( #30275 )
...
* Find and load missing programs in LoadedPrograms cache
- filter program accounts in a transaction batch
- filter the accounts that are missing in LoadedPrograms cache
- load the programs before processing the transactions
- unit tests
* address review comments
* fix clippy
* address review comments
* fix test
* fix more tests
2023-02-21 12:53:35 -08:00
kirill lykov
ee1717b24b
Make clippy to be happy ( #30394 )
...
* replace default implementation with default enum
* fix format to make clippy happy
2023-02-17 20:51:18 +01:00
Pankaj Garg
3a4ba72daf
Remove executors trait and replace with LoadedProgram ( #30348 )
...
* Remove executors trait and replace with LoadedProgram
* fill in deployment slot
* address review comments
* fix clippy warnings
* address review comments
* fix failures caught by sbf tests
2023-02-17 12:47:45 +01:00
Pankaj Garg
86e59657c9
Return loaded program entry from the cache after insert ( #30336 )
...
* Return loaded program entry from the cache after insert
* update enum variant labels
2023-02-16 07:38:13 -08:00
Pankaj Garg
a9ad0f2b5a
Code to load a program from its account ( #30282 )
2023-02-15 09:05:26 -08:00
Pankaj Garg
375f9ae41d
LoadedPrograms cache implementation and tests ( #30139 )
2023-02-08 13:24:44 -08:00