Skip to content

Private contract deployments are stuck if the min-gas-price tag is not added to all nodes #408

@marlowl

Description

@marlowl

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)

  1. Clone the following setup
  2. Add the --min-gas-price=0 flag to helm/ibft2-with-privacy/besu/templates/validator2-statefulset.yaml
  3. Deploy ( I did to GKE)
  4. 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)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions