Instruction errors (runtime)

MaxInstructionTraceLengthExceeded

Appears as Max instruction trace length exceeded

Instruction

MaxInstructionTraceLengthExceeded

“Max instruction trace length exceeded”

The transaction executed more instructions (including CPIs) than the trace limit (64).

Common causes

  • Loops of CPIs or deeply composed instructions.

How to fix it

  • Reduce the number of CPIs per transaction.

Decode another error

Try: