Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions hub/columns/stack.tex
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
\item $\stackDecAddFlag$
\item $\stackDecBinFlag$
\item $\stackDecBtcFlag$
\item $\stackDecBlobHashFlag$
\item $\stackDecCallFlag$
\item $\stackDecConFlag$
\item $\stackDecCopyFlag$
Expand Down
6 changes: 0 additions & 6 deletions hub/instruction_handling/stateless_constraints.tex
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@
\item \If $\twoArgInst = 1$ \Then $\twoOneSP_{i}$, see section~(\ref{hub: stack patterns: 2_1});
\item \If $\treArgInst = 1$ \Then $\threeOneSP_{i}$, see section~(\ref{hub: stack patterns: 3_1});
\end{enumerate}
\item[\underline{Zero high part for \wcpMod{}:}]\label{hub: instruction handling: stateless: wcp high part is zero}
\If $\stackDecWcpFlag_{i} = 1$ \Then we impose that
\begin{enumerate}
\item $\stackItemValHi{4}_{i} = 0$
\item $\stackItemValLo{4}_{i} \cdot (1 - \stackItemValLo{4}_{i}) = 0$ \quad (\trash)
\end{enumerate}
\item[\underline{Setting $\nonStackRows$:}] \If $\isStatelessInst_{i} = 1$ \Then we impose that
\[
\nonStackRows_{i} = \instIsExp_{i} + \cmc_{i}
Expand Down
3 changes: 1 addition & 2 deletions hub/lookups/into_add_bin_mod_mul_shf_wcp.tex
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,4 @@
\end{description}
\saNote{}
The \wcpMod{} doesn't have a ``$\resHi$'' column.
For that module we omit $\stackItemValHi{4}$ from the source and ``$\resHi$'' from the target.
Recall from section~(\ref{hub: instruction handling: stateless: wcp high part is zero}) that for \wcpMod{}-instructions we impose the vanishing of the ``result's'' high part.
For that module we change ``$\resHi$'' from the target to 0 to ensure the high paty of the result is 0.
2 changes: 2 additions & 0 deletions hub/lookups/into_instruction_decoder.tex
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
\item $\stackDecAddFlag$
\item $\stackDecBinFlag$
\item $\stackDecBtcFlag$
\item $\stackDecBlobHashFlag$
\item $\stackDecCallFlag$
\item $\stackDecConFlag$
\item $\stackDecCopyFlag$
Expand Down Expand Up @@ -66,6 +67,7 @@
\item $\addFlag$
\item $\binFlag$
\item $\btcFlag$
\item $\blobHashFlag$
\item $\callFlag$
\item $\conFlag$
\item $\copyFlag$
Expand Down
2 changes: 2 additions & 0 deletions pkg/flags_stamps_selectors.sty
Original file line number Diff line number Diff line change
Expand Up @@ -1725,3 +1725,5 @@
\newcommand{\iBlsRefTableSelect}{\imported{\blsRefTableSelect}}
\newcommand{\stackDecBlsRefTableFlag}{\stackInstructionDecodedColumn{\blsRefTableFlag}}

\newcommand{\blobHashFlag}{\col{BLOB\_HASH\_FLAG}}
\newcommand{\stackDecBlobHashFlag}{\stackInstructionDecodedColumn{\blobHashFlag}}
18 changes: 18 additions & 0 deletions pkg/rlp_patterns.sty
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,22 @@
\end{array} \right]
}

%% BLOB HASH
%%%%%%%%%%%

\newcommand{\rlpProcessBlobHashName} {\rlpDataProcessingCompoundConstraints{BLOBHASH}}
\newcommand{\rlpProcessBlobHash} [1] {
\setkeys[RLP]{var}{#1}
\rlpProcessBytesThirtyTwoName _{\cmdRLP@var@anchorRow}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Macro uses wrong name for output rendering

Medium Severity

The \rlpProcessBlobHash macro definition uses \rlpProcessBytesThirtyTwoName instead of the newly defined \rlpProcessBlobHashName. This causes the output to render as "BYTES32" instead of "BLOBHASH", making the specification inconsistent and potentially confusing when distinguishing blob hash processing from general 32-byte processing.

Fix in Cursor Fix in Web

\left[ \begin{array}{ll}
\utt{Rel. row offset:} & \cmdRLP@var@relOffset \\
\utt{Data hi part:} & \cmdRLP@var@dataHi \\
\utt{Data lo part:} & \cmdRLP@var@dataLo \\
\end{array} \right]
}

%% DATA PRICING

\newcommand{\rlpUtilsInstCallDataPricingName} {\rlpUtilsInstructionCall{DATA\_PRICING}}
\newcommand{\rlpUtilsInstCallDataPricing} [1] {
\setkeys[RLP]{var}{#1}
Expand All @@ -276,6 +292,8 @@
\end{array} \right]
}

%% ADDRESS

\newcommand{\rlpProcessAddressName} {\rlpDataProcessingCompoundConstraints{ADDRESS}}
\newcommand{\rlpProcessAddress} [1] {
\setkeys[RLP]{var}{#1}
Expand Down
4 changes: 4 additions & 0 deletions pkg/rlp_tx.sty
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
\newcommand{\phaseValueValue} {\rlpTxnPhase{value}}
\newcommand{\phaseDataValue} {\rlpTxnPhase{data}}
\newcommand{\phaseAccessListValue} {\rlpTxnPhase{access\_list}}
\newcommand{\phaseMaxFeePerBlobGasValue} {\rlpTxnPhase{max\_fee\_per\_blob\_gas}}
\newcommand{\phaseBlobVersionedHashesValue} {\rlpTxnPhase{blob\_versioned\_hashes}}
\newcommand{\phaseBetaValue} {\rlpTxnPhase{beta}}
\newcommand{\phaseYValue} {\rlpTxnPhase{y}}
\newcommand{\phaseRValue} {\rlpTxnPhase{r}}
Expand All @@ -60,6 +62,8 @@
\newcommand{\phaseValue} {\col{IS\_VALUE}}
\newcommand{\phaseData} {\col{IS\_DATA}}
\newcommand{\phaseAccessList} {\col{IS\_ACCESS\_LIST}}
\newcommand{\phaseMaxFeePerBlobGas} {\col{IS\_MAX\_FEE\_PER\_BLOB\_GAS}}
\newcommand{\phaseBlobVersionedHashes} {\col{IS\_BLOB\_VERSIONED\_HASHES}}
\newcommand{\phaseBeta} {\col{IS\_BETA}}
\newcommand{\phaseY} {\col{IS\_Y}}
\newcommand{\phaseR} {\col{IS\_R}}
Expand Down
5 changes: 5 additions & 0 deletions pkg/rlp_txn_v2.sty
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
\newcommand{\numberOfNonZero} {NUMBER\_OF\_NONZERO\_BYTES}
\newcommand{\nbWarmedAddress} {NUMBER\_OF\_PREWARMED\_ADDRESSES}
\newcommand{\nbWarmedStorageKey} {NUMBER\_OF\_PREWARMED\_STORAGE\_KEYS}
\newcommand{\maxFeePerBlobGas} {MAX\_FEE\_PER\_BLOB\_GAS}

\newcommand{\rlpTxnTransactionColumn} [1] {\col{txn}\separator\col{{#1}}}

Expand All @@ -28,6 +29,7 @@
\newcommand{\rlpTxnTransactionColumnTypeZeroTx} {\rlpTxnTransactionColumn{\typeZeroTx}}
\newcommand{\rlpTxnTransactionColumnTypeOneTx} {\rlpTxnTransactionColumn{\typeOneTx}}
\newcommand{\rlpTxnTransactionColumnTypeTwoTx} {\rlpTxnTransactionColumn{\typeTwoTx}}
\newcommand{\rlpTxnTransactionColumnTypeThreeTx} {\rlpTxnTransactionColumn{\typeThreeTx}}
\newcommand{\rlpTxnTransactionColumnChainId} {\rlpTxnTransactionColumn{\chainId}}
\newcommand{\rlpTxnTransactionColumnGasPrice} {\rlpTxnTransactionColumn{\gasPrice}}
\newcommand{\rlpTxnTransactionColumnMaxPriorityFeePerGas} {\rlpTxnTransactionColumn{\maxPriorityFeePerGas}}
Expand All @@ -41,7 +43,10 @@
\newcommand{\rlpTxnTransactionColumnNumberOfNonZero} {\rlpTxnTransactionColumn{\numberOfNonZero}}
\newcommand{\rlpTxnTransactionColumnNbWarmedAddress} {\rlpTxnTransactionColumn{\nbWarmedAddress}}
\newcommand{\rlpTxnTransactionColumnNbWarmedStorageKey} {\rlpTxnTransactionColumn{\nbWarmedStorageKey}}
\newcommand{\rlpTxnTransactionColumnMaxFeePerBlobGas} {\rlpTxnTransactionColumn{\maxFeePerBlobGas}}
\newcommand{\rlpTxnTransactionColumnRequiresEvmExecution} {\rlpTxnTransactionColumn{REQUIRES\_EVM\_EXECUTION}}
\newcommand{\rlpTxnCommonColumnNumberOfBlobs} {\rlpTxnTransactionColumn{NUMBER\_OF\_BLOBS}}


\newcommand{\rlpTxnCommonColumnReplayProtection} {\col{REPLAY\_PROTECTION}}
\newcommand{\rlpTxnCommonColumnYparity} {\col{Y\_PARITY}}
Expand Down
12 changes: 11 additions & 1 deletion pkg/txn_data.sty
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
\newcommand{\initCodeSizeName } {\col{INIT\_CODE\_SIZE}}
\newcommand{\dataCostName } {\col{DATACOST}}
\newcommand{\basefeeName } {\col{BASEFEE}}
\newcommand{\blobbasefeeName } {\col{BLOBBASEFEE}}
\newcommand{\maxfeeperblobName } {\col{MAX\_FEE\_PER\_BLOB}}
\newcommand{\numberOfBlobsName } {\col{NUMBER\_OF\_BLOBS}}
\newcommand{\timestampName } {\col{TIMESTAMP}}
\newcommand{\fullTipName } {\col{FULL\_TIP}}
\newcommand{\typeBitName } {\col{TYPE\_BIT}}
Expand All @@ -44,6 +47,7 @@
\newcommand{\finalRefundCounterName } {\col{REFUND\_COUNTER\_FINAL}}
\newcommand{\effectiveRefundName } {\col{REFUND\_EFFECTIVE}}
\newcommand{\cumulativeConsumedGasName } {\col{GAS\_CUMULATIVE}}
\newcommand{\cumulativeConsumedBlobGasName } {\col{BLOB\_GAS\_CUMULATIVE}}
\newcommand{\beaconRootName } {\col{BEACON\_ROOT}}
\newcommand{\relBlockNumberName } {\col{REL\_BLOCK\_NUMBER}}
\newcommand{\absBlockNumberName } {\col{ABS\_BLOCK\_NUMBER}}
Expand Down Expand Up @@ -104,6 +108,9 @@
\newcommand{\cumulativeConsumedGas} {\cumulativeConsumedGasName }
\newcommand{\txCumulativeConsumedGas} {\transactionSignifier\cumulativeConsumedGasName }

\newcommand{\cumulativeConsumedBlobGas} {\cumulativeConsumedBlobGasName }
\newcommand{\txCumulativeConsumedBlobGas} {\transactionSignifier\cumulativeConsumedBlobGasName }

\newcommand{\maxCtTypeZero} {\redm{9}}
\newcommand{\maxCtTypeOne} {\redm{10}}
\newcommand{\maxCtTypeTwo} {\redm{10}}
Expand Down Expand Up @@ -197,7 +204,9 @@
\newcommand{\txnDataRlpNumAccountDelegations } {\userTxnRlpViewColumn{NUMBER\_OF\_ACCOUNT\_DELEGATIONS}}
\newcommand{\txnDataRlpCfi } {\userTxnRlpViewColumn{\cfi}}
\newcommand{\txnDataRlpRequiresEvmExecution } {\userTxnRlpViewColumn{\requiresEvmExecutionName}}
\newcommand{\txnDataRlpBasefee } {\userTxnHubViewColumn{\basefeeName }}
\newcommand{\txnDataRlpBasefee } {\userTxnRlpViewColumn{\basefeeName }}
\newcommand{\txnDataRlpMaxFeePerBlob } {\userTxnRlpViewColumn{\maxfeeperblobName }}
\newcommand{\txnDataRlpNumberOfBlobs } {\userTxnRlpViewColumn{\numberOfBlobsName }}

% HUB view columns
\newcommand{\txnDataHubCoinbase } {\userTxnHubViewColumn{\coinbaseName }}
Expand Down Expand Up @@ -251,6 +260,7 @@
\newcommand{\txnDataHubXxx } {\userTxnHubViewColumn{XXX}}

\newcommand{\txnDataHubBasefee } {\userTxnHubBtcViewColumn{\basefeeName }}
\newcommand{\txnDataHubBlobBaseFee } {\userTxnHubBtcViewColumn{\blobbasefeeName }}
\newcommand{\txnDataHubCoinbaseHi } {\userTxnHubBtcViewColumn{\coinbaseHiName }}
\newcommand{\txnDataHubCoinbaseLo } {\userTxnHubBtcViewColumn{\coinbaseLoName }}
\newcommand{\txnDataHubBlockGasLimit } {\userTxnHubBtcViewColumn{\blockGasLimitName }}
Expand Down
14 changes: 10 additions & 4 deletions rlp_txn/_local.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@
\def\locValidPhaseTransitionTypeZero {\locValidPhaseTransition\loc{\_type\_0}}
\def\locValidPhaseTransitionTypeOne {\locValidPhaseTransition\loc{\_type\_1}}
\def\locValidPhaseTransitionTypeTwo {\locValidPhaseTransition\loc{\_type\_2}}
\def\locValidPhaseTransitionTypeThree {\locValidPhaseTransition\loc{\_type\_3}}

\def\locWillRemainInSamePhase {\loc{will\_remain\_in\_same\_phase}}
\def\locWillRemainInSamePhaseTypeZero {\locWillRemainInSamePhase\loc{\_type\_0}}
\def\locWillRemainInSamePhaseTypeOne {\locWillRemainInSamePhase\loc{\_type\_1}}
\def\locWillRemainInSamePhaseTypeTwo {\locWillRemainInSamePhase\loc{\_type\_2}}
\def\locWillRemainInSamePhase {\loc{will\_remain\_in\_same\_phase}}
\def\locWillRemainInSamePhaseTypeZero {\locWillRemainInSamePhase\loc{\_type\_0}}
\def\locWillRemainInSamePhaseTypeOne {\locWillRemainInSamePhase\loc{\_type\_1}}
\def\locWillRemainInSamePhaseTypeTwo {\locWillRemainInSamePhase\loc{\_type\_2}}
\def\locWillRemainInSamePhaseTypeThree {\locWillRemainInSamePhase\loc{\_type\_3}}

\def\locPhaseWillNotChangeAndPhaseIsntRlpPrefix {\loc{phase\_wont\_change\_and\_isnt\_global\_RLP\_prefix}}
\def\locLimbUnconditionallyPartakesInLt {\loc{limb\_unconditionally\_partakes\_in\_LT}}
Expand All @@ -30,6 +32,7 @@
\def\locRlpComponentsTypeZero {\locRlpComponents\loc{\_type\_0}}
\def\locRlpComponentsTypeOne {\locRlpComponents\loc{\_type\_1}}
\def\locRlpComponentsTypeTwo {\locRlpComponents\loc{\_type\_2}}
\def\locRlpComponentsTypeThree {\locRlpComponents\loc{\_type\_3}}

\def\locAccessListLengthCountdown {\loc{AL\_RLP\_length\_countdown}}
\def\locAccessListItemCountdown {\loc{access\_list\_item\_countdown}}
Expand All @@ -50,6 +53,9 @@
\def\locAccessListIsNonempty {\loc{access\_list\_is\_nonempty}}
\def\locAccessListIsEmpty {\loc{access\_list\_is\_empty}}

\def\locBlobHashLengthCountdown {\loc{BH\_RLP\_length\_countdown}}
\def\locBlobHashIndex {\loc{BH\_INDEX}}

\def\locAddressPrefixPlusAddressHiPart {\loc{prefix\_and\_address\_hi\_part}}
\def\locIsDeploymentTransaction {\loc{is\_deployment\_transaction}}
\def\locIsMessageCallTransaction {\loc{is\_message\_call\_transaction}}
Expand Down
9 changes: 8 additions & 1 deletion rlp_txn/columns/shared.tex
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
\item \typeZeroTx{}
\item \typeOneTx{}
\item \typeTwoTx{}
% \item \typeThreeTx{}
\item \typeThreeTx{}
Comment thread
cursor[bot] marked this conversation as resolved.
% \item \typeFourTx{}
\end{enumerate}
\end{multicols}
Expand All @@ -60,6 +60,8 @@
\item \phaseBeta{}
\item \phaseMaxPriorityFeePerGas{}
\item \phaseMaxFeePerGas{}
\item \phaseMaxFeePerBlobGas{}
\item \phaseBlobVersionedHashes{}
\item \phaseY{}
\item \phaseR{}
\item \phaseS{}
Expand Down Expand Up @@ -99,6 +101,11 @@
\rlpTxnSharedColumnIsDep{}:
transaction-constant binary column;
turns on precisely for deployment transactions;
\item
\markAsJustifiedHere{}
\rlpTxnCommonColumnNumberOfBlobs{}:
transaction-constant column;
contains the number of blobs of the BLOB-transaction (else 0);
\end{enumerate}
The following are \textbf{counter-constant}, \textbf{binary} columns used in particular in the \rlp{}-ization of \textbf{access lists},
see section~(\ref{rlp txn: phase constraints: access list: approach}).
Expand Down
9 changes: 3 additions & 6 deletions rlp_txn/columns/transaction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
\markAsJustifiedHere{}
\rlpTxnTransactionColumnTxType{}:
the type of the transaction.
% \item
% \markAsJustifiedHere{}
% \rlpTxnTransactionColumnIsDep{}:
% \item
% \markAsJustifiedHere{}
% \rlpTxnTransactionColumnChainId{}:
\item
\markAsJustifiedHere{}
\rlpTxnTransactionColumnNonce{}:
Expand All @@ -25,6 +19,9 @@
\item
\markAsJustifiedHere{}
\rlpTxnTransactionColumnGasLimit{}:
\item
\markAsJustifiedHere{}
\rlpTxnTransactionColumnMaxFeePerBlobGas
\item
\markAsJustifiedHere{}
\rlpTxnTransactionColumnToHi{}:
Expand Down
1 change: 1 addition & 0 deletions rlp_txn/generalities/_inputs.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ \subsection{Finalization constraints}
\subsection{Constraints for miscellaneous transaction columns} \label{rlp txn: generalities: miscellaneous txn columns} \input{generalities/miscellaneous_transaction_columns}
\subsection{\rlpTxnComputationColumnCounterConstantAuxiliaryData{k} constraints} \label{rlp txn: generalities: TMP k column generalities} \input{generalities/aux_k}
\subsection{\rlpTxnSharedColumnRequiresEvmExecution{} constraints} \label{rlp txn: generalities: requires evm execution column} \input{generalities/requires_evm_execution}
\subsection{\rlpTxnCommonColumnNumberOfBlobs{} constraints} \label{rlp txn: generalities: number blob hashes} \input{generalities/number_blob_hashes}

3 changes: 3 additions & 0 deletions rlp_txn/generalities/binarities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
\item \typeZeroTx{}
\item \typeOneTx{}
\item \typeTwoTx{}
\item \typeThreeTx{}
\item \phaseRlpPrefix{}
\item \phaseChainId{}
\item \phaseNonce{}
Expand All @@ -15,6 +16,8 @@
\item \phaseValue{}
\item \phaseData{}
\item \phaseAccessList{}
\item \phaseMaxFeePerBlobGas{}
\item \phaseBlobVersionedHashes{}
\item \phaseBeta{}
\item \phaseY{}
\item \phaseR{}
Expand Down
2 changes: 2 additions & 0 deletions rlp_txn/generalities/lt_lx_lc_bits.tex
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
+ & \phaseValue _{i} \\
+ & \phaseData _{i} \\
+ & \phaseAccessList _{i} \\
+ & \phaseMaxFeePerBlobGas _{i} \\
+ & \phaseBlobVersionedHashes _{i} \\
% + & \phaseBeta _{i} \\
% + & \phaseY _{i} \\
% + & \phaseR _{i} \\
Expand Down
7 changes: 7 additions & 0 deletions rlp_txn/generalities/number_blob_hashes.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
We impose the following
\begin{enumerate}
\item
\rlpTxnCommonColumnNumberOfBlobs{} \textbf{transaction-constant}
Comment thread
cursor[bot] marked this conversation as resolved.
\item $\typeThreeTx_{i} = 0$ \Then $\rlpTxnCommonColumnNumberOfBlobs_{i} = 0$
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing conditional keyword in constraint

Medium Severity

The constraint for non-type-3 transactions is missing the \If keyword. The line reads $\typeThreeTx_{i} = 0$ \Then ... but should be \If $\typeThreeTx_{i} = 0$ \Then .... Without the conditional, this constraint is syntactically malformed and doesn't express the intended conditional logic.

Fix in Cursor Fix in Web

\end{enumerate}

2 changes: 2 additions & 0 deletions rlp_txn/generalities/perspectives.tex
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
+ & (1 - \phaseValue _{i}) & \!\!\!\cdot\!\!\! & \phaseValue _{i + 1} \\
+ & (1 - \phaseData _{i}) & \!\!\!\cdot\!\!\! & \phaseData _{i + 1} \\
+ & (1 - \phaseAccessList _{i}) & \!\!\!\cdot\!\!\! & \phaseAccessList _{i + 1} \\
+ & (1 - \phaseMaxFeePerBlobGas _{i}) & \!\!\!\cdot\!\!\! & \phaseMaxFeePerBlobGas _{i + 1} \\
+ & (1 - \phaseBlobVersionedHashes _{i}) & \!\!\!\cdot\!\!\! & \phaseBlobVersionedHashes _{i + 1} \\
+ & (1 - \phaseBeta _{i}) & \!\!\!\cdot\!\!\! & \phaseBeta _{i + 1} \\
+ & (1 - \phaseY _{i}) & \!\!\!\cdot\!\!\! & \phaseY _{i + 1} \\
+ & (1 - \phaseR _{i}) & \!\!\!\cdot\!\!\! & \phaseR _{i + 1} \\
Expand Down
2 changes: 2 additions & 0 deletions rlp_txn/generalities/phase_end.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
+ & \phaseValue _{i} & \!\!\!\cdot\!\!\! & (1 - \phaseValue _{i + 1}) \\
+ & \phaseData _{i} & \!\!\!\cdot\!\!\! & (1 - \phaseData _{i + 1}) \\
+ & \phaseAccessList _{i} & \!\!\!\cdot\!\!\! & (1 - \phaseAccessList _{i + 1}) \\
+ & \phaseMaxFeePerBlobGas _{i} & \!\!\!\cdot\!\!\! & (1 - \phaseMaxFeePerBlobGas _{i + 1}) \\
+ & \phaseBlobVersionedHashes _{i} & \!\!\!\cdot\!\!\! & (1 - \phaseBlobVersionedHashes _{i + 1}) \\
+ & \phaseBeta _{i} & \!\!\!\cdot\!\!\! & (1 - \phaseBeta _{i + 1}) \\
+ & \phaseY _{i} & \!\!\!\cdot\!\!\! & (1 - \phaseY _{i + 1}) \\
+ & \phaseR _{i} & \!\!\!\cdot\!\!\! & (1 - \phaseR _{i + 1}) \\
Expand Down
2 changes: 2 additions & 0 deletions rlp_txn/generalities/phase_flag_sum.tex
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
+ & \phaseValue _{i} \\
+ & \phaseData _{i} \\
+ & \phaseAccessList _{i} \\
+ & \phaseMaxFeePerBlobGas _{i} \\
+ & \phaseBlobVersionedHashes _{i} \\
+ & \phaseBeta _{i} \\
+ & \phaseY _{i} \\
+ & \phaseR _{i} \\
Expand Down
10 changes: 2 additions & 8 deletions rlp_txn/generalities/transaction_decoding.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
+ & \typeZeroTx _{i} \\
+ & \typeOneTx _{i} \\
+ & \typeTwoTx _{i} \\
% + & \typeThreeTx _{i} \\
+ & \typeThreeTx _{i} \\
% + & \typeFourTx _{i} \\
\end{array} \right]
\vspace{2mm} \\
Expand All @@ -15,7 +15,7 @@
+ & 0 & \!\!\!\cdot\!\!\! & \typeZeroTx _{i} \\
+ & 1 & \!\!\!\cdot\!\!\! & \typeOneTx _{i} \\
+ & 2 & \!\!\!\cdot\!\!\! & \typeTwoTx _{i} \\
% + & 3 & \!\!\!\cdot\!\!\! & \typeThreeTx _{i} \\
+ & 3 & \!\!\!\cdot\!\!\! & \typeThreeTx _{i} \\
% + & 4 & \!\!\!\cdot\!\!\! & \typeFourTx _{i} \\
\end{array} \right]
\end{array} \right.
Expand All @@ -31,12 +31,6 @@
we impose that $\locTransactionTypeSum _{i} = \locPhaseFlagSum _{i}$
\item
\If $\isTxn _{i} = 1$ \Then $\rlpTxnTransactionColumnTxType _{i} = \locWeightedTransactionTypeSum _{i}$
% \begin{enumerate}
% \item $\ct _{i} = 0$ (\sanityCheck)
% \item $\maxCt _{i} = 0$ (\sanityCheck)
% \item $\phaseEnd _{i} = 0$ (\sanityCheck)
% \item $\lc _{i} = 0$ (\sanityCheck)
% \end{enumerate}
\end{enumerate}
\saNote{} \label{rlp txn: generalities: transaction decoding: flag exclusivity}
The above implicitly imposes flag exclusivity on the ``transaction type flags.''
Expand Down
Loading