Skip to content

Commit

Permalink
vm/tx: ensure yParity values of 7702 are skipped if > 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jochem-brouwer committed Oct 31, 2024
1 parent 389d610 commit 560a831
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/vm/src/runTx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,11 @@ async function _runTx(vm: VM, opts: RunTxOpts): Promise<RunTxResult> {
continue
}
const yParity = bytesToBigInt(data[3])

if (yParity > BIGINT_1) {
continue
}

const r = data[4]

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

0 comments on commit 560a831

Please sign in to comment.