-
Notifications
You must be signed in to change notification settings - Fork 133
Refactor graviton usage #628
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
Merged
Merged
Changes from 208 commits
Commits
Show all changes
209 commits
Select commit
Hold shift + click to select a range
d0f9d8d
upping max teal version
barnjamin 749fb8c
adding program page related ops (#412)
barnjamin 39a11c2
Add Replace (#413)
jdtzmn dd2c7ec
Add Block (#415)
jdtzmn 8c3d2a0
Add JsonRef (#417)
jdtzmn 839b985
Add Base64Decode (#418)
jdtzmn 7cccdcb
Support Secp256r1 curve (#423)
jdtzmn 9a26fec
Add VrfVerify (#419)
jdtzmn cc544aa
Add `Sha3_256` (#425)
jdtzmn 6e83ae6
Support `FirstValidTime` transaction field (#424)
jdtzmn 594e8e4
Add `Ed25519Verify_Bare` (#426)
jdtzmn 0ba95e9
Merge branch 'master' into avm8
ahangsu e9af25f
Merge branch 'master' into avm8
ahangsu 7c24013
AVM Boxes Ops in Pyteal (#438)
ahangsu ba260e6
Merge Teal7 to AVM8, and consolidate Teal to AVM versioning (#470)
ahangsu ed516f7
Merge branch 'master' into avm8
ahangsu 055c981
change according to https://github.com/algorand/go-algorand/pull/4323…
ahangsu bc78e39
Merge branch 'master' into avm8-merge-master
ahangsu 2c2b7b2
Merge branch 'master' into avm8
ahangsu 61af648
Merge branch 'master' into avm8
ahangsu 5282726
Merge branch 'master' into avm8
ahangsu 76010b2
Changes to avm8 docs (#546)
jasonpaulos d767c66
Merge branch 'master' into avm8
ahangsu cc49a55
Support new AVM 8 account parameters (#555)
jdtzmn 1d7cd6a
add frame ops to avm8 branch
ahangsu 49d169e
specify FRAME_POINTER_VERSION in frame-op branch
ahangsu 02f3775
just the work of abi data schema
ahangsu e8c5d2c
squashed
ahangsu a044f80
change in round trip test, stop something blocking me
ahangsu 6739c00
update frame dig and proto use
ahangsu ce9aec8
fix var n loaded
ahangsu 620c61e
documentation
ahangsu 87d97b1
narrower name, module name
ahangsu 80a40d8
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 208be80
reformat evaluator code, less indentation
ahangsu d3fd16d
minor, found a bug on output setting in subroutine in frame pointer c…
ahangsu 2b4bb17
one small step in testing, a big step for frame pointer!
ahangsu 411f007
work in black box testing
ahangsu a70c125
0xBAD hack, need to revisit for ugly pass by for type system
ahangsu 1e12ca0
move spot reserving in proto
ahangsu a5cd38a
reformat code a bit on black box example part
ahangsu 7db5dfa
start changing abi roundtrip tesal file name
ahangsu e1dbcd7
roundtrip test
ahangsu ac98d94
comments
ahangsu cf0c331
still wristing with docker, revert space reserving stuffs
ahangsu 769419b
minor, pure compilation more flexible
ahangsu d77b442
roundtrip dryrun flexibility
ahangsu 20c0ef8
conditional factorial done, need int65 and complex130
ahangsu d056f4a
gravition abi test pytest mark parameterized
ahangsu 6ba772a
module
ahangsu 5840a8b
per review comments
ahangsu a596fc1
per review comments
ahangsu 519c752
per review comments, depth -> frame_depth
ahangsu d0533f5
Merge branch 'frame-ops' into abi-value-data-schema
ahangsu 48d0678
per review comments, on final type annotation
ahangsu 7d4277b
per review comments, renaem to AbstractVar/FrameVar
ahangsu d93207d
per review comments, move storage model to AbstractVar, rough hack to…
ahangsu 71ad8a6
better type checking in scratch slot
ahangsu 921bf85
reformat imports and class decl for FrameVar and ScratchVar
ahangsu 1012d4d
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 304f273
still thinking about hiding the _stored value
ahangsu 7f019cd
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 4b688df
proto renaming stuffs
ahangsu 0f5c916
per pr comment, rename to FrameVar
ahangsu 37ee4cd
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 0924d94
take bury out
ahangsu c3acbb9
Merge branch 'frame-ops' into abi-value-data-schema
ahangsu 81c2368
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu d1c52a2
pop popn
ahangsu 52f24a4
Merge branch 'frame-ops' into abi-value-data-schema
ahangsu 3277c51
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu d457f99
abstractvar.py
ahangsu 1fa70d9
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 95bc48a
unexport FrameVar and AbstractVar
ahangsu 972a259
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 8c41726
unexport use of frame ops
ahangsu 01a04dd
Merge branch 'frame-ops' into abi-value-data-schema
ahangsu 88da04f
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 075710e
rename to num allocs
ahangsu 61551b8
remove _set_data_storage
ahangsu 0a3b7b0
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 8855002
namedtuple set var method
ahangsu 8eca96d
rename from stack_depth to frame_index
ahangsu debe17a
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu c241cfa
CHANGELOG.md
ahangsu dd687c7
Frame Ops to `avm8` branch PR (#585)
ahangsu 6ae67e6
add frame ops to avm8 branch
ahangsu 917229a
specify FRAME_POINTER_VERSION in frame-op branch
ahangsu 892dd50
just the work of abi data schema
ahangsu 5ec4124
narrower name, module name
ahangsu 7b60233
per review comments, on final type annotation
ahangsu 2055ce6
per review comments, renaem to AbstractVar/FrameVar
ahangsu f689937
per review comments, move storage model to AbstractVar, rough hack to…
ahangsu f362b57
better type checking in scratch slot
ahangsu a0f1a81
reformat imports and class decl for FrameVar and ScratchVar
ahangsu 46b886b
still thinking about hiding the _stored value
ahangsu 0d5eaf3
per pr comment, rename to FrameVar
ahangsu d02d73b
take bury out
ahangsu 25a98a4
abstractvar.py
ahangsu 2704c5a
unexport FrameVar and AbstractVar
ahangsu 92c46f0
unexport use of frame ops
ahangsu 5e256f8
remove _set_data_storage
ahangsu 296f6cf
rename from stack_depth to frame_index
ahangsu bca1868
hide FRAME_POINTER_VERISON
ahangsu 224bc9c
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 40ebb8c
hide FRAME_POINTER_VERISON
ahangsu a1770c4
Validate types option (#590)
tzaffi 5193635
wrong import, blame my lsp
ahangsu 2a57388
FrameVar error msg fix
ahangsu bb6ad15
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 00defe6
Merge branch 'master' into abi-value-data-schema
ahangsu a895cb9
scrape down the change of frame pointer from feature/fp-subroutine
ahangsu 195dc76
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 630e046
Memory layout for frame var and frame ops (#593)
ahangsu e399e09
rename arg for mem layout, on return alloc number
ahangsu 0a5b570
if there's nothing to initialize for local...
ahangsu 8d97fa6
Merge branch 'feature/fp-subroutine' into feature/fp-subroutine-merge
ahangsu b8b6f32
update changes from mem layout
ahangsu 29f186c
Merge branch 'master' into abi-value-data-schema
ahangsu 596d6ac
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu f6994ae
minor change in type-check in computed-type
ahangsu de32b9a
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 21e9350
minor change in type-check in computed-type
ahangsu db2a00a
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu b0045ec
linewidth
ahangsu 877e109
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 9daee52
some minor comments
ahangsu 14275df
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 6ef76dd
revert to framevar version
ahangsu 19a1fe2
use deferred only on scratch slot
ahangsu 431026b
use deferred only on scratch slot, comments
ahangsu 66a6416
spellings
ahangsu 3bd25fa
remove unused class methods
ahangsu 39f6f6b
remove scratchvar type check in var_n_load
ahangsu bb8f9e5
docstring explanation of validate type
ahangsu 411c570
docstring
ahangsu 14cc5ee
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu daf877d
docstring
ahangsu d8b5eb6
collect changes to basis pr
ahangsu c1d6dfb
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 935cc0c
wording check
ahangsu fe3b60d
good find on one more dupped stuff
ahangsu b80e1ae
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 55a838a
per Zeph's PR comments
ahangsu f1de3ec
no overshadowing version param
ahangsu 370e3f5
Merge branch 'master' into abi-value-data-schema
ahangsu 099836c
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 5cf0cf5
type_of subroutinecall
ahangsu 4ac41b9
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu 29be7ff
type_of subroutinecall
ahangsu ca4d75d
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu cd7d52c
remove all validate_type
ahangsu 35cf94c
Merge branch 'abi-value-data-schema' into feature/fp-subroutine
ahangsu a70eb3d
Merge branch 'master' into feature/fp-subroutine
ahangsu dcb90dc
Test identical functionality across versions - just a POC and too slo…
f3476c5
bad alias
c9d9aa2
handle logic sigs and trace compiled teal in the pt dr executor
34ec871
port identity predicates to graviton_test.py
2d2666c
some examples failing. Might be a red herring, or might be related to…
b7d77a2
fixing wrong stack mechanism for dynamic scratch var
ahangsu 273d304
fixing wrong stack mechanism for dynamic scratch var
ahangsu b681c24
Merge branch 'feature/fp-subroutine' into graviton-identical-subroutines
ahangsu a55052d
rename
ahangsu b24cbb8
Merge branch 'feature/fp-subroutine' into graviton-identical-subroutines
ahangsu 29cd589
special case notes
ahangsu e586564
fix embarassing spelling
77ca4a5
remove run-once forever to be skipped slow test
f5ef819
Test identical functionality across versions - just a POC and too slo…
7cddccd
bad alias
08a51f2
handle logic sigs and trace compiled teal in the pt dr executor
8a84f73
port identity predicates to graviton_test.py
61d1cc6
some examples failing. Might be a red herring, or might be related to…
6922ac1
special case notes
ahangsu 6417265
fix embarassing spelling
b4d9300
remove run-once forever to be skipped slow test
72a7490
update test comment
ahangsu 849b892
Merge remote-tracking branch 'origin' into graviton-identical-subrout…
9df2c7b
revert - except for better local function name
149f864
Merge remote-tracking branch 'refs/remotes/origin/graviton-identical-…
4451f3d
Apply suggestions from code review
tzaffi 2f7a7ac
black
f9aebde
unused var
4d45f09
Update requirements.txt
tzaffi 5b4ae33
Prove no assertions tested
michaeldiamant 669b202
Merge branch 'master' into graviton-identical-subroutines
2dc41da
Merge branch 'broken_invariants' into graviton-identical-subroutines
3b20a21
get the tests to actually run, and nudge invariants to pass both with…
6e7889d
absorb the new graviton API
cf9ced7
Merge branch 'master' into graviton-identical-subroutines
d8bd2db
update graviton's pin to latest branch commit
4790069
Refactor graviton usage
7617c7a
new PyTealDryRunExecutor.executor() method
5f88771
pass txn_params and verbose to graviton's runners
97aff37
pass txn_params and verbose to graviton's runners
1f97e30
don't re-instantiate the executor at every iteration
315fc23
remove now unused add_trace()
09261e8
lint
18150bc
Update to requirements.txt to latest graviton commit
tzaffi 69519c5
pin to graviton 0.7.0
3ad2f2e
fix gravition pin
0ee255c
pin to v0.7.0
tzaffi ed1baf4
Typo fix in docs (#625)
solomonsucceeds 251f0af
Merge branch 'graviton-identical-subroutines' into graviton-refac
tzaffi 1f62233
Merge branch 'master' into graviton-refac
fc06c17
flake8
3232a09
🤞
d0331b0
Trigger a build against head of depending graviton branch
tzaffi cf21e18
Update requirements.txt
tzaffi e355c93
correct repo
tzaffi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.