RR: 10 {
from: "0xcd5840c07bc9598defc1993ff2845740c77ce635",
to: "0x9a261a14d0f50f3dd58e7f232fea3b702cdd7ef1",
txfee: "90",
gas_limit: undefined,
gas_price: 10000000000, …}
SendContribution.vue:144 Error: Error: Error estimating gas usage for transaction (Returned error: Invalid params: unknown field `gas_price`, expected one of `from`, `to`, `gasPrice`, `gas`, `value`, `data`, `nonce`.). Make sure the transaction is valid, or set a fixed gas value.
at Object._fireError (index.js:57)
at sendTxCallback (index.js:614)
at index.js:136
at utils.js:23 ----> webpack:///./node_modules/@openzeppelin/gsn-provider/src/utils.js
I do not have gas_priceanyway in my code, the only place is spelled like that is in RelayClient.js in GSNProvider
I’m sorry that you had this issue. We would need more information so that we can reproduce it.
Can you provide the public network that you are using, as well as the operating system, node and npm versions? Any other details that might help us reproduce it would be appreciated!
I am running a non-upgradeable (regular) contract version of Building a GSN-powered DApp on Rinkeby with @openzeppelin/network@0.4.1 (dependency:@openzeppelin/gsn-provider@0.1.9) and am not seeing any errors.
I assume the error is thrown from OpenZeppelin GSN Provider
I get the same issue on Kovan. I assume there may be an issue with the Relayer.
Uncaught (in promise) Error: Error: Error estimating gas usage for transaction (Returned error: Invalid params: unknown field `gas_price`, expected one of `from`, `to`, `gasPrice`, `gas`, `value`, `data`, `nonce`.). Make sure the transaction is valid, or set a fixed gas value.
I don’t get the issue on Rinkeby. Can you try changing to Rinkeby network and let me know how you get on?
I have the same error in production, so I assume the error is then related to the use of Parity client.
A change of client is overdue … but that is going to take a while.