I’m writing a Smart Contract in PyTeal, so an approval program and a clear program.
After I added some functions, I got this error: invalid : approval program too long. max len 1024 bytes, that let me think approval program couldn’t be longer. For me that’s a problem because I have to add so many lines of code.
Is there a solution to avoid this problem?
EDIT: to be clearer: my code is in approval_program function and I defined some functions out of approval_program.
In approval_program I call these function that I defined out of it.
