mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 20:21:06 +00:00
* migrate pallet-randomness-collective-flip to new pallet attr macro Signed-off-by: koushiro <koushiro.cqx@gmail.com> * fix some nits Signed-off-by: koushiro <koushiro.cqx@gmail.com> * fix Signed-off-by: koushiro <koushiro.cqx@gmail.com> * some nits Signed-off-by: koushiro <koushiro.cqx@gmail.com> * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+155
-155
File diff suppressed because it is too large
Load Diff
@@ -205,6 +205,8 @@ impl frame_system::Config for Runtime {
|
|||||||
type OnSetCode = ();
|
type OnSetCode = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_randomness_collective_flip::Config for Runtime {}
|
||||||
|
|
||||||
impl pallet_aura::Config for Runtime {
|
impl pallet_aura::Config for Runtime {
|
||||||
type AuthorityId = AuraId;
|
type AuthorityId = AuraId;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -212,6 +212,8 @@ impl frame_system::Config for Runtime {
|
|||||||
type OnSetCode = ();
|
type OnSetCode = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_randomness_collective_flip::Config for Runtime {}
|
||||||
|
|
||||||
impl pallet_aura::Config for Runtime {
|
impl pallet_aura::Config for Runtime {
|
||||||
type AuthorityId = AuraId;
|
type AuthorityId = AuraId;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -484,6 +484,8 @@ mod tests {
|
|||||||
type OnSetCode = ();
|
type OnSetCode = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_randomness_collective_flip::Config for Test {}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
pub const ExistentialDeposit: u64 = 1;
|
pub const ExistentialDeposit: u64 = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -192,6 +192,8 @@ impl frame_system::Config for Runtime {
|
|||||||
type OnSetCode = ();
|
type OnSetCode = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_randomness_collective_flip::Config for Runtime {}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) *
|
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) *
|
||||||
BlockWeights::get().max_block;
|
BlockWeights::get().max_block;
|
||||||
|
|||||||
@@ -177,6 +177,8 @@ impl frame_system::Config for Runtime {
|
|||||||
type OnSetCode = ();
|
type OnSetCode = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_randomness_collective_flip::Config for Runtime {}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) *
|
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) *
|
||||||
BlockWeights::get().max_block;
|
BlockWeights::get().max_block;
|
||||||
|
|||||||
@@ -161,6 +161,8 @@ impl<C> frame_system::offchain::SendTransactionTypes<C> for Runtime where
|
|||||||
type Extrinsic = UncheckedExtrinsic;
|
type Extrinsic = UncheckedExtrinsic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_randomness_collective_flip::Config for Runtime {}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
pub storage EpochDuration: u64 = EPOCH_DURATION_IN_SLOTS as u64;
|
pub storage EpochDuration: u64 = EPOCH_DURATION_IN_SLOTS as u64;
|
||||||
pub storage ExpectedBlockTime: Moment = MILLISECS_PER_BLOCK;
|
pub storage ExpectedBlockTime: Moment = MILLISECS_PER_BLOCK;
|
||||||
|
|||||||
@@ -183,6 +183,8 @@ impl frame_system::Config for Runtime {
|
|||||||
type OnSetCode = ();
|
type OnSetCode = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl pallet_randomness_collective_flip::Config for Runtime {}
|
||||||
|
|
||||||
parameter_types! {
|
parameter_types! {
|
||||||
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) *
|
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) *
|
||||||
BlockWeights::get().max_block;
|
BlockWeights::get().max_block;
|
||||||
|
|||||||
Reference in New Issue
Block a user