-
Notifications
You must be signed in to change notification settings - Fork 8
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
Prepare for Testing the ABI-Router in PyTeal #49
Merged
Merged
Changes from 119 commits
Commits
Show all changes
129 commits
Select commit
Hold shift + click to select a range
4b78ce2
with cost no longer coming back, and the coming need to support simul…
d28308b
remove error prone method Invariant.inputs_and_invariants
f6f301a
need to tranform via `Invariant.as_invariants()`
026926f
more control over validation and whether a method selector is provide…
6ed2789
deprecate the majority of the original remaning dryrun.py
df452d5
small typing fix + EncodingType
fa09d15
type ignores
26d47e3
Small type fix (#43)
tzaffi b92911c
changelog
9b18a63
good place to commit as passing tests (except one error in mypy)
a573529
another good place to stop
b3e2ce3
DryRunInspector typing
9499253
passing
34801b3
green stop
9dcc532
orphan `execute_one_dryryrun` while still passing
9ea7247
refactor orphans dryrun_logicsig()
e312964
DryRunTranaactionParams.for_app()
dccdc74
Refactor orphans DryRunExecution.dryrun_app()
37c1e5b
Refactor orphans DryRunExecutor.dryrun_logicsig_on_sequence()
1cee24c
refactor orphans DryRunExecutor.dryrun_app_on_sequence()
854089b
allow maps as well as list for multiple inputs
ee89949
Refactor orphans dryrun_app_pair_on_sequence
e67f692
deprecated section
faf824c
deprecated_ prefix
b015ec3
deprecated_ prefix
e69ef17
remove deprecated
c032a16
convenience methods run_one and run_sequence
96bb5fd
v 0.7.0
1ec5213
remove unused DryRunnable
a6277fc
trim stale comments
9d2d4ec
better typing in csv_report()
a9f9984
prefer run_one/sequnce over bare run()
0818c16
prefer run_one/sequnce over bare run()
9e92339
Merge remote-tracking branch 'algorand/api-tightening' into exec-mult…
ca1a454
prefer run_one/sequence over plain run()
8b9c6c9
changelog
403278b
notebook as well
95f767c
addressing #38 mostly
87152ac
addressing #38 mostly
a68208e
test CI on py 3.11 as well
bb99b2d
Update CHANGELOG.md
tzaffi 4015202
Update graviton/blackbox.py
tzaffi 7aed927
remove todo's
6a82ebb
Merge branch 'main' into exec-multi-dispatch
cceea26
fix bad merge
4d4f869
Update CHANGELOG.md
tzaffi 6f8ba8b
version bump
73a0c78
Test against Py 11 + Reordering of Classes in blackbox.py
ba1e0ea
break up into inspectory.py
d4c8c11
finish refactor?
a6ac0b2
remove commentary
a264ec7
refer to 48 in changelog
8d2fa35
Merge branch 'prelude-to-45' into exec-multi-dispatch
eca2e51
merge in #48
5e30838
fix bad merge
8c87d53
Generic `OneOrMany[T]` and privates run
c08adcc
Update graviton/blackbox.py
tzaffi 14c7d04
Update graviton/blackbox.py
tzaffi 6e993bf
lint
53f44f1
run the wwinder dockerized algod
55b0572
faster better integration test environment
23615c1
better build
d4fa910
Merge branch 'prelude-to-45' into exec-multi-dispatch
5752e84
better build
4ef8ec8
Merge branch 'prelude-to-45' into exec-multi-dispatch
0fed894
Update .github/workflows/build.yml
tzaffi f4cb00f
Merge branch 'prelude-to-45' into exec-multi-dispatch
1da27b1
better build
41c4b09
Merge branch 'prelude-to-45' into exec-multi-dispatch
6d8a7e6
Merge branch 'algorand/main' into exec-multi-dispatch
ec3e059
Apply suggestions from code review
tzaffi c83018d
Update CHANGELOG.md
tzaffi ec2446c
changelog
4ca02c2
changelog
2e54952
add init typing
b891a5c
wrong type
e354e5b
break out ace.py from blackbox.py
18bf654
small refactorings
eb586f0
pin to a py-algorand-sdk branch with better type exports
6b28d01
modernize
fff32a2
class Simulation
dabe966
major trimming
1a5adab
rename ace_test --> abi_router_test and ace -> abi_args_strategy
ef00b14
removing validate_inputs() and run_sequence() from abi_args_ strateg…
0e4ec69
ready for pyteal
b91f9ce
removing
98f9032
addressed comment about untested pathway
96a5e28
addressed comment about untested pathway
b43c66a
Merge branch 'exec-multi-dispatch' into ace-for-pyteal
4dfdcde
Update tests/unit/encode_test.py
tzaffi 1945d85
Merge remote-tracking branch 'origin/exec-multi-dispatch' into ace-fo…
7bf103d
correct a comment
4c93051
Update tests/unit/encode_test.py
tzaffi abaeaf8
move ABIMethodCallStrategy into ab_strategy.py
31fc8c0
test AbiMethodCallStrategy's constructor
14045b8
Merge branch 'exec-multi-dispatch' into ace-for-pyteal
17fd8ac
improve after CR feedback
a316388
per CR: No need for `Optional[EncodingType]` as it already unions in …
0f7a363
rename obsolete objects in commentary
8bbd71f
Merge branch 'exec-multi-dispatch' into ace-for-pyteal
203e196
improve per CR observation
aede5ed
Merge branch 'exec-multi-dispatch' into ace-for-pyteal
d329fe8
better comment
97e2394
incorporate suggestion in CR
f7814c3
Merge branch 'exec-multi-dispatch' into ace-for-pyteal
3056799
Merge branch 'algorand/main' into ace-for-pyteal
862335b
ABIMethodCallStrategy doesn't actually need any teal!
f0dcd9d
reduce API surface area and CHANGELOG
6495cb3
ABIMethodCallStrategy -> ABICallStrategy bc we can't forget about bar…
4f8ef35
point to py-algorand-sdk@develop
77f92f4
DryRunTransactionParams.update()
2167435
unfreeze
1d53eb7
revert to pipy's py-algorand-sdk
94a7973
Update CHANGELOG.md
tzaffi d8541f2
improve update per CR suggestoin + add/refactor unit tests
9a735a5
better comment
809d544
update -> update_fields
dfc2f7b
pr CR biggest changes: ABICallStrategy generate + _inputs(), get -> g…
032f4e3
Apply suggestions from code review
tzaffi 8fb7b7f
change error message expectation for negative router tests
8f3e4fa
abstract CallStrategy + RandomArgLengthCallStrategyfor clear programs
95df768
improved typing
66b6c32
changelog
ec54e19
report the algod version (with commit hash)
05443eb
bug fix: dry run errors now in `app-call-messsages`
f286519
bug fix: dry run errors now in `app-call-messsages`
d42f18a
typo
371b248
comment per CR discussion
a1f5b37
changelog
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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no action needed, I see hypothesis cross the PR, together with TODO, are you referring to hypothesis https://hypothesis.readthedocs.io/en/latest/data.html?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Here's a nice video intro about it: https://www.youtube.com/watch?v=mkgd9iOiICc&ab_channel=ArjanCodes