mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-28 14:39:49 +00:00
[client cli] generic blocknumber (#4376)
* rewrite me * [cli]: make `BlockNumber` generic * cleanup
This commit is contained in:
1 parent
e19f5adfb7
commit
7c6ad9dd1c
5 files changed
+54
-14
No files matched your search
@@ -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