Skip to content

feat: RLP redesign #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 103 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
899b8cf
feat: RLP redesign
letypequividelespoubelles Mar 28, 2025
b1dffaa
Merge branch 'main' into 62-rlp_txn-redesign
letypequividelespoubelles Mar 28, 2025
567bc93
Merge branch 'main' into 62-rlp_txn-redesign
letypequividelespoubelles Mar 28, 2025
367a75a
make it compile
letypequividelespoubelles Mar 28, 2025
460b28f
must enforce wcp result
letypequividelespoubelles Mar 28, 2025
9b5a6fd
add more patterns
letypequividelespoubelles Mar 28, 2025
eb34c21
rlp utils module
letypequividelespoubelles Mar 28, 2025
2156327
partlyinteger inst
letypequividelespoubelles Mar 28, 2025
605ba55
finish integer + feat in wcp
letypequividelespoubelles Mar 31, 2025
69dbb39
finish rlp utilms modukle
letypequividelespoubelles Mar 31, 2025
c3419e3
Merge branch 'main' into 62-rlp_txn-redesign
OlivierBBB Apr 1, 2025
fa74edc
Merge branch 'main' into 62-rlp_txn-redesign
OlivierBBB Apr 7, 2025
78aed41
feat: add RLP_UTILS module flags etc ...
OlivierBBB Apr 8, 2025
824be2e
feat: remove the commenting of files from the _all_spec.tex file
OlivierBBB Apr 8, 2025
7c6b50c
feat: add means to build the RLP_UTILS pdf in Makefile
OlivierBBB Apr 8, 2025
ec0988e
feat: add packages to make it compile
OlivierBBB Apr 8, 2025
f308877
ras: labels & renaming
OlivierBBB Apr 8, 2025
db191ae
ras: formatting
OlivierBBB Apr 8, 2025
0200030
ras: counter constant -> counter-constant
OlivierBBB Apr 8, 2025
f7e0b48
ras: \resultColumn{k} macro
OlivierBBB Apr 8, 2025
6aca1ba
feat: further uncommenting _all_spec.tex
OlivierBBB Apr 8, 2025
f95b87f
fix: using \resultColumn{k} + adding underscores (_)
OlivierBBB Apr 8, 2025
8973a2f
ras: formatting + missing underscore (_)
OlivierBBB Apr 8, 2025
cf040c4
ras: using the \rlp{} macro
OlivierBBB Apr 8, 2025
bcd6f17
small fixes
letypequividelespoubelles Apr 24, 2025
784c8fb
Merge branch 'main' into 62-rlp_txn-redesign
letypequividelespoubelles Apr 29, 2025
bf13266
refactor patternv2
letypequividelespoubelles May 6, 2025
1e7e51d
update interface rlp / rlp_utils
letypequividelespoubelles May 6, 2025
eee9b45
perspectivisation of rlp utils
letypequividelespoubelles May 6, 2025
ba6ea80
data pricing rlp utils instruction
letypequividelespoubelles May 6, 2025
99a3c20
ct constancies
letypequividelespoubelles May 6, 2025
2ed1d00
rollback wcp update
letypequividelespoubelles May 6, 2025
df754b6
ras
letypequividelespoubelles May 8, 2025
2a3c396
feat: prove the first byte for DATA_PRICING inst
letypequividelespoubelles May 8, 2025
ab48c18
fix shf lookup
letypequividelespoubelles May 8, 2025
9be1968
feat: shared columns
letypequividelespoubelles May 8, 2025
234f2f8
feat: heartbeat done
letypequividelespoubelles May 9, 2025
38ff260
phase to constraints
letypequividelespoubelles May 9, 2025
21ce48b
feat: r and s phases + fixing integer rlp utils inst (missed case int…
letypequividelespoubelles May 9, 2025
7b71f86
feat phase constraints for integers
letypequividelespoubelles May 9, 2025
50bf5a0
feat y phase
letypequividelespoubelles May 9, 2025
a0f0c74
feat: rlp prefix phase
letypequividelespoubelles May 9, 2025
ac09168
feat: phase beta
letypequividelespoubelles May 12, 2025
711926b
feat: data phase
letypequividelespoubelles May 12, 2025
66113da
update lookup mmio into rlp_txn + hub to mmu inst for copy txcd
letypequividelespoubelles May 12, 2025
cf444db
feat: access list wip
letypequividelespoubelles May 12, 2025
0545605
feat: finish access list + update lookup hub into rlp_txn
letypequividelespoubelles May 13, 2025
616426a
ras: make it compile
OlivierBBB Jun 12, 2025
f463330
ras: adding some notes
OlivierBBB Jun 12, 2025
e4aa235
Merge branch 'main' into 62-rlp_txn-redesign
OlivierBBB Jun 12, 2025
98607fc
ras
OlivierBBB Jun 12, 2025
34266cd
ras: make it compile
OlivierBBB Jun 12, 2025
e305a39
ras: isprefix -> isPrefix
OlivierBBB Jun 12, 2025
d4c4e8a
fix: PHASE of MMU instruction for copying TXCD
OlivierBBB Jun 12, 2025
19b2913
ras: removed obsolete TODO's
OlivierBBB Jun 12, 2025
8bdec57
fix: replaced \absTxNum by \userTransactionNumber in RLP_TXN_v2
OlivierBBB Jun 12, 2025
2ac71ca
ras: make rlp_patterns_v2 compile
OlivierBBB Jun 12, 2025
2186c9a
ras
OlivierBBB Jun 12, 2025
db31c55
review
OlivierBBB Jun 12, 2025
21b3b91
ras
OlivierBBB Jun 12, 2025
4f53fa3
make rlp_utils compile
letypequividelespoubelles Jun 13, 2025
aabdd21
fix: from pricing to count zeros + some bug fixes
letypequividelespoubelles Jun 13, 2025
6db4e78
feat: introduction
OlivierBBB Jun 13, 2025
65139b2
ras: formatting
OlivierBBB Jun 13, 2025
42670d2
feat: review of INTEGER instruction
OlivierBBB Jun 13, 2025
b6d1b0b
fix: reference table target gets a \iomf
OlivierBBB Jun 13, 2025
61a3493
ras: putting instruction descriptions in the relevant section
OlivierBBB Jun 13, 2025
fc289c8
ras
OlivierBBB Jun 13, 2025
b8fa566
Merge branch 'main' into 62-rlp_txn-redesign
OlivierBBB Jun 13, 2025
027f27c
fix: typo
OlivierBBB Jun 14, 2025
ef2b55e
ras: Powers of 256 lua table
OlivierBBB Jun 14, 2025
dd849b5
fix typo in data pricing inst
letypequividelespoubelles Jun 16, 2025
7d5e99b
data priving review
letypequividelespoubelles Jun 16, 2025
4dd7473
ras
letypequividelespoubelles Jun 16, 2025
1db83bd
ras: rename \resultColumn to \outputColumn
OlivierBBB Jun 16, 2025
d18a361
feat: review of DATA_PRICING + bug fix (make sure bytes are bytes)
OlivierBBB Jun 16, 2025
6777c66
fix: typo: < vs ≤ for INTEGER comparison to 128
OlivierBBB Jun 16, 2025
2e2f50d
ras
OlivierBBB Jun 16, 2025
c826034
ras
OlivierBBB Jun 16, 2025
4d5c707
review: BYTE_STRING instruction
OlivierBBB Jun 16, 2025
cbecb1d
ras
OlivierBBB Jun 16, 2025
09aa68b
ras
OlivierBBB Jun 16, 2025
733d288
ras
OlivierBBB Jun 17, 2025
69989a5
ras: using RLPUTILS names in RLPPATTERNS
OlivierBBB Jun 17, 2025
3ceb568
review: stuff ...
OlivierBBB Jun 17, 2025
687428d
ras
OlivierBBB Jun 17, 2025
8617d43
ras: using txn/BLA_BLA names for the TXN perspective
OlivierBBB Jun 17, 2025
784b061
ras: correct transaction-constancy definition
OlivierBBB Jun 17, 2025
47282aa
ras: replace \locTransactionStart with \locIsFirstRowOfTransaction
OlivierBBB Jun 17, 2025
fff1eab
feat: more on transaction type decoding and admissible flags
OlivierBBB Jun 17, 2025
4a6215a
ras
OlivierBBB Jun 17, 2025
1c151bb
feat: more shorthands
OlivierBBB Jun 17, 2025
5ca040e
ras
OlivierBBB Jun 17, 2025
d0d8610
ras
OlivierBBB Jun 17, 2025
af9cd14
fix: always right padd the output from rlp utils
letypequividelespoubelles Jun 18, 2025
b4f2a2a
ras
OlivierBBB Jun 18, 2025
64de2d4
ras
letypequividelespoubelles Jun 19, 2025
f03e6c5
Merge branch '62-rlp_txn-redesign' of github.com:Consensys/linea-spec…
letypequividelespoubelles Jun 24, 2025
1585af5
Merge branch 'main' into 62-rlp_txn-redesign
letypequividelespoubelles Jun 24, 2025
a512643
Merge branch '62-rlp_txn-redesign' of github.com:Consensys/linea-spec…
letypequividelespoubelles Jun 24, 2025
9506ba0
feat: add lookups + made CFI a shared column
letypequividelespoubelles Jun 24, 2025
0a0eb4b
feat: better deal witch chainId and y in beta and y phase + added blo…
letypequividelespoubelles Jun 24, 2025
58efe74
ras
letypequividelespoubelles Jun 24, 2025
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
154 changes: 82 additions & 72 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,79 +9,89 @@ recompile-%: lua_build
buildOnGithub-%: lua_build
cd $* && ../tectonic -X compile _all_$*.tex

alu: view-alu
blake: view-blake_data
block_data: view-block_data
block_hash: view-block_hash
btc: view-btc_data
bin: view-bin
exp: view-exp
euc: view-euc
formal: view-formal
gas: view-gas
hash_data: view-hash_data
hash_info: view-hash_info
hub: view-hub
lex: view-lex
logd_data: view-log_data
logi_info: view-log_info
mmio: view-mmio
modexp: view-modexp_data
mmu: view-mmu
mxp: view-mxp
mxp_v3: view-mxp_v3
oob: view-oob
prc: view-prc
rlp_addr: view-rlp_addr
rlp_txn: view-rlp_txn
rlp_txnrcpt: view-rlp_txnrcpt
rom: view-rom
rom_v3: view-rom_v3
rom_lex: view-rom_lex
shf: view-shf
spec: view-spec
stp: view-stp
trm: view-trm
user_txn_data: view-txn_data_user
syst_txn_data: view-txn_data_system
wcp: view-wcp
alu: view-alu
blake: view-blake_data
block_data: view-block_data
block_hash: view-block_hash
btc: view-btc_data
bin: view-bin
exp: view-exp
euc: view-euc
formal: view-formal
gas: view-gas
hash_data: view-hash_data
hash_info: view-hash_info
hub: view-hub
lex: view-lex
logd_data: view-log_data
logi_info: view-log_info
mmio: view-mmio
modexp: view-modexp_data
mmu: view-mmu
mxp: view-mxp
mxp_v3: view-mxp_v3
oob: view-oob
prc: view-prc
rlp_addr: view-rlp_addr
rlp_patterns: view-rlp_patterns
rlp_patterns_v2: view-rlp_patterns_v2
rlp_txn: view-rlp_txn
rlp_txn_v2: view-rlp_txn_v2
rlp_txnrcpt: view-rlp_txnrcpt
rlp_utils: view-rlp_utils
rom: view-rom
rom_v3: view-rom_v3
rom_lex: view-rom_lex
shf: view-shf
spec: view-spec
stp: view-stp
trm: view-trm
txn_data: view-txn_data
user_txn_data: view-txn_data_user
syst_txn_data: view-txn_data_system
wcp: view-wcp

ralu: recompile-alu
rblake: recompile-blake_data
rblock_data: recompile-block_data
rblock_hash: recompile-block_hash
rbtc: recompile-btc_data
rbin: recompile-bin
rexp: recompile-exp
reuc: recompile-euc
rformal: recompile-formal
rgas: recompile-gas
rhashd: recompile-hash_data
rhashi: recompile-hash_info
rhub: recompile-hub
rlex: recompile-lex
rlogd: recompile-log_data
rlogi: recompile-log_info
rmmio: recompile-mmio
rmodexp: recompile-modexp_data
rmmu: recompile-mmu
rmxp: recompile-mxp
rmxp_v3: recompile-mxp_v3
roob: recompile-oob
rprc: recompile-prc
rrlp_addr: recompile-rlp_addr
rrlp_txn: recompile-rlp_txn
rrlp_txnrcpt: recompile-rlp_txnrcpt
rrom: recompile-rom
rrom_v3: recompile-rom_v3
rrom_lex: recompile-rom_lex
rshf: recompile-shf
rspec: recompile-spec
rstp: recompile-stp
rtrm: recompile-trm
ruser_txn_data: recompile-txn_data_user
rsyst_tnx_data: recompile-txn_data_system
rwcp: recompile-wcp
ralu: recompile-alu
rblake: recompile-blake_data
rblock_data: recompile-block_data
rblock_hash: recompile-block_hash
rbtc: recompile-btc_data
rbin: recompile-bin
rexp: recompile-exp
reuc: recompile-euc
rformal: recompile-formal
rgas: recompile-gas
rhashd: recompile-hash_data
rhashi: recompile-hash_info
rhub: recompile-hub
rlex: recompile-lex
rlogd: recompile-log_data
rlogi: recompile-log_info
rmmio: recompile-mmio
rmodexp: recompile-modexp_data
rmmu: recompile-mmu
rmxp: recompile-mxp
rmxp_v3: recompile-mxp_v3
roob: recompile-oob
rprc: recompile-prc
rrlp_addr: recompile-rlp_addr
rrlp_patterns: recompile-rlp_patterns
rrlp_patterns_v2: recompile-rlp_patterns_v2
rrlp_txn: recompile-rlp_txn
rrlp_txn_v2: recompile-rlp_txn_v2
rrlp_txnrcpt: recompile-rlp_txnrcpt
rrlp_utils: recompile-rlp_utils
rrom: recompile-rom
rrom_v3: recompile-rom_v3
rrom_lex: recompile-rom_lex
rshf: recompile-shf
rspec: recompile-spec
rstp: recompile-stp
rtrm: recompile-trm
rtxn_data: recompile-txn_data
ruser_txn_data: recompile-txn_data_user
rsyst_tnx_data: recompile-txn_data_system
rwcp: recompile-wcp

ospec: buildOnGithub-spec

Expand Down
1 change: 1 addition & 0 deletions hub/_all_hub.tex
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
\usepackage{../pkg/system_txn_data}
\usepackage{../pkg/rlp_addr}
\usepackage{../pkg/rlp_tx}
\usepackage{../pkg/rlp_txn_v2}
\usepackage{../pkg/log_info}
\usepackage{../pkg/nsr_constants}
\usepackage{../pkg/subsubsubsection}
Expand Down
10 changes: 1 addition & 9 deletions hub/lookups/into_log_info.tex
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,5 @@
\end{enumerate}
\end{multicols}
\end{description}
\saNote{} The chosen selector flag thus selects the first ($\tliCounter \equiv 0$) stack row ($\peekStack \equiv 1$) of an unexceptional, unreverted \inst{LOG}-type instruction ($\stackLogFlag \equiv 1$.)

\saNote{}
\ob{TODO: are we getting the \logDataSize{} from the correct stack item ?}

\saNote{}
\ob{TODO: are we getting the right address ? Yes: it's $I_\text{a}$ in the spec, that is $\cnAccountAddress$ for us.}

\saNote{}
\ob{TODO: the \logInfoMod{} expects more data ! Where should we get \absLogNumMax{} from ? What about $\absTxNumMax$ ? The latter is likely available in the \hubMod{} ?}
The chosen selector flag thus selects the first ($\tliCounter \equiv 0$) stack row ($\peekStack \equiv 1$) of an unexceptional, unreverted \inst{LOG}-type instruction ($\stackLogFlag \equiv 1$.)
16 changes: 8 additions & 8 deletions hub/lookups/into_rlp_txn.tex
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@
\col{tgt\_sel} \define
\txRequiresEvmExecution
\cdot \phaseAccessList
\cdot (1 - \isprefix)
\cdot (1 - \isPrefix)
\]
\item[Target columns:] ---
\begin{multicols}{2}
\begin{enumerate}
\item $1$
\item $\absTxNum$
\item $1 - \Depth{2}$
\item $\Depth{2}$
\item $\addr\high$
\item $\addr\low $
\item $\Input{1} \cdot \Depth{2}$
\item $\Input{2} \cdot \Depth{2}$
\item $\userTransactionNumber$
\item $\isAddr$
\item $\isSto$
\item $\locAddressHi$
\item $\locAddressLo$
\item $\inputColumn{1} \cdot (1 - \isPrefix)$
\item $\inputColumn{2} \cdot (1 - \isPrefix)$
\end{enumerate}
\end{multicols}
\end{description}
9 changes: 6 additions & 3 deletions hub/tx_init/rows/misc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
targetId = \locTxInitCallDataContextNumber ,
size = \txCallDataSize _{i + \locTxInitRoffTxn} ,
exoSum = \exoWeightRlpTxn ,
phase = \phaseTransactionCallData ,
phase = \nothing ,
}
\]
where we have set
Expand All @@ -31,10 +31,13 @@
\miscStpFlag _{i + \locTxInitRoffMisc} & = & \gZero & (\trash) \\
\end{array} \right.
\]
\saNote{}
\label{hub: initialization phase: transaction call data copy}
\saNote{} \label{hub: initialization phase: transaction call data copy}
The $\txCopyTxcd$ flag is set in the \userTxnDataMod{} module as the conjunction of a transaction requiring \evm{} execution and being provided with nonempty call data,
see section~(\ref{user txn data: constraints: comparisons}).
The \mmuMod{} instruction serves to transfer the transaction's call data to a fresh new \textsc{ram} segment.
Future \inst{CALLDATACOPY} and \inst{CALLDATALOAD} instructions executed in the root context will extract their data from that ``execution context's \textsc{ram}'', which contains a full copy of the transaction's call data.

\saNote{}
The \mmioMod{} module, which reads data from the \rlpTxnMod{}, does not require a ``phase'' for this operation.
The reason for this is that the \exoSum{}, which in this case is $\exoWeightRlpTxn{}$, is enough to channel the data to the right place.
See section~(\ref{mmio: lookups: txcd}).
6 changes: 3 additions & 3 deletions log_info/verticalization.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
\[
\iffalse
\sum_{k=1}^{5} k \cdot \phase{k}_{j}
\subPhaseIdWeightIsPrefix \cdot \isprefix_{j}
\subPhaseIdWeightisPrefix \cdot \isPrefix_{j}
\subPhaseIdWeightIsOt \cdot \isOt_{j}
\subPhaseIdWeightIsOd \cdot \isOd_{j}
\subPhaseIdWeightDepth \cdot \Depth1_{j}
Expand Down Expand Up @@ -75,9 +75,9 @@
The numeric constants above are obtained as
\[
\begin{cases}
\subPhaseIdDataSize & = 5 + \subPhaseIdWeightIsPrefix + \subPhaseIdWeightIsOd + \subPhaseIdWeightDepth \\
\subPhaseIdDataSize & = 5 + \subPhaseIdWeightisPrefix + \subPhaseIdWeightIsOd + \subPhaseIdWeightDepth \\
\subPhaseIdAddr & = 5 + \subPhaseIdWeightDepth \\
\subPhaseIdTopicBase & = 5 + \subPhaseIdWeightIsOt + \subPhaseIdWeightDepth \\
\subPhaseIdNoLogEntry & = 5 + \subPhaseIdWeightIsPrefix \\
\subPhaseIdNoLogEntry & = 5 + \subPhaseIdWeightisPrefix \\
\end{cases}
\]
19 changes: 9 additions & 10 deletions mmio/lookups/mmio_into_txcd.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,21 @@
\begin{enumerate}
\item $\idOne_{i}$
\item $1$
\item $\Phase_{i}$
\item $1$
\item $0$
\item $\indexX_{i}$
\item $\limb_{i}$
% \item $\totalSize_{i}$
% \item $\successBit_{i}$
\end{enumerate}
\end{multicols}
\item[\underline{Target columns:}] from the \rlpTxnMod{} module:
\begin{multicols}{3}
\begin{enumerate}
\item $\absTxNum_{j}$
\item $\lc_{j}$
\item $\Phase_{j}$
\item $\indexData_{j}$
\item $\limb_{j}$
% \item $\outgoingDataSymb\low_{j}$
\item $\absTxNum _{j}$
\item $\lc _{j}$
\item $\phaseData _{j}$
\item $\isPrefix _{j}$
\item $\ct _{j}$
\item $\limb _{j}$
\end{enumerate}
\end{multicols}
\end{description}
\end{description}
6 changes: 3 additions & 3 deletions mmio/patterns/partial_duo.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
%\begin{multicols}{2}
\begin{itemize}
\item binary columns $\bit{1}$, $\bit{2}$, $\bit{3}$, $\bit{4}$, $\bit{5}$
\item counter constant columns \source{}, \targetOne{}, \targetTwo{}, $\targetOne{}\new{}$, $\targetTwo{}\new{}$
\item counter-constant columns \source{}, \targetOne{}, \targetTwo{}, $\targetOne{}\new{}$, $\targetTwo{}\new{}$
\item byte columns \source{}\byte{}, \targetOne{}\byte{} and \targetTwo{}\byte{},
\item counter constant columns \source{}\mark{} and \targetOne{}\mark{},
\item a counter constant column \size{},
\item counter-constant columns \source{}\mark{} and \targetOne{}\mark{},
\item a counter-constant column \size{},
\item ``accumulator'' columns \acc{1}, \acc{2}, \acc{3}, \acc{4};
\item a ``power''column \col{P},
\item a ``counter column'' \ct{}.
Expand Down
6 changes: 3 additions & 3 deletions mmio/patterns/partial_mono.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
%\begin{multicols}{2}
\begin{itemize}
\item binary columns $\bit{1}$, $\bit{2}$, $\bit{3}$, $\bit{4}$,
\item counter constant columns \source{}, \target{} and $\target{}\new$,
\item counter-constant columns \source{}, \target{} and $\target{}\new$,
\item byte columns \source{}\byte{} and \target{}\byte{},
\item counter constant columns \source{}\mark{} and \target{}\mark{},
\item a counter constant column \size{},
\item counter-constant columns \source{}\mark{} and \target{}\mark{},
\item a counter-constant column \size{},
\item ``accumulator'' columns \acc{1}, \acc{2},
\item a ``powers'' column $\col{P}$,
\item a ``counter column'' \ct{}.
Expand Down
8 changes: 4 additions & 4 deletions mmio/patterns/prefix_extraction.tex
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Suppose the following are given:
\begin{enumerate}
\item counter constant columns \source{} and \target{},
\item counter-constant columns \source{} and \target{},
\item byte colunms \source\byte{} and \target\byte{},
\item a counter constant column \source\mark{},
\item a counter constant column \size{},
\item a counter-constant column \source\mark{},
\item a counter-constant column \size{},
\item binary columns $\bit{1}$ and $\bit{2}$,
\item an accumulator column \ACC{};
\item a column \col{P};
\end{enumerate}
The interpretation is the following

Actually this is already present in $\onePartialToOne$ \dots{}
Actually this is already present in $\onePartialToOne$ \dots{}
2 changes: 1 addition & 1 deletion mmu/lua/interface.lua.tex
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
| | ECPAIRING_transfer_res | 1 + HUB_ | 1 + HUB_ | | | | | 32 | | | | | | Φ_ecpairing_res | ⟦1 << ecdata⟧ |
| | BLAKE2f_transfer_res | 1 + HUB_ | 1 + HUB_ | | | | | 64 | | | | | | Φ_blake_res | ⟦1 << blake⟧ |
| | | | | | | | | | | | | | | | |
| | TRANSACTION_CALL_DATA_transfer | ABS_TX_NUM | HUB_ | | | | | txcd_size | | | | | | Φ_txcd | ⟦1 << rlp_txn⟧ |
| | TRANSACTION_CALL_DATA_transfer | ABS_TX_NUM | HUB_ | | | | | txcd_size | | | | | | | ⟦1 << rlp_txn⟧ |
|--------------------------------------+----------------------------------+--------------+-------------+-----------+------------+-------------------+------------+---------------+---------+---------------+------------------------+--------------------+--------------------+------------------+----------------------------|
| ⟦MMU_INST_ramToRamSansPadding⟧ | REVERT | CN | CALLER_CN | | | µ[0]_lo | | µ[1]_lo | r@o | r@c | | | | | |
| | RETURN_fromMessageCall | CN | CALLER_CN | | | µ[0]_lo | | µ[1]_lo | r@o | r@c | | | | | |
Expand Down
3 changes: 2 additions & 1 deletion pkg/column_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@
"swap": "swap",
"invalid": "invalid",
# rlp modules
"rlpAddr": "address Rlp", # I'm taking out the d for readability
"rlpAddr": "address Rlp",
"rlpTxn": "transaction Rlp",
"rlpTxnRcpt": "transaction Receipt Rlp",
"rlpUtils": "rlp Utils",
# instruction decoder
"id": "instruction Decoder",
}
Expand Down
24 changes: 13 additions & 11 deletions pkg/common.sty
Original file line number Diff line number Diff line change
Expand Up @@ -209,16 +209,17 @@
\newcommand{\markAsExtractedFromEcrecover} {\colorbox{solarized-yellow} {\textbf{~~Extracted from ECRECOVER~~}}}


% \newcommand{\define} {\triangleq}
\newcommand{\define} {~\overset{\redm{\mathrm{def}}}\equiv~}
\newcommand{\nothing} {\graym{\varnothing}}
\newcommand{\alreadySet} {\gray{\texttt{<already set>}}}
\newcommand{\leftUndefined} {\gray{\texttt{<undefined>}}}
\newcommand{\relevantValue} {\texttt{<rel. val.>}}
\newcommand{\valueToBeSet} {\textcolor{solarized-green}{\texttt{<to be set>}}}
\newcommand{\valueUnknown} {\gray{\texttt{<unknown>}}}
\newcommand{\toBeSet} {\orange{TO BE SET}}
\newcommand{\justifiedByExternalCircuit}{\texttt{<justified by external circuit>}}
% \newcommand{\define} {\triangleq}
\newcommand{\define} {~\overset{\redm{\mathrm{def}}}\equiv~}
\newcommand{\nothing} {\graym{\varnothing}}
\newcommand{\alreadySet} {\gray{\texttt{<already set>}}}
\newcommand{\leftUndefined} {\gray{\texttt{<undefined>}}}
\newcommand{\relevantValue} {\texttt{<rel. val.>}}
\newcommand{\valueToBeSet} {\textcolor{solarized-green}{\texttt{<to be set>}}}
\newcommand{\valueUnknown} {\gray{\texttt{<unknown>}}}
\newcommand{\toBeSet} {\orange{TO BE SET}}
\newcommand{\implicitlySet} {\texttt{\yellow{<implicitly set>}}}
\newcommand{\justifiedByExternalCircuit} {\texttt{<justified by external circuit>}}

\newcommand{\lispNone} {--- {\textcolor{draculaorange} {\texttt{Lisp NONE}}}}
\newcommand{\lispDone} {--- \colorbox{Green} {\textcolor{Yellow} {\texttt{Lisp DONE}}}}
Expand All @@ -234,7 +235,8 @@

\newcommand{\zkEvm} {\textsc{zk-evm}}
\newcommand{\evm} {\textsc{evm}}
\newcommand{\linea} {\textsc{linea}}
\newcommand{\linea} {\textsc{Linea}}
\newcommand{\ethereum} {\textsc{Ethereum}}
\newcommand{\constraintAst} {\textsc{ast}}

\newcommand{\ccc} {{\color{solarized-yellow}\col{c.c.c.}}} % counter-constant column
Expand Down
Loading