Implement MaxEncodedLen on pallet-beefy (#11584)

* Implement MaxEncodedLen on pallet-beefy

* Return Result in intialize_authorities

* Update docs

* Log error when authorities list gets truncated

* Update frame/beefy/src/lib.rs

Co-authored-by: Adrian Catangiu <adrian@parity.io>

* cargo fmt

Co-authored-by: Adrian Catangiu <adrian@parity.io>
This commit is contained in:
Keith YeungandAdrian Catangiu authored and GitHub committed 2022-06-13 17:53:07 +00:00
1 parent 2d6b0ecc21
commit 4e2fb0af60
4 files changed
+73 -24

No files matched your search

+1
View File
@@ -124,6 +124,7 @@ impl pallet_mmr::Config for Test {
impl pallet_beefy::Config for Test {
type BeefyId = BeefyId;
type MaxAuthorities = ConstU32<100>;
}
parameter_types! {