Commit 22e6164
committed
fix(eip8141): tighten blob-carrying frame tx validation and accounting
Address review follow-ups on the blob-support PR:
- require MaxFeePerBlobGas for a blob-carrying frame tx and narrow the
versioned-hash validator to internal
- reserve the blob fee in block production via the instance blob predicate
- return InsufficientSenderBalance for insufficient max fee per blob gas,
matching the regular path's error classification
- collapse the redundant blob-gas count guard and mark the still-unrouted
EIP-1559 fee-collector leg on the frame path
- pin the max_cost blob-leg pricing (TXPARAM 0x06) and parameterize the
blob-count validation tests1 parent f11e1db commit 22e6164
6 files changed
Lines changed: 53 additions & 22 deletions
File tree
- src/Nethermind
- Nethermind.Blockchain.Test/Validators
- Nethermind.Consensus
- Processing
- Validators
- Nethermind.Evm.Test
- Nethermind.Evm
- TransactionProcessing
Lines changed: 14 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
853 | | - | |
854 | | - | |
| 853 | + | |
855 | 854 | | |
856 | | - | |
857 | | - | |
858 | | - | |
859 | | - | |
| 855 | + | |
| 856 | + | |
860 | 857 | | |
861 | 858 | | |
862 | | - | |
863 | | - | |
| 859 | + | |
| 860 | + | |
864 | 861 | | |
865 | | - | |
| 862 | + | |
866 | 863 | | |
867 | 864 | | |
868 | 865 | | |
869 | 866 | | |
870 | 867 | | |
871 | 868 | | |
872 | | - | |
| 869 | + | |
873 | 870 | | |
874 | | - | |
| 871 | + | |
| 872 | + | |
875 | 873 | | |
876 | 874 | | |
877 | | - | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
878 | 880 | | |
879 | 881 | | |
880 | 882 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
205 | 210 | | |
206 | 211 | | |
207 | 212 | | |
| |||
282 | 287 | | |
283 | 288 | | |
284 | 289 | | |
285 | | - | |
| 290 | + | |
286 | 291 | | |
287 | 292 | | |
288 | 293 | | |
| |||
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | 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 | + | |
182 | 207 | | |
183 | 208 | | |
184 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| 341 | + | |
| 342 | + | |
341 | 343 | | |
342 | 344 | | |
343 | 345 | | |
| |||
0 commit comments