Skip to content
New issue

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

estimateGas in signTransaction bug #6508

Closed
jdevcs opened this issue Oct 16, 2023 · 0 comments
Closed

estimateGas in signTransaction bug #6508

jdevcs opened this issue Oct 16, 2023 · 0 comments
Assignees
Labels
4.x 4.0 related Bug Addressing a bug

Comments

@jdevcs
Copy link
Contributor

jdevcs commented Oct 16, 2023

When you use web3.eth.estimateGas work fine but when is called from web3.eth.accounts.signTransaction got error
InvalidResponseError: Returned error: Errors encountered in param 0: Invalid value "0x" supplied to : RpcCallRequest/value: QUANTITY | undefined
at Web3RequestManager._processJsonRpcResponse (node_modules/web3-core/src/web3_request_manager.ts:362:11)
at Web3RequestManager. (node_modules/web3-core/src/web3_request_manager.ts:206:16)
at Generator.next ()
at fulfilled (node_modules/web3-core/lib/commonjs/web3_request_manager.js:21:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)

@jdevcs jdevcs added the 4.x 4.0 related label Oct 16, 2023
@jdevcs jdevcs mentioned this issue Oct 16, 2023
17 tasks
@mconnelly8 mconnelly8 added Bug Addressing a bug Estimate labels Oct 16, 2023
@jdevcs jdevcs removed the Estimate label Oct 17, 2023
@jdevcs jdevcs self-assigned this Oct 17, 2023
@jdevcs jdevcs closed this as completed Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x 4.0 related Bug Addressing a bug
Projects
None yet
Development

No branches or pull requests

2 participants