Expose BlockHashCount on system metadata constants (#5960)

This commit is contained in:
Jaco Greeff
2020-05-09 13:44:40 +02:00
committed by GitHub
parent e0b17dd7a9
commit c298b61375
+3
View File
@@ -481,6 +481,9 @@ decl_module! {
pub struct Module<T: Trait> for enum Call where origin: T::Origin {
type Error = Error<T>;
/// The maximum number of blocks to allow in mortal eras.
const BlockHashCount: T::BlockNumber = T::BlockHashCount::get();
/// The maximum weight of a block.
const MaximumBlockWeight: Weight = T::MaximumBlockWeight::get();