6 Commits

Author SHA1 Message Date
Eric
af35395ace
Convert retryable RPC/HTTP errors to RpcNetworkError type in ethers
Converts specific errors to RpcNetworkError, which can be bubbled to applications at a higher level and retried on the network (eg with exponential backoff) until resolved or timed out.
2025-05-27 18:03:19 +10:00
Mark Spanbroek
f9d115ae75 Use pending block for gas estimations 2025-04-15 10:45:52 +02:00
Mark Spanbroek
a29e86bfc8 Handle custom errors when estimating gas 2025-04-15 10:45:52 +02:00
Mark Spanbroek
4441050c3d Move contract error handling into its own modules 2025-04-15 10:45:52 +02:00
Mark Spanbroek
e37f454761 Allow for gas estimation of contract calls 2025-04-15 10:45:52 +02:00
Mark Spanbroek
def12bfdc1 Split contract module into several parts 2025-04-15 10:45:52 +02:00