Working with engineers from Chainstack and Infura, was able to get gas to work finally. Now, this is the error when deploying contracts:
{"jsonrpc":"2.0","id":25,"error":{"code":-32602,"message":"invalid argument 0: hex string has length 40, want 64 for common.Hash"}}
I traced this to client.rb in the params in the payload in send_command. Printing each time this method is called, the params change from 64 (0x + 64) chars to 40 (0x + 40) chars before the failure.
Working with engineers from Chainstack and Infura, was able to get gas to work finally. Now, this is the error when deploying contracts:
I traced this to
client.rb
in theparams
in the payload insend_command
. Printing each time this method is called, the params change from 64 (0x + 64) chars to 40 (0x + 40) chars before the failure.This param is causing the error:
The length is wrong; but I am not sure why.
Normally, it is like this: