Skip to content

Commit

Permalink
Expose BlockHashCount on system metadata constants (paritytech#5960)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr authored and emostov committed May 10, 2020
1 parent ddbd5f7 commit d30401f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frame/system/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit d30401f

Please sign in to comment.