TypeError: tx.chainId/sig.v mismatch on Legacy transaction serialization #3898
Labels
bug
Verified to be an issue.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
v6
Issues regarding v6
Ethers Version
6.1.0
Search Terms
No response
Describe the Problem
Can't serialize Legacy transaction due to error
Probably happens because of incorrect behavior of this condition
ethers.js/src.ts/transaction/transaction.ts
Line 194 in 278f841
It checks nullability of
tx.chainId
, buttx.chainId
is never nullethers.js/src.ts/transaction/transaction.ts
Line 507 in 278f841
Code Snippet
Contract ABI
No response
Errors
Environment
node.js (v12 or newer)
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: