Skip to content

Commit

Permalink
adding app max page const
Browse files Browse the repository at this point in the history
  • Loading branch information
barnjamin committed Jun 29, 2022
1 parent 671aeb6 commit 1317051
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions algosdk/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@
LOGIC_SIG_MAX_SIZE = 1000
"""int: max size of a teal program and its arguments in bytes"""

APP_PAGE_MAX_SIZE = 2048
"""int: max size of a page for an application in bytes"""

ZERO_ADDRESS = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ"
"""str: algorand encoded address of 32 zero bytes"""

Expand Down Expand Up @@ -130,3 +133,4 @@
max_asset_decimals = MAX_ASSET_DECIMALS
logic_sig_max_cost = LOGIC_SIG_MAX_COST
logic_sig_max_size = LOGIC_SIG_MAX_SIZE
app_page_max_size = APP_PAGE_MAX_SIZE

0 comments on commit 1317051

Please sign in to comment.