Check existing issues
Viem Version
viem@2.43.5
Current Behavior
The sendRawTransactionSync and sendTransactionSync methods currently convert the timeout parameter from integer to hex before sending to the RPC server. According to EIP-7966, the RPC server expects the timeout value as an integer, not hex. This causes errors for RPC clients that don't support hex-encoded timeout values.
Expected Behavior
The timeout parameter should be sent as a positive integer (not hex-encoded) according to the EIP specification.
Steps To Reproduce
No response
Link to Minimal Reproducible Example
No response
Anything else?
No response