You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we are not accounting for loader-v3 programs executed through CPI here:
https://github.com/anza-xyz/agave/blob/177f722410eada6b44cd3f65d992d9a846f21106/svm/src/account_loader.rs#L280
Since it was added (in [#29743](https://github.com/solana-labs/solana/pull/29743)) it was changed once to account for loader-v3 programdata accounts, but only in top-level instructions ([#30703](https://github.com/solana-labs/solana/pull/30703)).
Only in top-level instructions we use program.account_size from the program cache which correctly includes the loader-v3 programdata account length. The else branch however does use account.data().len() which is the proxy account length.
The text was updated successfully, but these errors were encountered:
Lichtso
changed the title
Loader-v3 programdata account size is not counted towards to limit if executed through CPI
Loader-v3 programdata account size is not counted towards limit if executed through CPI
Jul 24, 2024
Problem
@Lichtso repots:
Add a test to demonstrate it.
Proposed Solution
The text was updated successfully, but these errors were encountered: