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

balances impl_currency WithdrawReasons note #13964

Merged
merged 4 commits into from
Apr 21, 2023

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 added the D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit label Apr 20, 2023
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
@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 <5588131+kianenigma@users.noreply.github.com>

* cargo fmt +nightly

---------

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
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.

3 participants