-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
392 lines (378 loc) Β· 13.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
<!DOCTYPE HTML>
<!--
Stellar by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>EOF - EVM Object Format</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
</head>
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header" class="alt">
<span class="logo"><img src="images/eof.png" alt="" /></span>
</header>
<!-- Nav -->
<nav id="nav">
<ul>
<li><a href="#intro" class="active">Introduction</a></li>
<li><a href="#first">Motivation</a></li>
<li><a href="#second">Implementations</a></li>
<li><a href="#cta">Learn More</a></li>
<li><a href="#resources">Resources</a></li>
</ul>
</nav>
<!-- Main -->
<div id="main">
<!-- Introduction -->
<section id="intro" class="main">
<div class="spotlight">
<div class="content">
<p>The EVM Object Format (EOF) is an important upgrade for the Ethereum Virtual Machine, comprising <a href="https://eips.ethereum.org/EIPS/eip-7692">a series of
EIPs</a>. It introduces an extensible and versioned container format for EVM bytecode with a once-off
validation at deploy time, focusing on separating code and data, enhancing code validation, and improving
overall efficiency. </p>
</div>
<span class="image"><img src="images/eof_icon.jpg" alt="" /></span>
</div>
</section>
<!-- First Section -->
<section id="first" class="main special">
<header class="major">
<h2>Motivation</h2>
</header>
<ul class="features">
<li>
<h3>Code validation at deploy time</h3>
<p>Instead of having the interpreter validate instructions repeatedly at runtime, EVM bytecode is validated only once during contract creation, providing a faster, cheaper, and more secure execution.</p>
</li>
<li>
<h3>Code-data separation</h3>
<p>EOF separates EVM bytecode from data, making it easier for static analysis tools, formal verification, and L2s to process executable code.</p>
</li>
<li>
<h3>Removal of dynamic JUMPs</h3>
<p>EOF bytecode uses only <a href="https://eips.ethereum.org/EIPS/eip-4200">static relative jumps</a>, which is very desirable for tools involving static analysis, formal verification, compilation to native code, zero-knowledge circuits, as well as L2 EVMs.</p>
</li>
<li>
<h3>Code and gas non-observability</h3>
<p>Lack of code and gas observability is a <a href="https://ethereum-magicians.org/t/eof-proposal-ban-code-introspection-of-eof-accounts/12113">long-sought trait of the EVM</a> allowing a more maintainable and upgradeable protocol.</p>
</li>
<li>
<h3>Removal of JUMPDEST-analysis</h3>
<p>By obsoleting JUMPDEST-analysis done at contract runtime, EOF simplifies reasoning about EVM bytecode, as well as other changes, like <a href="https://eips.ethereum.org/EIPS/eip-6690">EVMMAX</a>, <a href="https://verkle.info">Verkle</a> or bytecode size increase.</p>
</li>
<li>
<h3>First-class support for EVM functions</h3>
<p><a href="https://eips.ethereum.org/EIPS/eip-4750">Functions in EOF</a> are a subroutine mechanism not relying on dynamic jumps. It improves analysis opportunities by encoding the number of inputs and outputs for each given function, and isolating the stack of each function.</p>
</li>
<li>
<h3>Code versioning</h3>
<p>Introducing versioning will make backwards-incompatible upgrades much easier. Backwards compatible changes can be done without bumping the EOF version, even if new instructions are introduced.</p>
</li>
<li>
<h3>Addressing EVM pain points</h3>
<p>EOF proposals address many long-standing issues and quirks of the EVM, streamlining compiler development, providing new compiler optimization opportunities, and ultimately improving developer experience. An example of this are the new improved stack management instructions.</p>
</li>
</ul>
</section>
<!-- Second Section -->
<section id="second" class="main special">
<header class="major">
<h2>Implementations</h2>
<p>EOF has been implemented in the following clients and projects.</p>
</header>
<div class="statistics" style="margin: 0px auto; width: 70%; font-size: 85%">
<!-- **NOTE**: How to obtain the HTML table? -->
<!-- 1. Copy source (including reference links) from https://github.com/ipsilon/eof/blob/main/spec/implementation_matrix.md -->
<!-- 2. Paste into https://parsedown.org/demo, convert to HTML -->
<!-- 3. Paste result below inside the div tag -->
<div class="table-wrapper">
<table>
<thead>
<tr>
<th></th>
<th><a href="https://eips.ethereum.org/EIPS/eip-3540">3540</a></th>
<th><a href="https://eips.ethereum.org/EIPS/eip-3670">3670</a></th>
<th><a href="https://eips.ethereum.org/EIPS/eip-4200">4200</a></th>
<th><a href="https://eips.ethereum.org/EIPS/eip-4750">4750</a></th>
<th><a href="https://eips.ethereum.org/EIPS/eip-5450">5450</a></th>
<th><a href="https://eips.ethereum.org/EIPS/eip-6206">6206</a></th>
<th><a href="https://eips.ethereum.org/EIPS/eip-7480">7480</a></th>
<th><a href="https://eips.ethereum.org/EIPS/eip-7069">7069</a></th>
<th><a href="https://eips.ethereum.org/EIPS/eip-7620">7620</a></th>
<th><a href="https://eips.ethereum.org/EIPS/eip-7698">7698</a></th>
<th><a href="https://eips.ethereum.org/EIPS/eip-663">663</a></th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/ipsilon/eof/blob/main/spec/eof.md"><strong>Megaspec</strong></a></td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
</tr>
<tr>
<td><strong>EIP</strong></td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
</tr>
<tr>
<td><strong>testing</strong></td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td></td>
<td>π</td>
</tr>
<tr>
<td><a href="https://github.com/hyperledger/besu/tree/mega-eof">besu</a></td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
</tr>
<tr>
<td>erigon</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td></td>
<td></td>
<td></td>
<td>π§</td>
</tr>
<tr>
<td><a href="https://github.com/ethereumjs/ethereumjs-monorepo/pull/3440">ethereumjs</a></td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
</tr>
<tr>
<td><a href="https://github.com/ethereum/evmone">evmone</a></td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
</tr>
<tr>
<td><a href="https://github.com/ethereum/go-ethereum/pull/29518">geth</a></td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td>π§</td>
<td></td>
<td>π§</td>
</tr>
<tr>
<td><a href="https://github.com/NethermindEth/nethermind/commits/feature/evm/eof">nethermind</a></td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
</tr>
<tr>
<td>revm</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
</tr>
<tr>
<td><a href="https://github.com/ipsilon/solidity/tree/eof-functions-rebased/libsolidity">solidity POC</a></td>
<td>π</td>
<td>N/A</td>
<td>π</td>
<td>π</td>
<td>N/A</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/vyperlang/vyper/pull/3457">vyper</a></td>
<td>π§</td>
<td>N/A</td>
<td>π§</td>
<td>π§</td>
<td>N/A</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/ethereum/execution-specs/pull/972">EELS</a></td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
<td>π</td>
</tr>
</tbody>
</table>
</div>
</div>
<ul class="statistics">
<li class="style3">
<span class="icon solid fa-code-branch"></span>
<strong>EOF Tests</strong>
<div><a href="https://github.com/ethereum/tests/tree/develop/src/EOFTestsFiller">- Validation Tests</a></div>
<div><a href="https://ethereum.github.io/execution-spec-tests/main/tests/osaka/eip7692_eof_v1/">- Execution Spec Tests</a></div>
</li>
</ul>
</section>
<section id="cta" class="main special">
<header class="major">
<h2>Learn More</h2>
</header>
<ul class="statistics">
<li class="style1">
<span class="icon solid fa-book"></span>
<strong><a href="https://github.com/ipsilon/eof/blob/main/spec/eof.md">EOF Specification</a></strong>
</li>
<li class="style2">
<span class="icon solid fa-file"></span>
<strong><a href="https://eips.ethereum.org/EIPS/eip-7692">EOF EIPs</a></strong>
</li>
<li class="style3">
<span class="icon solid fa-play"></span>
<strong><a href="https://github.com/ethereum/pm/issues?q=is%3Aissue+%22EOF+Implementers+Call%22">EOF Implementers Calls</a></strong>
</li>
<li class="style4">
<span class="icon solid fa-question"></span>
<strong><a href="https://twitter.com/teamipsilon">Ask Questions</a></strong>
</li>
</ul>
</section>
<!-- Resources -->
<section id="resources" class="main special">
<header class="major">
<h2>Resources</h2>
<p><a href="https://eof.wtf/">eof.wtf</a>: EOF Parser and Visualizer</p>
<p><a href="https://www.evm.codes/?fork=EOF">evm.codes</a>: EVM Opcode Reference (Deprecated opcodes have yet to be removed)</p>
<p><a href="https://x.com/rakitadragan/status/1825174503548178843">EOF taxonomy infographic</a> by Dragan Rakita</p>
<h2>Talks/Videos</h2>
<p><a href="https://www.youtube.com/watch?v=3-bAWOBemyc">EOF Explanation</a> by Uttam Singh<p>
<p><a href="https://www.youtube.com/watch?v=X2mlptWzphc">EOF - History and motivation</a> by Danno Ferrin (Devcon 7)</p>
<p><a href="https://www.youtube.com/watch?v=WKVgCoNp39g">EOF - Managing the bytecode chaos</a> by Alex Murashkin (Devcon 7)</p>
<p><a href="https://www.youtube.com/watch?v=80szRrNW0MM">Zoom in on EOF stack validation</a> by Andrei Maiboroda (Devcon 7)</p>
<p><a href="https://www.youtube.com/watch?v=NeKMerFPJoM">The Future of EOF: Layer 1, Layer 2, and Beyond!</a> by Danno Ferrin (Devcon 7)</p>
</header>
</section>
</div>
<!-- Footer -->
<footer id="footer">
<section>
<h2>Ipsilon</h2>
<ul class="actions">
<li><a href="https://ipsilon.xyz" class="button">Learn More</a></li>
</ul>
</section>
<section>
<p>EOF Object Format is part of Ipsilon's projects. To learn more about other EVM related projects visit <a href="https://ipsilon.xyz">ipsilon.xyz</a></p>
<ul class="icons">
<li><a href="https://twitter.com/teamipsilon" class="icon brands fa-twitter alt"><span class="label">Twitter</span></a></li>
<li><a href="https://github.com/ipsilon/eof" class="icon brands fa-github alt"><span class="label">GitHub</span></a></li>
<li><a href="https://www.youtube.com/playlist?list=PLJqWcTqh_zKHu7Z91YVYWy_PSmOc_66-F" class="icon brands fa-youtube alt"><span class="label">YouTube</span></a></li>
</ul>
</section>
<p class="copyright">© 2023 - Ipsilon Team. Design: <a href="https://html5up.net">HTML5 UP</a>.</p>
</footer>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>