This forum is a read-only archive. Posting, replying and signing in are disabled.

Approval program too long. max len 2048 bytes

luke7389

Thank you @fabrice.

For anyone who might need this with the python-sdk you have to add this variable in the create app transaction call:

txn = transaction.ApplicationCreateTxn(sender, params, on_complete, approval_program, clear_program, global_schema,
                                           local_schema, app_args=app_args, extra_pages=0)