besu: Minimun gas price ignored
Description
I want to set the minimum gas price to 0 so I can deploy smart contracts without problems.
Acceptance Criteria
Parameter --min-gas-price
not ignored
Steps to Reproduce (Bug)
- Use the command npx
quorum-dev-quickstart
to run a local besu network (besu version
22.10.3). - Deploy a smart contract to this local network.
Expected behavior: To deploy the smart contract.
Actual behavior: I get this error:
ProviderError: Gas price below configured minimum gas price at HttpProvider.request (/home/domingo/token-erc20/node_modules/hardhat/src/internal/core/providers/http.ts:78:19) at LocalAccountsProvider.request (/home/domingo/token-erc20/node_modules/hardhat/src/internal/core/providers/accounts.ts:182:36) at processTicksAndRejections (node:internal/process/task_queues:96:5) at EthersProviderWrapper.send (/home/domingo/token-erc20/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)
If I look for Besus logs:
{"timestamp":"2023-06-02T13:06:21,722","container":"39d421c9fa71","level":"INFO","thread":"main","class":"Besu","message":"Starting Besu","throwable":""} {"timestamp":"2023-06-02T13:06:24,125","container":"39d421c9fa71","level":"WARN","thread":"main","class":"Besu","message":"--min-gas-price has been ignored because --miner-enabled was not defined on the command line.","throwable":""} {"timestamp":"2023-06-02T13:06:27,088","container":"39d421c9fa71","level":"INFO","thread":"main","class":"Besu","message":"
As you can see, --min-gas-price
is ignored. I tried to put in the config file this instruction miner-enabled=true
but the network does not work.
Frequency: Always I try to deploy a smart contract
Versions (Add all that apply)
- Software version: [
22.10.3
] - Java version: [
17
] - OS Name & Version: [
WSL2
]
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 20 (11 by maintainers)
@alexcostars Try to set the besu tag version to 23.4.1 and
zeroBaseFee
instruction should work