mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
[client cli] generic blocknumber (#4376)
* rewrite me * [cli]: make `BlockNumber` generic * cleanup
This commit is contained in:
committed by
Bastian Köcher
parent
e19f5adfb7
commit
7c6ad9dd1c
@@ -172,7 +172,7 @@ pub trait Trait: 'static + Eq + Clone {
|
||||
/// The block number type used by the runtime.
|
||||
type BlockNumber:
|
||||
Parameter + Member + MaybeSerializeDeserialize + Debug + MaybeDisplay + SimpleArithmetic
|
||||
+ Default + Bounded + Copy + sp_std::hash::Hash;
|
||||
+ Default + Bounded + Copy + sp_std::hash::Hash + sp_std::str::FromStr;
|
||||
|
||||
/// The output of the `Hashing` function.
|
||||
type Hash:
|
||||
|
||||
Reference in New Issue
Block a user