You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Method: https://github.com/web3/web3.js/blob/4.x/packages/web3-eth/src/web3_eth.ts#L1076
Docs indicate that you can only get string or buffer as a return type. But the actual typescript return type is:

Bug #1: return type should be explicitly written to depend on passed in format(either string or buffer)
Bug #2: From digging through the code, seems like there is actually a bug in the underlying rpc method wrapper where https://github.com/web3/web3.js/blob/4.x/packages/web3-eth/src/rpc_method_wrappers.ts#LL885C40-L885C40 response is not formatted according to input params.
Expected behavior
consistent return type that depends on submitted params
Actual behavior
Steps to reproduce the behavior
Logs
Environment
The text was updated successfully, but these errors were encountered: