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

Child bounties comments #11053

Merged
merged 6 commits into from
Apr 16, 2022
Merged

Child bounties comments #11053

merged 6 commits into from
Apr 16, 2022

Conversation

nuke-web3
Copy link
Contributor

@nuke-web3 nuke-web3 commented Mar 16, 2022

Only comment changes, no logic impacted.

  • Use uniform notion of parent and child, no "master" or "general" entity referenced.
  • README updated to match comments.

* use uniform notion of parent and child, no "master" or "general" entity
* README updated to match comments
* `parent_index` used over simply `index`
@nuke-web3 nuke-web3 added A0-please_review Pull request needs code review. B3-apinoteworthy 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. I6-documentation Documentation needs fixing, improving or augmenting. labels Mar 16, 2022
frame/child-bounties/src/lib.rs Outdated Show resolved Hide resolved
frame/child-bounties/src/lib.rs Outdated Show resolved Hide resolved
Comment on lines +21 to +26
This pallet may opt into using a [`ChildBountyManager`] that enables bounties to be split into
sub-bounties, as children of anh established bounty (called the parent in the context of it's
children).

> NOTE: The parent bounty cannot be closed if it has a non-zero number of it has active child
> bounties associated with it.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

needs a check on my understanding

Copy link
Contributor

Choose a reason for hiding this comment

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

You are right:

T::ChildBountyManager::child_bounties_count(bounty_id) == 0,

@nuke-web3 nuke-web3 changed the title Child bounties comments, parent_index used Child bounties comments Mar 16, 2022
@nuke-web3 nuke-web3 added the A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). label Mar 16, 2022
@stale
Copy link

stale bot commented Apr 15, 2022

Hey, is anyone still working on this? Due to the inactivity this issue has been automatically marked as stale. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the A5-stale Pull request did not receive any updates in a long time. No review needed at this stage. Close it. label Apr 15, 2022
@stale stale bot removed the A5-stale Pull request did not receive any updates in a long time. No review needed at this stage. Close it. label Apr 16, 2022
@bkchr bkchr added the D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit label Apr 16, 2022
@bkchr
Copy link
Member

bkchr commented Apr 16, 2022

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

@bkchr
Copy link
Member

bkchr commented Apr 16, 2022

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot paritytech-processbot bot merged commit b7697f0 into master Apr 16, 2022
@paritytech-processbot paritytech-processbot bot deleted the ds/cb-comments branch April 16, 2022 09:55
godcodehunter pushed a commit to sensoriumxr/substrate that referenced this pull request Jun 22, 2022
* * formatting
* use uniform notion of parent and child, no "master" or "general" entity
* README updated to match comments
* `parent_index` used over simply `index`

* rm `parent_*` change

* parent_bounty_id

* parent_index rm

* fmt

* Apply suggestions from code review
DaviRain-Su pushed a commit to octopus-network/substrate that referenced this pull request Aug 23, 2022
* * formatting
* use uniform notion of parent and child, no "master" or "general" entity
* README updated to match comments
* `parent_index` used over simply `index`

* rm `parent_*` change

* parent_bounty_id

* parent_index rm

* fmt

* Apply suggestions from code review
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
* * formatting
* use uniform notion of parent and child, no "master" or "general" entity
* README updated to match comments
* `parent_index` used over simply `index`

* rm `parent_*` change

* parent_bounty_id

* parent_index rm

* fmt

* Apply suggestions from code review
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. 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 I6-documentation Documentation needs fixing, improving or augmenting.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants