Companion for Generate storage info for pallet grandpa #9817 (#3892)

* Adding `MaxAuthorities` to pallet grandpa
This is neede after changes to substrate

* Adding `MaxAuthorities` to granda in test-runtime

* Missed one `MaxAuthorities`

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Georges
2021-09-22 11:28:59 +01:00
committed by GitHub
parent fd150db859
commit 9d7972ab79
7 changed files with 160 additions and 154 deletions
+154 -154
View File
File diff suppressed because it is too large Load Diff
@@ -353,6 +353,7 @@ impl pallet_grandpa::Config for Runtime {
type HandleEquivocation = ();
// TODO: update me (https://github.com/paritytech/parity-bridges-common/issues/78)
type WeightInfo = ();
type MaxAuthorities = MaxAuthorities;
}
parameter_types! {
+1
View File
@@ -803,6 +803,7 @@ impl pallet_grandpa::Config for Runtime {
>;
type WeightInfo = ();
type MaxAuthorities = MaxAuthorities;
}
/// Submits transaction with the node's public and signature type. Adheres to the signed extension
+1
View File
@@ -789,6 +789,7 @@ impl pallet_grandpa::Config for Runtime {
>;
type WeightInfo = ();
type MaxAuthorities = MaxAuthorities;
}
/// Submits a transaction with the node's public and signature type. Adheres to the signed extension
+1
View File
@@ -551,6 +551,7 @@ impl pallet_grandpa::Config for Runtime {
>;
type WeightInfo = ();
type MaxAuthorities = MaxAuthorities;
}
parameter_types! {
+1
View File
@@ -363,6 +363,7 @@ impl pallet_grandpa::Config for Runtime {
type HandleEquivocation = ();
type WeightInfo = ();
type MaxAuthorities = MaxAuthorities;
}
impl<LocalCall> frame_system::offchain::CreateSignedTransaction<LocalCall> for Runtime
+1
View File
@@ -522,6 +522,7 @@ impl pallet_grandpa::Config for Runtime {
>;
type WeightInfo = ();
type MaxAuthorities = MaxAuthorities;
}
/// Submits a transaction with the node's public and signature type. Adheres to the signed extension