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

Allow the treasury to have a maximum bound on the bond #10689

Merged
merged 2 commits into from
Jan 19, 2022

Conversation

gavofyork
Copy link
Member

@gavofyork gavofyork commented Jan 18, 2022

Polkadot companion: paritytech/polkadot#4739

Allow the treasury to have an upper limit to the size of bond required for proposals.

@gavofyork gavofyork added A0-please_review Pull request needs code review. B7-runtimenoteworthy 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 Jan 18, 2022
@gavofyork
Copy link
Member Author

CC @rrtti

frame/treasury/src/lib.rs Outdated Show resolved Hide resolved
@@ -199,6 +199,7 @@ As mentioned above, Bounties, Tips and Lottery have been extracted out of treasu
type OnSlash = ();
type ProposalBond = ProposalBond;
type ProposalBondMinimum = ProposalBondMinimum;
type ProposalBondMaximum = ();
type SpendPeriod = SpendPeriod;
type Burn = Burn;
+ type BurnDestination = ();
Copy link
Member

Choose a reason for hiding this comment

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

is this an actual + sign in the text?

@gavofyork gavofyork merged commit fed456f into master Jan 19, 2022
@gavofyork gavofyork deleted the gav-treasury-max-bond branch January 19, 2022 14:08
grishasobol pushed a commit to gear-tech/substrate that referenced this pull request Mar 28, 2022
)

* Allow the treasury to have a maximum bound on the bond

* Update frame/treasury/src/lib.rs

Co-authored-by: Keith Yeung <[email protected]>

Co-authored-by: Keith Yeung <[email protected]>
AurevoirXavier added a commit to darwinia-network/darwinia-common that referenced this pull request Sep 14, 2022
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
)

* Allow the treasury to have a maximum bound on the bond

* Update frame/treasury/src/lib.rs

Co-authored-by: Keith Yeung <[email protected]>

Co-authored-by: Keith Yeung <[email protected]>
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. 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