-
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
chore!: reorder Interface.decodeLog
arguments
#2874
Conversation
This reverts commit f3afbea8738c215e4df72ed3e24dcd4765dd35fe.
Coverage Report:
Changed Files:Coverage values did not change👌. |
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 bikeshedding here so this isn't a hill I'm willing to die on as you've got 2 approvals, but I don't think we should be making breaking changes just because something seems more correct. I don't think that's enough value to justify breaking consumer apps and them having to search or deduce a resolution. And we can rewrite the API in #1795. Thoughts?
@danielbate You're probably right. My guess is that the |
"@fuel-ts/account": patch | ||
--- | ||
|
||
chore!: reorder `Interface.decodeLog` arguments |
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.
Approving with a comment to hold auto-merge from kicking before conversations are settled.
@danielbate @arboleya this is a change we all agree is nice, so my reasoning is that we might as well do it now. As for #1795, I honestly believe that it won't introduce breaking changes except if we touch the design of the type-specific coders. We can have good progress by just changing how we do @arboleya I'm okay with closing this PR as well, it's not an important change and |
@nedsalk #1795 is a I'm pro closing this PR. I don't think the breakage justifies the value it delivers. |
I'd also favour closing this PR until v1 after reflection. Thoughts @nedsalk? |
There appears to consensus that we'll hold off on this change till: Closing until then. |
Summary
Having this order makes more sense.
Breaking Changes
The
Interface.decodeLog
arguments got reordered so that it now first accepts thelogId
and then the data.Checklist
tests
to prove my changesdocs