Closed XmoDVO closed 8 months ago
Hi, thanks for reporting. We can fix this by making those fields optional. Out of curiosity, do you know if there's a technical reason for rsv sometimes being undefined
on this chain, or is it just an error on the part of the RPC provider?
I asked my colleague, hope it helps you, https://docs.zksync.io/build/developer-reference/account-abstraction.html#signature-validation zksync support another kind of signature (EIP-1271), Smart contract accounts have their own TX validation flow, not necessarily ECDSA, so r,s,v are empty.
input
no r s v singnature in output
however, r s v is not optional to function
rpcToSqliteTransaction
encodeAsText
will throw an error sincetransaction.v
is undefined;and it will causing unstoppable warning
error stack