We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
consistent return type that depends on submitted params
The text was updated successfully, but these errors were encountered:
luu-alex
No branches or pull requests
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: