Skip to content

Commit

Permalink
deprecatino reason
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangsu committed Aug 24, 2022
1 parent ca4ed19 commit 15f8a5d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions algosdk/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ def is_ascii_printable(program_bytes):

def check_program(program, args=None):
"""
NOTE: This class is deprecated
NOTE: This class is deprecated:
`langspec.json` can no longer correctly to depicting the cost model (as of 2022.08.22),
also to minimize the work in updating SDKs per AVM release,
we are deprecating`langspec.json` across all SDKs.
The behavior of method `checkProgram` relies on `langspec.json`.
Thus, this method is being deprecated.
Performs program checking for max length and cost
Expand All @@ -66,8 +71,14 @@ def check_program(program, args=None):

def read_program(program, args=None):
"""
NOTE: This class is deprecated
NOTE: This class is deprecated:
`langspec.json` can no longer correctly to depicting the cost model (as of 2022.08.22),
also to minimize the work in updating SDKs per AVM release,
we are deprecating`langspec.json` across all SDKs.
The behavior of method `checkProgram` relies on `langspec.json`.
Thus, this method is being deprecated.
"""

global spec, opcodes
intcblock_opcode = 32
bytecblock_opcode = 38
Expand Down

0 comments on commit 15f8a5d

Please sign in to comment.