module.exports = {
  networks: {
    development: {
      host: "",
      port: 8540,
      network_id: "*",
      gas: 4600000,
gasPrice: 4000000   // Match any network id

< "code": -32010, < "message": "Transaction gas price is too low. There is another transaction with same nonce in the queue. Try increasing the gas price or incrementing the nonce." < }, < "id": 6 < }

I am using parity.

How would I know what gas price should be used, or how is the nonce changed?


Your problem is not really the gas price but the nonce of the transaction.

It is saying that there is already a transaction waiting to be mined with the exact same nonce. You must increase the nonce of your transaction. I recommand you to read the yellow paper

The gas price message is just saying that it cannot accept this transaction because it should have a superior gas price than the other one to be considered as the correct one.

  • How can I change the nounce? I just use truffle migrate. Is there an option for nouce? – Trevor Oakley May 31 '18 at 6:32
  • Can I delete the pending txns? – Trevor Oakley May 31 '18 at 6:32

Use --no-persistent-txqueue in the start of the node to remove the old txn.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.