-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: deprecate bech32 addresses #3204
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
CodSpeed Performance ReportMerging #3204 will degrade performances by 31.31%Comparing Summary
Benchmarks breakdown
|
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.
@maschad Why are we adding @deprecated
to toEvmAddress
, toBytes
, toAssetId
? These methods will continue to exist.
Also, I understand that toB256
should be deprecated, as it won't be required anymore when we drop the use of bech32. However, every @deprecated
tag is recommending this method, which is also being deprecated. Isn't that misleading?
With the exception of
That's a valid point, I've updated the language 43ae005 |
This comment was marked as resolved.
This comment was marked as resolved.
@Torres-ssf I suppose since the method name nor signatures will change (although the internal logic will) , you're correct we shouldn't deprecate them 👍🏾 |
"@fuel-ts/errors": patch | ||
--- | ||
|
||
chore: deprecate bech32 addresses |
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.
Warning
Please do not merge this PR until further notice.
This is a hot topic, and there's been some last-minute pondering about this deprecation.
I'll reply to or close this comment with news once there is a consensus about it.
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.
Converting this to a draft until we have an consensus around this.
Coverage Report:
Changed Files:Coverage values did not change👌. |
bech32
address format #3203Release notes
In this release, we:
bech32Address
type in favour of hexadecimal address format going forward.Summary
This PR uses adds the
deprecated
JS-doc tag as well as makes note in the relevant documentation of the deprecation notice.Checklist