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
0
Since we use a random EOA address to sign a transaction for the eth_estimateGas endpoint, we need to set the GasPrice field to 0 as the EOA address does not have any funds and this will cause a validation error. See: https://github.com/onflow/flow-evm-gateway/blob/main/api/gas_estimation.go#L32. It might be a good idea to also hide the private key used in: https://github.com/onflow/flow-evm-gateway/blob/main/api/gas_estimation.go#L13.
eth_estimateGas
GasPrice
The text was updated successfully, but these errors were encountered:
To
eth_call
m-Peter
Successfully merging a pull request may close this issue.
Since we use a random EOA address to sign a transaction for the
eth_estimateGas
endpoint, we need to set theGasPrice
field to0
as the EOA address does not have any funds and this will cause a validation error. See: https://github.com/onflow/flow-evm-gateway/blob/main/api/gas_estimation.go#L32. It might be a good idea to also hide the private key used in: https://github.com/onflow/flow-evm-gateway/blob/main/api/gas_estimation.go#L13.The text was updated successfully, but these errors were encountered: