1

When call an action of a contract, sometimes meet "Transaction took too long" error.

If a transaction fails because of "took too long" error, the transaction will be discarded in chain? Or next BP will try this transaction again?

1
  • 1
    Transaction took too long will make the transaction failure, it will not send to other nodes anymore.
    – Jimmy Guo
    Commented Aug 29, 2018 at 4:34

1 Answer 1

1

The failed transaction will not be attempted again automatically. If you're the dApp owner, you should increase the CPU resources or wait for them to replete and try again.

Or better yet, redesign the dApp to make it more efficient if possible.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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