Richard Moore
Richard Moore
Thanks! I’ll look into this asap.
This has been fixed in [5.6.6](https://github.com/ethers-io/ethers.js/releases/tag/v5.6.6). Try it out and let me know if you still have any issues. Thanks! :)
I thought I tried that too? I’ll test it out again shortly.
I just tried out all combinations of "view" vs. "send" and "with" vs "without" a gasLimit, and all returned the appropriate error (`CALL_EXCEPTION` or `UNPREDICTABLE_GAS_LIMIT`, depending); none returned the mimicked...
Can you please provide a concise code example?
This is a very large feature... When I first (begrudgingly) added WebSocketProvider mentioned this would be something I would eventually get to, but that it won't be high priority any...
There should definitely be an `.on` method. There is no version of WebSocketProvider that didn’t have it, since it inherits from JsonRpcProvider.
Oh! Sorry, yes. In general you should use `provider.on`. The `_websocket` is a semi-private member and should not generally be touched , unless direct access too it is needed. But...
I am surprised that works. A Web3Provider is designed to wrap an object with the interface of ExternalProvider. Did Web3 change their object shape for their provider object?
The change should probably go into `JsonRpcProvider` for going over the JSON-RPC wire protocol, since I don't want to change the behaviour of the the class BaseProvider which has other...