Skip to content

Commit 768ca93

Browse files
committed
edits
1 parent 5f4dd69 commit 768ca93

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,9 @@ network.
118118

119119
After all accounts are loaded, if the transaction's size comes at or under its
120120
loaded accounts data size limit, the program IDs of each instruction, along with
121-
their program owners, are validated. This process is unrelated to the rest of
122-
this SIMD, but is not defined elsewhere, so we define it here.
121+
their program owners, are validated. This process is not part of determining
122+
loaded transaction data size, but it is part of account loading (and consensus),
123+
and it is not explicitly defined elsewhere. So we define it here.
123124

124125
The process is as follows; for each instruction's program ID:
125126

@@ -138,7 +139,12 @@ SIMD-0162 is active, skip this step.
138139
If any of these conditions are violated, loading is aborted and the transaction
139140
pays fees.
140141

141-
Previously, these checks were skipped if the program ID was
142+
Previously, instead of a hardcoded list of valid loaders, the program owner was
143+
loaded and verified to be executable and itself owned by
144+
`NativeLoader1111111111111111111111111111111`. This is undesirable because there
145+
are many programs which match this criteria but are in fact not program loaders.
146+
147+
Previously, all checks were skipped if the program ID was
142148
`NativeLoader1111111111111111111111111111111` itself. This special case has been
143149
removed, and `NativeLoader1111111111111111111111111111111` behaves like any
144150
other account.

0 commit comments

Comments
 (0)