Skip to content

Commit

Permalink
feat: adjust config params
Browse files Browse the repository at this point in the history
  • Loading branch information
devwckd committed Jan 3, 2025
1 parent 1082782 commit 09eec74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions runtime/src/configs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,11 @@ impl pallet_governance::Config for Runtime {

type DefaultProposalCost = ConstU128<{ as_tors(10_000) }>;

type DefaultProposalExpiration = ConstU64<130_000>;
type DefaultProposalExpiration = ConstU64<75_600>;

type DefaultAgentApplicationCost = ConstU128<{ as_tors(1_000) }>;

type DefaultAgentApplicationExpiration = ConstU64<2_000>;
type DefaultAgentApplicationExpiration = ConstU64<216_000>;

type DefaultProposalRewardTreasuryAllocation = DefaultProposalRewardTreasuryAllocation;

Expand Down
4 changes: 2 additions & 2 deletions test-utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@ impl pallet_governance::Config for Test {

type DefaultProposalCost = ConstU128<{ to_nano(10_000) }>;

type DefaultProposalExpiration = ConstU64<130_000>;
type DefaultProposalExpiration = ConstU64<75_600>;

type DefaultAgentApplicationCost = ConstU128<{ to_nano(1_000) }>;

type DefaultAgentApplicationExpiration = ConstU64<2_000>;
type DefaultAgentApplicationExpiration = ConstU64<216_000>;

type DefaultProposalRewardTreasuryAllocation = DefaultProposalRewardTreasuryAllocation;

Expand Down

0 comments on commit 09eec74

Please sign in to comment.