-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refac(pallets/subspace): group burn related values into BurnConfig
#100
Conversation
@@ -211,7 +230,8 @@ impl<T: Config> Pallet<T> { | |||
FloorDelegationFee::<T>::put(delegation_fee) | |||
} | |||
|
|||
// Proposals | |||
// | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esse comment aqui dawg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PAISAO
7f895fd
to
831ef18
Compare
pallets/subspace/src/global.rs
Outdated
@@ -162,6 +190,9 @@ impl<T: Config> Pallet<T> { | |||
Self::set_proposal_cost(params.proposal_cost); | |||
Self::set_proposal_expiration(params.proposal_expiration); | |||
Self::set_proposal_participation_threshold(params.proposal_participation_threshold); | |||
|
|||
// burn | |||
let _ = params.burn_config.apply(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can call expect
here
831ef18
to
f0a1afa
Compare
…100) * refac: move burn related params to BurnConfig * fix: rename removed subnets storage value * chore: make clippy happy * chore: add changelog --------- Co-authored-by: saiintbrisson <[email protected]>
…100) * refac: move burn related params to BurnConfig * fix: rename removed subnets storage value * chore: make clippy happy * chore: add changelog --------- Co-authored-by: saiintbrisson <[email protected]>
…100) * refac: move burn related params to BurnConfig * fix: rename removed subnets storage value * chore: make clippy happy * chore: add changelog --------- Co-authored-by: saiintbrisson <[email protected]>
…100) * refac: move burn related params to BurnConfig * fix: rename removed subnets storage value * chore: make clippy happy * chore: add changelog --------- Co-authored-by: saiintbrisson <[email protected]>
This PR:
Part of #94