diff --git a/docs/static/assets/attack.png b/docs/static/assets/attack.png new file mode 100644 index 000000000..9857ecdbc Binary files /dev/null and b/docs/static/assets/attack.png differ diff --git a/docs/static/assets/batch-deriv-chain.svg b/docs/static/assets/batch-deriv-chain.svg new file mode 100644 index 000000000..52426d0bc --- /dev/null +++ b/docs/static/assets/batch-deriv-chain.svg @@ -0,0 +1,839 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100 + + + 100 + + + + + + + + + + + + 102 + + + 102 + + + + + + + + + + + + 101 + + + 101 + + + + + + + + + + + + 3 + + + 3 + + + + + + + + + + + + 4 + + + 4 + + + + + + + + + + + + 5 + + + 5 + + + + + + + + + + + + 6 + + + 6 + + + + + + + + + + + + 7 + + + 7 + + + + + + + + + + + + 8 + + + 8 + + + + + + + + + + + + + + + Compressed & encoded batch data + + + Compressed & encoded batch data + + + + + + + + + + A0 + + + A0 + + + + + + + + + B0 + + + B0 + + + + + + + + + B1 + + + B1 + + + + + + + + + + + + + 9 + + + 9 + + + + + + + + + + + + 10 + + + 10 + + + + + + + + + + + + 11 + + + 11 + + + + + + + + + + + + + + + + + A1 + + + A1 + + + + + + + + + B2 + + + B2 + + + + + + + + + + + + + + + + + + + + + + L1 Transactions, ~128 KB each + + + L1 Transactions,... + + + + + + + + + Channels,with timeout + + + Channels,... + + + + + + + + + Batches,1 batch = 1 L2 block tx list + + + Batches,... + + + + + + + + + L2 Blocks(a.k.a. execution payloads) + + + L2 Blocks... + + + + + + + + + Channel A, Frame 0 + + + Channel A, Frame 0 + + + + + + + + + Channel A, Frame 1 + + + Channel A, Frame 1 + + + + + + + + + Channel B, Frame 0 + + + Channel B,... + + + + + + + + + Channel B, Frame 1 + + + Channel B, Frame 1 + + + + + + + + + Channel B, Frame 2 + + + Channel B, Frame 2 + + + + + + + + + Channel C, etc... + + + Channel C, etc... + + + + + + + + + L1 Blocks,These may not be asfrequent/consistent as L2 blocks. + + + L1 Blocks,... + + + + + + + + + Actual inclusion on L1:channels are validwithin a timeout + + + Actual inclusion on L1:... + + + + + + + + + Channel B was seen first,and will be decoded into batches first. + + + Channel B was seen first,... + + + + + + + + + + + + + + + + + + Batches can be bufferedfor up to a full sequencing windowworth of L1 blocksto get the L2 ordering back. + + + Batches can be buffered... + + + + + + + + + Time + + + Time + + + + + + + + + + older L2 data + + + older L2 data + + + + + + + + + B1 + + + B1 + + + + + + + + + B0 + + + B0 + + + + + + + + + A1 + + + A1 + + + + + + + + + + B2 + + + B2 + + + + + + + + + A0 + + + A0 + + + + + + + + + 100-0 + + + 100-0 + + + + + + + + + 100-1 + + + 100-1 + + + + + + + + + 100-2 + + + 100-2 + + + + + + + + + 100-3 + + + 100-3 + + + + + + + + + 100-4 + + + 100-4 + + + + + + + + + 101-0 + + + 101-0 + + + + + + + + + 99-5 + + + 99-5 + + + + + + + + + 99-4 + + + 99-4 + + + + + + + + + 99-3 + + + 99-3 + + + + + + + + + 99-2 + + + 99-2 + + + + + + + + + + + + 99 + + + 99 + + + + + + + + + Each L2 block has a tx with infoabout the "origin" L1 block + + + Each L2 block has a tx with info... + + + + + + + + + The "sequence number" helps differentiate between L2 blocks with the same origin. + + + The "sequence number"... + + + + + + + + + deposit + + + deposit + + + + + + + + + deposit + + + deposit + + + + + + + + + Deposits are L1 log events,parsed from EVM receipts + + + Deposits are L1 log events,... + + + + + + + + + deposit + + + deposit + + + + + + + + + deposit + + + deposit + + + + + + + + + Deposits get includedthe first L2 block thatadopts the L1 origin thedeposits were made in. + + + Deposits get included... + + + + + + + + + Security types on L2:- "unsafe": not submitted on L1- "safe": is confirmed on L1- "finalized": fully derived from finalized L1 data + + + Security types on L2:... + + + + + + + + + Security types on L1:- "unsafe": very new- "safe": decent attestation ratio- "finalized": with FFG finality gadget + + + Security types on L1:... + + + + + Text is not SVG - cannot display + + diff --git a/docs/static/assets/defend.png b/docs/static/assets/defend.png new file mode 100644 index 000000000..9909ed4ec Binary files /dev/null and b/docs/static/assets/defend.png differ diff --git a/docs/static/assets/fault-proof.svg b/docs/static/assets/fault-proof.svg new file mode 100644 index 000000000..51a998145 --- /dev/null +++ b/docs/static/assets/fault-proof.svg @@ -0,0 +1,4 @@ + + + +L2 OracleL2 OracleL2 Engine APIL2 Engine APIL2 OracleEngineL2 OracleEngineOracleBackedL2ChainOracleBackedL2ChainL2 pre-imagefetcherL2 pre-image...Main configuration: chain and rollup configsMain configuration:...Preimage KV StorePreimage KV StoreL1 OracleEthClientL1 OracleEthClientprologue:dispute andL1 lookupprologue:...Pre-image OracleClientPre-image Oracle...L1 OracleL1 Oracleepilogue:output root construction& claim checkepilogue:...Program Client:- stateless- no temp errors- no environment access- onchainProgram Client:...Program Host / VM:- stateful- pre-image store on disk- offchainProgram Host / VM:...execution traceexecution tracePre-image HintWriterPre-image Hint...derivation loopderivation loopPre-image HintReaderPre-image Hint...Pre-image OracleServerPre-image Oracle...Program tools:- pre-image fetching- retry on fetch errorsProgram tools:...L1 pre-imagefetcherL1 pre-image...Pre-image hint routerPre-image hint routerNo-op when onchain / readonlyNo-op when onchain / readon...Text is not SVG - cannot display \ No newline at end of file diff --git a/docs/static/assets/legacy-l2oo-list.png b/docs/static/assets/legacy-l2oo-list.png new file mode 100644 index 000000000..0c18608a9 Binary files /dev/null and b/docs/static/assets/legacy-l2oo-list.png differ diff --git a/docs/static/assets/ob-tree.png b/docs/static/assets/ob-tree.png new file mode 100644 index 000000000..05317f63c Binary files /dev/null and b/docs/static/assets/ob-tree.png differ diff --git a/docs/static/assets/valid-moves.png b/docs/static/assets/valid-moves.png new file mode 100644 index 000000000..da9d43465 Binary files /dev/null and b/docs/static/assets/valid-moves.png differ