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
In ethers-rs, when trying to deserialize the response from eth_getTransactionBy(Hash, BlockNumberAndIndex, BlockHashAndIndex), the deserialization fails because the ECDSA fields (r, s, v) are all equal to 0x. ethers-rs expects those fields to be populated with some value, namely:
"invalid length 0, expected a (both 0x-prefixed or not) hex string or byte array containing between (0; 8] bytes"
I'm not sure if those fields should be null, but if they are, the RPC should return 0x0. I've tested that filling those fields with 0x0 results in a successful deserialization.
The text was updated successfully, but these errors were encountered:
In ethers-rs, when trying to deserialize the response from eth_getTransactionBy(Hash, BlockNumberAndIndex, BlockHashAndIndex), the deserialization fails because the ECDSA fields (
r
,s
,v
) are all equal to0x
. ethers-rs expects those fields to be populated with some value, namely:I'm not sure if those fields should be null, but if they are, the RPC should return 0x0. I've tested that filling those fields with 0x0 results in a successful deserialization.
The text was updated successfully, but these errors were encountered: