Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Conversation

@liamaharon
Copy link
Contributor

@liamaharon liamaharon commented Apr 20, 2023

Per a suggestion from @kianenigma, adding a note to the balances currency implementation explaining that WithdrawReasons are intentionally ignored.

This is to help prevent possible developer confusion as they read the implementation.

@liamaharon liamaharon added A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Apr 20, 2023
@liamaharon liamaharon requested a review from kianenigma April 20, 2023 13:02
@liamaharon liamaharon added the D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit label Apr 20, 2023
@liamaharon liamaharon merged commit dad4092 into master Apr 21, 2023
@liamaharon liamaharon deleted the liam-withdraw-reason-note branch April 21, 2023 08:46
nathanwhit pushed a commit to nathanwhit/substrate that referenced this pull request Jul 19, 2023
* add withdrawreason note

* improve comment

* Update frame/balances/src/impl_currency.rs

Co-authored-by: Kian Paimani <[email protected]>

* cargo fmt +nightly

---------

Co-authored-by: Kian Paimani <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants