Skip to content
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

[manta] Adjust treasury and preimage pallets' deposits #406

Merged
merged 2 commits into from
Feb 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions runtime/calamari/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ parameter_types! {
pub const VotingPeriod: BlockNumber = 7 * DAYS;
pub const FastTrackVotingPeriod: BlockNumber = 3 * HOURS;
pub const InstantAllowed: bool = true;
pub const MinimumDeposit: Balance = 20 * KMA;
pub const MinimumDeposit: Balance = 1000 * KMA;
pub const EnactmentPeriod: BlockNumber = 1 * DAYS;
pub const CooloffPeriod: BlockNumber = 7 * DAYS;
pub const PreimageByteDeposit: Balance = deposit(0, 1);
Expand Down Expand Up @@ -497,8 +497,8 @@ impl pallet_membership::Config<TechnicalMembershipInstance> for Runtime {

parameter_types! {
pub const ProposalBond: Permill = Permill::from_percent(1);
pub const ProposalBondMinimum: Balance = 50 * KMA;
pub const ProposalBondMaximum: Balance = 1000 * KMA;
pub const ProposalBondMinimum: Balance = 500 * KMA;
pub const ProposalBondMaximum: Balance = 10_000 * KMA;
pub const SpendPeriod: BlockNumber = 6 * DAYS;
pub const Burn: Permill = Permill::from_percent(0);
pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry");
Expand Down Expand Up @@ -579,7 +579,7 @@ impl pallet_scheduler::Config for Runtime {

parameter_types! {
pub const PreimageMaxSize: u32 = 4096 * 1024;
pub const PreimageBaseDeposit: Balance = 1 * KMA;
pub const PreimageBaseDeposit: Balance = 1_000 * KMA;
}

impl pallet_preimage::Config for Runtime {
Expand Down
6 changes: 3 additions & 3 deletions runtime/dolphin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,8 @@ impl pallet_membership::Config<TechnicalMembershipInstance> for Runtime {

parameter_types! {
pub const ProposalBond: Permill = Permill::from_percent(1);
pub const ProposalBondMinimum: Balance = 50 * DOL;
pub const ProposalBondMaximum: Balance = 1000 * DOL;
pub const ProposalBondMinimum: Balance = 500 * DOL;
pub const ProposalBondMaximum: Balance = 10_000 * DOL;
pub const SpendPeriod: BlockNumber = 10 * MINUTES;
pub const Burn: Permill = Permill::from_percent(0);
pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry");
Expand Down Expand Up @@ -577,7 +577,7 @@ impl pallet_scheduler::Config for Runtime {

parameter_types! {
pub const PreimageMaxSize: u32 = 4096 * 1024;
pub const PreimageBaseDeposit: Balance = 1 * DOL;
pub const PreimageBaseDeposit: Balance = 1_000 * DOL;
}

impl pallet_preimage::Config for Runtime {
Expand Down
2 changes: 1 addition & 1 deletion runtime/manta/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ impl pallet_scheduler::Config for Runtime {

parameter_types! {
pub const PreimageMaxSize: u32 = 4096 * 1024;
pub const PreimageBaseDeposit: Balance = 1 * MANTA;
pub const PreimageBaseDeposit: Balance = 10 * MANTA;
// One cent: $10,000 / MB
pub const PreimageByteDeposit: Balance = 1 * cMANTA;
}
Expand Down