Commit cb4ccde
feat(consume): add
* fix(exceptions): UndefinedException return on new
* feat(rpc,plugins/consume): Support exception mapper
* fix(exceptions): Allow undefined mapper
* feat(plugins/consume): Add more mappers
* fix(logging): don't use newlines within log messages
* refactor(exceptions,specs): ExceptionWithMessage contains a list
* new(exceptions): Add `INVALID_BLOCK_HASH` exception
* feat(clis): Add ethjs exceptions
* feat(clis): Add geth exceptions
* feat(plugins/consume): Add besu exceptions
* feat(plugins/consume): Add nethermind exceptions
* feat(plugins/consume): Add reth exceptions
* feat(consume): add `--strict-exception-matching` parameter
* more reth exceptions
* refactor mappers
* add ethjs exception
* fix(tests): EIP-7685: Add expected exception to `test_invalid_multi_type_requests_engine`
* add reth exception
* fix(plugins/consume): log failure
* feat(clis): Add Erigon Exception Mapper
* feat(specs): Allow setting expected block exception for state tests (only affects generated block tests)
* fix(tests): Add block exceltion to test_blob_type_tx_pre_fork
* fix(clis): Exceptions in mappers
* change(plugins/consume): Enable strict exception matching by default
* fix(specs): Exception message check on strict match
* docs: changelog
* chore(clis): update exception mappers for TYPE_4_TX_PRE_FORK
* refactor(consume): cache exception mappers in session-scoped fixture
* refactor(consume): make string match more robust by applying `lower()`
* feat(consume): allow disabling of strict exception checking per fork
* refactor(consume/hive): create `strict_exception_matching` fixture
* fix: whitelist
* changelog: Add exception
* changelog: Invalid versioned hashes exception
* refactor(consume/engine): Better error logging
* fix(clis/reth): Exception mapper
* fix(clis/besu): Exception mapper
* fix(clis/geth): Exception mapper
* fix(clis/ethereumjs): Exception mapper
* fix(clis/erigon): Exception mapper
---------
Co-authored-by: danceratopz <[email protected]>ExceptionMapper support to the consume-engine simulator (#1416)1 parent c8ec6e6 commit cb4ccde
File tree
20 files changed
+780
-261
lines changed- docs
- src
- ethereum_clis/clis
- ethereum_test_exceptions
- ethereum_test_rpc
- ethereum_test_specs
- pytest_plugins/consume/hive_simulators
- engine
- tests
- cancun/eip4844_blobs
- prague/eip7685_general_purpose_el_requests
20 files changed
+780
-261
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
11 | 19 | | |
12 | 20 | | |
13 | 21 | | |
| |||
19 | 27 | | |
20 | 28 | | |
21 | 29 | | |
| 30 | + | |
22 | 31 | | |
23 | 32 | | |
24 | 33 | | |
| |||
27 | 36 | | |
28 | 37 | | |
29 | 38 | | |
30 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
31 | 43 | | |
32 | 44 | | |
33 | 45 | | |
| |||
37 | 49 | | |
38 | 50 | | |
39 | 51 | | |
| 52 | + | |
40 | 53 | | |
41 | 54 | | |
42 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
215 | | - | |
216 | | - | |
| 216 | + | |
| 217 | + | |
217 | 218 | | |
218 | | - | |
219 | | - | |
| 219 | + | |
| 220 | + | |
220 | 221 | | |
221 | | - | |
222 | | - | |
| 222 | + | |
| 223 | + | |
223 | 224 | | |
224 | | - | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
226 | 228 | | |
227 | | - | |
228 | | - | |
| 229 | + | |
| 230 | + | |
229 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
230 | 237 | | |
231 | | - | |
232 | | - | |
| 238 | + | |
233 | 239 | | |
234 | | - | |
235 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
236 | 243 | | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
241 | 262 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | 263 | | |
246 | 264 | | |
247 | 265 | | |
| |||
283 | 301 | | |
284 | 302 | | |
285 | 303 | | |
286 | | - | |
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 52 | | |
58 | 53 | | |
59 | 54 | | |
60 | 55 | | |
61 | | - | |
| 56 | + | |
62 | 57 | | |
63 | 58 | | |
64 | | - | |
| 59 | + | |
65 | 60 | | |
66 | | - | |
67 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
68 | 66 | | |
69 | | - | |
70 | 67 | | |
71 | 68 | | |
72 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
73 | 77 | | |
74 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
75 | 91 | | |
76 | 92 | | |
77 | 93 | | |
| |||
113 | 129 | | |
114 | 130 | | |
115 | 131 | | |
116 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
0 commit comments