-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat!: v1
encoding and encoding improvements
#1780
Conversation
…/feat/v1-encoding-improvements
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.
This kind of renaming will likely turn this PR into a breaking change, no?
v1
encoding and encoding improvementsv1
encoding and encoding improvements
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!
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.
I'm a huge fan of your work sir @danielbate 👏🏻
6b0ea22
Coverage Report:
Changed Files:
|
Following the process set out in #1672, this PR introduces encoding support following the
v1
specification. Currently this is just unit tested asv1
encode has not yet been supported in contract calls.This PR also introduces multiple version support through
getEncodingStrategy
. There is alot of room for improvement withingetCoderV1
however this will be refactored, as discussed in #1672.This PR lays the foundations for #1739 and #1749, once those have been unblocked by the Sway encoding PRs.
Breaking Change
As we would like towards a more functional approach, and given
abi-coder
is subject to a lot of change at the moment, I have moved the package to the correct naming conventions for classes and functions.