-
Notifications
You must be signed in to change notification settings - Fork 204
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
ABI: Refactor ABI encoding test to round-trip #701
Merged
Merged
Conversation
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
ahangsu
approved these changes
Nov 30, 2022
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.
lgtm
algochoi
reviewed
Nov 30, 2022
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.
Looks like a good improvement, just want to check a testcase for something like tuple(int)
algochoi
approved these changes
Nov 30, 2022
algochoi
added a commit
that referenced
this pull request
Jan 18, 2023
* ABI: Refactor ABI encoding test to round-trip (#701) * bump version and add to changelog * update README.md for new version * Packaging: Improve source map and browser usage for external bundlers (#707) * bump version and add to changelog * update README.md for new version * v2: Make breaking changes from v1 to v2.0.0 (#717) * bump version and add to changelog * update README.md for new version * remove enhancement section of recent changelog * Enhancement: Add foreign array objects to ATC `addMethodCall` (#725) * Add foreign array objects to ATC addmethodcall * Copy array value so that inputs are not modified Co-authored-by: Michael Diamant <[email protected]> Co-authored-by: Lucky Baar <[email protected]> Co-authored-by: Jason Paulos <[email protected]> Co-authored-by: Jack Smith <[email protected]> Co-authored-by: Barbara Poon <[email protected]>
algochoi
added a commit
that referenced
this pull request
Jan 18, 2023
* Add test for algod /v2/teal/disassemble * Merge develop into PR (#736) * ABI: Refactor ABI encoding test to round-trip (#701) * bump version and add to changelog * update README.md for new version * Packaging: Improve source map and browser usage for external bundlers (#707) * bump version and add to changelog * update README.md for new version * v2: Make breaking changes from v1 to v2.0.0 (#717) * bump version and add to changelog * update README.md for new version * remove enhancement section of recent changelog * Enhancement: Add foreign array objects to ATC `addMethodCall` (#725) * Add foreign array objects to ATC addmethodcall * Copy array value so that inputs are not modified Co-authored-by: Michael Diamant <[email protected]> Co-authored-by: Lucky Baar <[email protected]> Co-authored-by: Jason Paulos <[email protected]> Co-authored-by: Jack Smith <[email protected]> Co-authored-by: Barbara Poon <[email protected]> * Explicitly import Buffer * Revert test branch back to master Co-authored-by: algochoi <[email protected]> Co-authored-by: Lucky Baar <[email protected]> Co-authored-by: Jason Paulos <[email protected]> Co-authored-by: Jack Smith <[email protected]> Co-authored-by: Barbara Poon <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Following #700, the PR replaces discrete encode and decode tests with a single test performing a round-trip encoding-decoding-encoding.
The intent is to:
Additionally, the PR refactors towards dynamically generated tests (https://mochajs.org/#dynamically-generating-tests) so that individual test case failures can be observed.