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

Expose gload op-codes and allow manual scratch slot id assignment #79

Merged
merged 8 commits into from
Jul 28, 2021

Conversation

algochoi
Copy link
Contributor

@algochoi algochoi commented Jul 23, 2021

Exposes gload and gloads op codes and allows users to manually specify scratch slot IDs in Pyteal code.

Closes #74

pyteal/ast/gload.py Outdated Show resolved Hide resolved
pyteal/ast/gload.py Outdated Show resolved Hide resolved
pyteal/ast/gload.py Outdated Show resolved Hide resolved
pyteal/ast/gload.py Outdated Show resolved Hide resolved
pyteal/ast/gload_test.py Outdated Show resolved Hide resolved
pyteal/ast/scratchvar_test.py Outdated Show resolved Hide resolved
@algochoi algochoi changed the title Expose gload op-codes and allow manual scratch slot id assingment Expose gload op-codes and allow manual scratch slot id assignment Jul 26, 2021
pyteal/__init__.py Show resolved Hide resolved
pyteal/ast/gload_test.py Outdated Show resolved Hide resolved
pyteal/ast/scratch.py Outdated Show resolved Hide resolved
pyteal/ast/scratch.py Outdated Show resolved Hide resolved
pyteal/ast/scratchvar.py Show resolved Hide resolved
pyteal/ast/scratchvar_test.py Outdated Show resolved Hide resolved
Copy link
Contributor

@jasonpaulos jasonpaulos left a comment

Choose a reason for hiding this comment

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

Looks great! 1 question and 1 nit, but this can be merged after addressing those

pyteal/compiler/compiler.py Outdated Show resolved Hide resolved
pyteal/ast/scratch.py Outdated Show resolved Hide resolved
@algochoi algochoi merged commit ca0d65a into master Jul 28, 2021
@algochoi algochoi deleted the algochoi/gload-operator branch July 28, 2021 19:06
@jasonpaulos jasonpaulos mentioned this pull request Aug 31, 2021
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.

Support importing/exporting values between contracts
2 participants