From 7217d43b7085286ca84b7649aa6d32016f0d307a Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Thu, 14 Sep 2023 14:45:33 +0200 Subject: [PATCH] add `AtLeast32BitUnsigned` trait bound for `Config::BlockNumber` --- primitives/src/config/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/primitives/src/config/mod.rs b/primitives/src/config/mod.rs index 15dd1492e..4c0604585 100644 --- a/primitives/src/config/mod.rs +++ b/primitives/src/config/mod.rs @@ -43,7 +43,8 @@ pub trait Config { + DeserializeOwned + core::hash::Hash + core::str::FromStr - + Into; + + Into + + AtLeast32BitUnsigned; /// The output of the `Hashing` function. type Hash: Debug