v1.6: Restore ability for programs to upgrade themselves (#20263)
* Make helper associated fn * Add feature definition * Restore program-id write lock when upgradeable loader is present; restore bpf upgrade-self test * Remove spurious comment
This commit is contained in:
@@ -110,7 +110,9 @@ impl TransactionStatusService {
|
||||
.expect("FeeCalculator must exist");
|
||||
let fee = fee_calculator.calculate_fee(transaction.message());
|
||||
let (writable_keys, readonly_keys) =
|
||||
transaction.message.get_account_keys_by_lock_type();
|
||||
transaction.message.get_account_keys_by_lock_type(
|
||||
bank.restore_write_lock_when_upgradeable(),
|
||||
);
|
||||
|
||||
let inner_instructions = inner_instructions.map(|inner_instructions| {
|
||||
inner_instructions
|
||||
|
Reference in New Issue
Block a user