Approval program too long. max len 2048 bytes - General - Algorand

Approval program too long. max len 2048 bytes

post by luke7389 on Jun 12, 2022

Is this limit here to stay?

610 views 1 link

post by fabrice on Jun 13, 2022

You can already have 4 times this limit by adding 3 pages:

post by luke7389 on Jul 1, 2022

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)