Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Unofficial Scroll ZK EVM Code Review
Search
Cheng JIANG
September 15, 2023
Research
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Unofficial Scroll ZK EVM Code Review
Cheng JIANG
September 15, 2023
More Decks by Cheng JIANG
See All by Cheng JIANG
XCM_V2概览与去中心化的Liquid_Staking方案.pdf
alexcj96
0
120
Dive into Scroll ZkEVM
alexcj96
0
150
Other Decks in Research
See All in Research
OWASP AISVS - C7
shiell
2
850
[IEICE-Soceity-Conf2026] セマンティック通信を見据えたマルチスケールセンシングと 学習の融合によるデジタルツイン基盤 / Digital Twin Infrastructure via the Fusion of Multi-Scale Sensing and Learning toward Semantic Communications
pman0214
0
130
進化?迷走?CasualConc ファミリーアプリの現在地 @ 英語コーパス学会 2026
casualconc
0
150
[UAI2026, Tutorial Talk] Tensor Networks for Density Estimation: The merits of low-rank structures, tractable inference, and uncertainty quantification
gkazunii
0
110
医療LLMの現在地〜最新研究から社会実装までを考える〜
kento1109
1
1.9k
【中間報告】国会議員の立法・政策実務を支える環境を巡る現状と課題
polipoli
0
860
Détecter les vulnérabilités dans un environnement souverain
hellosct1
0
120
Prithvi-EO-2.0
satai
3
110
幾何学的深層学習入門 ~3次元構造と対称性を学習するニューラルネットワーク~
taniai
2
910
Les émissions de méthane entérique en élevage laitier : Enjeux et travaux menés en Afrique de l’Ouest et en France
institutdelelevage
PRO
0
140
論文紹介:Doc-to-LoRA: Learning to Instantly Internalize Contexts
yukako_nakano
0
220
最先端NLP勉強会2026 論文紹介:Reasoning with Sampling: Your Base Model is Smarter Than You Think (ICLR 2026 paper)
kogoro
4
920
Featured
See All Featured
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
570
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
Balancing Empowerment & Direction
lara
6
1.3k
BBQ
matthewcrist
90
10k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
The untapped power of vector embeddings
frankvandijk
2
2k
Designing for Performance
lara
612
70k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
590
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
390
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
590
Exploring anti-patterns in Rails
aemeredith
4
550
Transcript
Unofficial Scroll ZK EVM Code Review https://linktr.ee/alexcj96
Summary - Why ZK EVM works? - Architecture - Tech
stack comparaison - Arithmetization - Trace generation - Gate configuration - Circuit tools - Some opcode gadgets - Public input circuit - Synthesize - Combining with halo2 - Observation
Why ZK EVM works? ❖ EVM is a State Machine
❖ Public-key cryptography ➢ Verify txs all represent users' intention ❖ Blockchain consensus ➢ Verifier ➢ Previous state root ❖ MPT ➢ Verify initial state ➢ Verify new root ❖ ZK ➢ Succinctness ➢ Lookup Arguments ❖ Ethereum as a DA Layer
Architecture
Tech stack comparaison
Arithmetization
Trace generation - flow (scroll has simplified this)
Trace generation - types (simplified)
Gate configuration - flow
Gate configuration - gadgets Add cb constraints etc
Gate configuration - lookup
Circuit tools - cell manager
Circuit tools - constraint builder
Circuit tools - constraint builder
Circuit tools - utils
Some opcode gadgets - AddSub
Some opcode gadgets - ReturnRevert (simplified)
Public input circuit
Public input circuit
Synthesize
Combining with halo2
Combining with halo2
Observation - Scroll doesn’t support self destruct EVM opcode -
Scroll’s MPT tree uses poseidon circuit - Scroll uses chain_id and block_number to calculate block_hash!!! - Scroll still uses SuperCircuit which is very zk-unfriendly - Don’t read PSE’s code, it’s not production ready!!! - …
Thanks!