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
    Transaction took too long will make the transaction failure, it will not send to other nodes anymore. – Jimmy Guo Aug 29 '18 at 4:34
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.

| improve this answer | |

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.