Commit d0bc639
authored
fix: decode payload transactions with EIP-2718 exact format (#219)
Engine API specifies transactions as opaque EIP-2718 encoded bytes, not
devp2p wire format. Using network_decode here could silently drop typed
transactions (EIP-1559, EIP-2930, EvNode 0x76/0x78) whose bytes are
valid EIP-2718 but lack the wire-format RLP string wrapping.
The executor already uses decode_2718_exact when validating the same
transactions via ExecutionData. This aligns the payload builder with
executor semantics, closing a potential consensus mismatch where
build-time acceptance diverges from validation-time rules.1 parent fb3fbd0 commit d0bc639
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
0 commit comments