Skip to content

Commit f487448

Browse files
vm/tx: ensure yParity values of 7702 are skipped if > 1
1 parent 3f3a3cc commit f487448

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/vm/src/runTx.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,11 @@ async function _runTx(vm: VM, opts: RunTxOpts): Promise<RunTxResult> {
462462
continue
463463
}
464464
const yParity = bytesToBigInt(data[3])
465+
466+
if (yParity > BIGINT_1) {
467+
continue
468+
}
469+
465470
const r = data[4]
466471

467472
const rlpdSignedMessage = RLP.encode([chainId, address, nonce])

0 commit comments

Comments
 (0)