Skip to content

Commit 4afa17a

Browse files
committed
edits
1 parent 768ca93 commit 4afa17a

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

proposals/0186-loaded-transaction-data-size-specification.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,20 +124,17 @@ and it is not explicitly defined elsewhere. So we define it here.
124124

125125
The process is as follows; for each instruction's program ID:
126126

127-
* Verify the account exists.
128-
* If [SIMD-0162](
129-
https://github.com/solana-foundation/solana-improvement-documents/pull/162)
130-
has not been activated, verify the program account is marked executable. When
131-
SIMD-0162 is active, skip this step.
127+
* Verify the account exists. Otherwise, return `ProgramAccountNotFound`.
132128
* Verify the program account's owner is one of:
133129
* `NativeLoader1111111111111111111111111111111`
134130
* `BPFLoader1111111111111111111111111111111111`
135131
* `BPFLoader2111111111111111111111111111111111`
136132
* `BPFLoaderUpgradeab1e11111111111111111111111`
137133
* `LoaderV411111111111111111111111111111111111`
134+
Otherwise, return `InvalidProgramForExecution`.
138135

139-
If any of these conditions are violated, loading is aborted and the transaction
140-
pays fees.
136+
If either of these conditions are violated, loading is aborted and the
137+
transaction pays fees.
141138

142139
Previously, instead of a hardcoded list of valid loaders, the program owner was
143140
loaded and verified to be executable and itself owned by

0 commit comments

Comments
 (0)