Skip to content

Commit

Permalink
fix: 🎨 adjust funding proposal parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ignazio-bovo committed Jun 4, 2024
1 parent e193904 commit 770d3a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1682,7 +1682,7 @@ parameter_types! {
// Make sure to stay below MAX_BLOCK_SIZE of substrate consensus of ~4MB
// The new compressed wasm format is much smaller in size ~ 1MB
pub const RuntimeUpgradeWasmProposalMaxLength: u32 = DispatchableCallCodeMaxLen::get();
pub const FundingRequestProposalMaxTotalAmount: Balance = dollars!(10_000);
pub const FundingRequestProposalMaxTotalAmount: Balance = 10_000_000_000_000_000.into(); // 1 million JOY
pub const FundingRequestProposalMaxAccounts: u32 = 20;
pub const SetMaxValidatorCountProposalMaxValidators: u32 = 100;
}
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/proposals_configuration/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub(crate) fn funding_request_proposal() -> ProposalParameters<BlockNumber, Bala
approval_threshold_percentage: TWO_OUT_OF_THREE,
slashing_quorum_percentage: ALL,
slashing_threshold_percentage: ALL,
required_stake: Some(dollars!(10)),
required_stake: Some(350_000_000_000.into()), // 3500 JOY
constitutionality: 1,
}
}
Expand Down

0 comments on commit 770d3a2

Please sign in to comment.