You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Muhammad-Altabba
changed the title
Signature length is incorrect
The r and s returned by signTransaction to does not always consist of 64 characters
Jun 21, 2023
Expected behavior
Signature length should for
r, s
should be 66 bytesActual behavior
In some cases signature length for
r, s
can be 65 bytesSteps to reproduce the behavior
Logs
In this case we have this signature generated by web3.js
And result from the RPC is:
And if decode this tx by ethers.js the result will be:
with:
Environment
Node: v18.16.0
web3.js: 4.0.1
The text was updated successfully, but these errors were encountered: