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

transactional: Fix some nitpicks #11163

Merged
merged 4 commits into from
Apr 4, 2022
Merged

transactional: Fix some nitpicks #11163

merged 4 commits into from
Apr 4, 2022

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Apr 4, 2022

This fixes some nitpicks related to the transactional storage stuff from me. As everything was
merged too fast, here are some nitpicks from me. First, the entire functionality is moved into its
own file to have a clear separation. Secondly I changed the set_transactional_level to not take
Layer by reference. Besides that I have added some docs etc.

This fixes some nitpicks related to the transactional storage stuff from me. As everything was
merged too fast, here are some nitpicks from me. First, the entire functionality is moved into its
own file to have a clear separation. Secondly I changed the `set_transactional_level` to not take
`Layer` by reference. Besides that I have added some docs etc.
@bkchr bkchr 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. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Apr 4, 2022
@bkchr bkchr requested review from shawntabrizi and athei April 4, 2022 11:54
Copy link
Member

@athei athei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@bkchr bkchr merged commit ad95f43 into master Apr 4, 2022
@bkchr bkchr deleted the bkchr-transactional-nitpicks branch April 4, 2022 20:28
DaviRain-Su pushed a commit to octopus-network/substrate that referenced this pull request Aug 23, 2022
* transactional: Fix some nitpicks

This fixes some nitpicks related to the transactional storage stuff from me. As everything was
merged too fast, here are some nitpicks from me. First, the entire functionality is moved into its
own file to have a clear separation. Secondly I changed the `set_transactional_level` to not take
`Layer` by reference. Besides that I have added some docs etc.

* Add some comment

* Move tests

* 🤦
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
* transactional: Fix some nitpicks

This fixes some nitpicks related to the transactional storage stuff from me. As everything was
merged too fast, here are some nitpicks from me. First, the entire functionality is moved into its
own file to have a clear separation. Secondly I changed the `set_transactional_level` to not take
`Layer` by reference. Besides that I have added some docs etc.

* Add some comment

* Move tests

* 🤦
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