Skip to content

Commit c694155

Browse files
committed
new language for another edge case
1 parent 04e283b commit c694155

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ loader is also included in the accounts list, it is counted twice.
3232
programdata depending on how the program account is used on the transaction.
3333
Programdata is also itself counted if included in the transaction accounts list.
3434
This means programdata may be counted zero, one, or two times per transaction.
35+
* Due to certain quirks of implementation, accounts owned by loaders which do
36+
not contain valid programs for execution may or may not be counted against the
37+
transaction data size total depending on how it is used on the transaction. This
38+
includes, but is not limited to, LoaderV3 buffer accounts.
3539

3640
All validator clients must arrive at precisely the same transaction data size
3741
for all transactions because a difference of one byte can determine whether a
@@ -107,6 +111,10 @@ is an instruction account.
107111
There is no special handling for programs owned by the native loader, LoaderV1,
108112
or LoaderV2.
109113

114+
There is no special handling for non-executable accounts owned by the loaders.
115+
These are to be included in the transaction data size total under all
116+
circumstances.
117+
110118
Account size for programs owned by LoaderV4 is left undefined. This SIMD should
111119
be amended to define the required semantics before LoaderV4 is enabled on any
112120
network.

0 commit comments

Comments
 (0)