Commit 8094c45
authored
feat(eip7702): Impl newest version of EIP (bluealloy#1695)
* latest eip7702 wip
* add code loading handler
* WIP adding is_delegate_cold flag
* feat: add StateLoad and Eip7702CodeLoad
* feat: add gas accounting among other things
* clippy,fmt, op test
* path to latest alloy-eips
* comment eip7702 decode tests
* Eip7702 format starts with 0xEF0100
* typo
* fix(eip7702): fix empty or eip7702 code check
* Type Eip7702s to Eip7702
* Corrent comments
* switch new and new_raw Eip7702Bytecode
* propagate last commit
* nit: rename fn
* fix(eip7702): set delegated code on call (bluealloy#1706)
* type change, return eip7702 raw on Bytecode::bytecode
* eip7702 delegation test
* Cleanup, refactor sstore gas calc
* doc
* chore: add AuthList json format
* fix initial eip7702 gas, fix eip7702 refund on revert
* small refactor
* fix refund cnt
* error handling, EIP-3607 fix, wip on auth validity
* add auth validity check, fix EIP-3607 fix
* switch tests
* missing comment
* fix tests
* rm println
* remove skip of required fields
* docs, test meta dat1 parent 0ae01d5 commit 8094c45
File tree
127 files changed
+448801
-3837
lines changed- bins/revme/src/cmd
- statetest/models
- crates
- interpreter/src
- gas
- host
- instructions
- contract
- interpreter
- primitives/src
- bytecode
- eip7702
- revm
- benches
- src
- context
- handler
- handle_types
- mainnet
- optimism
- documentation/src/crates/revm
- tests/prague_suite
- meta_prague
- state_tests/prague
- eip2537_bls_12_381_precompiles
- bls12_g1add
- bls12_g1msm
- bls12_g1mul
- bls12_g2add
- bls12_g2msm
- bls12_g2mul
- bls12_map_fp2_to_g2
- bls12_map_fp_to_g1
- bls12_pairing
- bls12_precompiles_before_fork
- bls12_variable_length_input_contracts
- eip7702_eoa_code_tx/eoa_code_txs
- eip7702_set_code_tx
- gas
- set_code_txs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
127 files changed
+448801
-3837
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 130 | + | |
| 131 | + | |
134 | 132 | | |
135 | 133 | | |
136 | 134 | | |
137 | 135 | | |
138 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
139 | 149 | | |
140 | 150 | | |
141 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
5 | | - | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | | - | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | | - | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
38 | | - | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | | - | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
45 | | - | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
51 | | - | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
62 | | - | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
126 | | - | |
| 128 | + | |
127 | 129 | | |
128 | | - | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| |||
187 | 189 | | |
188 | 190 | | |
189 | 191 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 192 | + | |
198 | 193 | | |
199 | 194 | | |
200 | 195 | | |
201 | 196 | | |
202 | 197 | | |
203 | 198 | | |
204 | 199 | | |
205 | | - | |
206 | | - | |
207 | | - | |
| 200 | + | |
208 | 201 | | |
209 | 202 | | |
210 | 203 | | |
| |||
213 | 206 | | |
214 | 207 | | |
215 | 208 | | |
216 | | - | |
| 209 | + | |
217 | 210 | | |
218 | 211 | | |
219 | 212 | | |
220 | | - | |
| 213 | + | |
221 | 214 | | |
222 | 215 | | |
223 | 216 | | |
224 | 217 | | |
225 | 218 | | |
226 | 219 | | |
227 | | - | |
228 | | - | |
229 | | - | |
| 220 | + | |
230 | 221 | | |
231 | | - | |
| 222 | + | |
232 | 223 | | |
233 | | - | |
| 224 | + | |
234 | 225 | | |
235 | | - | |
| 226 | + | |
236 | 227 | | |
237 | 228 | | |
238 | 229 | | |
| |||
241 | 232 | | |
242 | 233 | | |
243 | 234 | | |
244 | | - | |
245 | | - | |
| 235 | + | |
| 236 | + | |
246 | 237 | | |
247 | 238 | | |
248 | 239 | | |
| |||
251 | 242 | | |
252 | 243 | | |
253 | 244 | | |
254 | | - | |
| 245 | + | |
255 | 246 | | |
256 | 247 | | |
257 | | - | |
| 248 | + | |
258 | 249 | | |
259 | | - | |
| 250 | + | |
260 | 251 | | |
261 | 252 | | |
262 | 253 | | |
| |||
288 | 279 | | |
289 | 280 | | |
290 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
291 | 295 | | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
| 296 | + | |
298 | 297 | | |
299 | 298 | | |
300 | | - | |
| 299 | + | |
301 | 300 | | |
302 | 301 | | |
303 | 302 | | |
| |||
311 | 310 | | |
312 | 311 | | |
313 | 312 | | |
314 | | - | |
| 313 | + | |
315 | 314 | | |
316 | 315 | | |
317 | 316 | | |
| |||
336 | 335 | | |
337 | 336 | | |
338 | 337 | | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
339 | 350 | | |
340 | 351 | | |
341 | 352 | | |
| |||
400 | 411 | | |
401 | 412 | | |
402 | 413 | | |
403 | | - | |
| 414 | + | |
404 | 415 | | |
405 | 416 | | |
406 | 417 | | |
| |||
0 commit comments