Remove account executable
flag
#33970
Labels
stale
[bot only] Added to stale content; results in auto-close after a week.
executable
flag
#33970
Problem
The
executable
flag was an architectural design mistake which both the accounts-db-team and the program-runtime-team want removed. During transaction loading we are already ignoring theexecutable
flag of accounts and rely the owner being a loader instead:solana/accounts-db/src/accounts.rs
Line 644 in b8115b4
Proposed Solution
executable
flag during transaction loading:solana/accounts-db/src/accounts.rs
Line 524 in b8115b4
PROGRAM_OWNERS
list into the SDK:solana/runtime/src/bank.rs
Line 5100 in b8115b4
BorrowedAccount::is_executable()
the same way as infilter_executable_program_accounts()
:solana/sdk/src/transaction_context.rs
Line 1001 in b8115b4
BorrowedAccount::set_executable()
.The text was updated successfully, but these errors were encountered: