tomusdrw / rust-web3

Ethereum JSON-RPC multi-transport client. Rust implementation of web3 library. ENS address: rust-web3.eth
MIT License
1.45k stars 465 forks source link

Report response parse errors to avoid freezes #639

Open marmistrz opened 2 years ago

marmistrz commented 2 years ago

This is at least a workaround for the issue reported in #566.

Whether or not we choose to be strict in parsing, we should report the deserialization errors instead of letting the called wait indefinitely.