"refund" proof size in GRANDPa pallet (#1863)

* "refund" proof size in GRANDPa pallet

* clippy

* extra_proof_size_bytes_works

* use saturated_into

* fix review comments
This commit is contained in:
Svyatoslav Nikolsky
2023-02-09 14:09:37 +03:00
committed by Bastian Köcher
parent e75d872aa7
commit bae329c66e
3 changed files with 97 additions and 8 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ pub type TestNumber = crate::BridgedBlockNumber<TestRuntime, ()>;
type Block = frame_system::mocking::MockBlock<TestRuntime>;
type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<TestRuntime>;
pub const MAX_BRIDGED_AUTHORITIES: u32 = 2048;
pub const MAX_BRIDGED_AUTHORITIES: u32 = 5;
use crate as grandpa;