Skip to content

Commit

Permalink
Merge pull request #91 from Cerebellum-Network/fix/conventional-ddc-a…
Browse files Browse the repository at this point in the history
…ccounts-pallet-id

Camel case name for `ddc-accounts` pallet ID to prevent build time warning message
  • Loading branch information
khssnv authored Sep 22, 2023
2 parents 28fe7af + 1595cdf commit cb6f457
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/cere-dev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1329,19 +1329,19 @@ impl pallet_ddc_staking::Config for Runtime {
type DefaultStorageBondSize = DefaultStorageBondSize;
type DefaultStorageChillDelay = DefaultStorageChillDelay;
type RuntimeEvent = RuntimeEvent;
type StakersPayoutSource = Ddc_Accounts_Pallet_Id;
type StakersPayoutSource = DdcAccountsPalletId;
type UnixTime = Timestamp;
type WeightInfo = pallet_ddc_staking::weights::SubstrateWeight<Runtime>;
}

parameter_types! {
pub const Ddc_Accounts_Pallet_Id: PalletId = PalletId(*b"accounts"); // DDC maintainer's stake
pub const DdcAccountsPalletId: PalletId = PalletId(*b"accounts"); // DDC maintainer's stake
}

impl pallet_ddc_accounts::Config for Runtime {
type BondingDuration = BondingDuration;
type Currency = Balances;
type PalletId = Ddc_Accounts_Pallet_Id;
type PalletId = DdcAccountsPalletId;
type RuntimeEvent = RuntimeEvent;
}

Expand Down

0 comments on commit cb6f457

Please sign in to comment.