mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 15:27:57 +00:00
* `ModuleId` to `PalletId` - part of #8372 * fix doc * move `PalletId` to `frame-support` * fix compile * fix tests * `ModuleId` to `PalletId` * subcommand `moduleid` to `palletid`
This commit is contained in:
@@ -96,13 +96,13 @@ impl pallet_balances::Config for Test {
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub const LotteryModuleId: ModuleId = ModuleId(*b"py/lotto");
|
||||
pub const LotteryPalletId: PalletId = PalletId(*b"py/lotto");
|
||||
pub const MaxCalls: usize = 2;
|
||||
pub const MaxGenerateRandom: u32 = 10;
|
||||
}
|
||||
|
||||
impl Config for Test {
|
||||
type ModuleId = LotteryModuleId;
|
||||
type PalletId = LotteryPalletId;
|
||||
type Call = Call;
|
||||
type Currency = Balances;
|
||||
type Randomness = TestRandomness<Self>;
|
||||
|
||||
Reference in New Issue
Block a user