Skip to content

Commit 52c4a8e

Browse files
committed
edits
1 parent 768ca93 commit 52c4a8e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,20 +124,18 @@ 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`
138134

139-
If any of these conditions are violated, loading is aborted and the transaction
140-
pays fees.
135+
Otherwise, return `InvalidProgramForExecution`.
136+
137+
If either of these conditions are violated, loading is aborted and the
138+
transaction pays fees.
141139

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

0 commit comments

Comments
 (0)