-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDKs: Replace logicsig langspec checks with self-contained checks #213
Comments
The first round investigation result follows: For Go/JS/Py/Java-SDK: we need to deprecate methods in
deprecate global variables under
Related methods using Solution: implement another |
Possible deprecation schemes cross SDKs:
|
Another sub-conclusion from deprecating Without such knowledge, one cannot start meaningful test over byte string like disassemble-alike test, other than checking byte code complying to a certain TEAL version. Some other heuristic need to be figured out, without a list of ops with knowledge of size. |
JJ made some suggestions:
|
Informational: I opened #223 to track following up in a later iteration to remove deprecated fields, methods, classes, and |
For reader ease, here's the associated PRs: |
Problem
After each go-algorand AVM release, all SDKs require updated
langspec.json
s + new tests as per https://algorand.atlassian.net/wiki/spaces/SCY/pages/2346844170/Updating+SDK+Langspecs. To minimize work needed per AVM release, the story requests replacing the existing assertions with equivalents (or near equivalents) that do not rely on alangspec.json
artifact.Example existing implementation from py-algorand-sdk: https://github.com/algorand/py-algorand-sdk/blob/f0509ba40f8ca02c02cc254ea80e5bdbfa2aa9a8/algosdk/logic.py#L45. Each SDK provides analogous checks.
The replacement checks must confirm the provided program:
As part of the investigation, consider paring down langspec.json to remove unnecessary fields (e.g. budget). We may ultimately create a separate story, but ought to consider the topic while in the neighborhood.
Solution
Dependencies
Urgency
The text was updated successfully, but these errors were encountered: