Tealdbg running in logicsig mode despite being a stateful application

I’m getting the following error when trying to debug a contract using tealdbg:

Debug error: all 1 program(s) failed in less than a second, invocation error? program version 35 greater than max supported version 6

It also seems to be interpreting the contract as a logicsig:

Run mode: logicsig

But I have deployed and funded the contract account successfully.

I’ve seen a similar error when I failed to compile my contract before deploying it, but this is not happening here (it deploys ok).

What could be causing this?

Solved. Turns out you can’t put emojis in comments in TEAL.


1 Like