From 560a8317857ade6d0ea82f945fde4ab38c01833c Mon Sep 17 00:00:00 2001 From: Jochem Brouwer Date: Thu, 24 Oct 2024 20:12:16 +0200 Subject: [PATCH] vm/tx: ensure yParity values of 7702 are skipped if > 1 --- packages/vm/src/runTx.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/vm/src/runTx.ts b/packages/vm/src/runTx.ts index 6e49793d8e..365acf747b 100644 --- a/packages/vm/src/runTx.ts +++ b/packages/vm/src/runTx.ts @@ -471,6 +471,11 @@ async function _runTx(vm: VM, opts: RunTxOpts): Promise { continue } const yParity = bytesToBigInt(data[3]) + + if (yParity > BIGINT_1) { + continue + } + const r = data[4] const rlpdSignedMessage = RLP.encode([chainId, address, nonce])