Skip to content
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

Support for AVM v10 #714

Merged
merged 19 commits into from
Jan 2, 2024
Merged

Support for AVM v10 #714

merged 19 commits into from
Jan 2, 2024

Conversation

jasonpaulos
Copy link
Contributor

@jasonpaulos jasonpaulos commented Dec 19, 2023

  • Enable v10 programs
  • box_splice and box_resize opcodes
  • Global fields AssetCreateMinBalance, AssetOptInMinBalance, and GenesisHash
  • Elliptic curve opcodes

@jasonpaulos jasonpaulos changed the title Support for TEAL v10 Support for AVM v10 Dec 19, 2023
@jasonpaulos jasonpaulos marked this pull request as ready for review December 22, 2023 20:10
@jasonpaulos jasonpaulos self-assigned this Dec 22, 2023
@@ -306,6 +306,7 @@ def __init__(
*,
version: int = DEFAULT_PROGRAM_VERSION,
assemble_constants: bool = False,
assembly_type_track: bool = True,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also added the option to include #pragma typetrack false. This was enabled for integration tests briefly due to the assembler type error, but the latest docker image has that fix included, so it's no longer needed.

Still, I though it'd be useful to include this.

Copy link

@jannotti jannotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe I figured out that the answer to my question about "EllipticCurve" is that it's teh way to name the argument to the various opcodes?

docs/accessing_transaction_field.rst Show resolved Hide resolved
pyteal/ast/__init__.py Show resolved Hide resolved
@jasonpaulos jasonpaulos merged commit 8c0445e into master Jan 2, 2024
9 checks passed
@jasonpaulos jasonpaulos deleted the teal-v10 branch January 2, 2024 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants