Description
If you don't apply --min-gas-price=0 to every node in the network and you deploy the setup, than contract deployments are stuck in a Waiting for transaction to be mined... state. This can be confusing as you don't get any hint or error of what exactly is going wrong. Adding --min-gas-price=0 to all the nodes fixes this behavior and then everything works as it should.
Steps to Reproduce (Bug)
- Clone the following setup
- Add the
--min-gas-price=0 flag to helm/ibft2-with-privacy/besu/templates/validator2-statefulset.yaml
- Deploy ( I did to GKE)
- Try to deploy a private contract with
web3.eea.sendRawTransaction(contractOptions)
Actual behavior: Contract deployments are stuck in a Waiting for transaction to be mined... state
Expected behavior: Some kind of error or warning like Not all nodes contain the --min-gas-price=0 flag
Versions
- Docker image:
hyperledger/besu:latest
- Docker image:
pegasyseng/orion:develop
- Cloud provider: Google Cloud (GKE)