mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 06:01:06 +00:00
Expose BlockHashCount on system metadata constants (#5960)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user