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?
EOS.IO Stack Exchange is a question and answer site for users and developers of distributed applications built on top of the blockchain operating system, EOS.IO. It only takes a minute to sign up.
Sign up to join this communityWhen 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?
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.