mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-27 21:09:57 +00:00
Disambiguate BlockNumber type in decl_module (#7061)
* Disambiguate `BlockNumber` type in `decl_module` * fix `frame-support-tests` * fix ui tests * fix trait order
This commit is contained in:
1 parent
5dc36072d9
commit
50568fcc19
19 files changed
+64
-53
No files matched your search
@@ -18,7 +18,7 @@ macro_rules! reserved {
|
||||
}
|
||||
|
||||
frame_support::decl_module! {
|
||||
pub struct Module<T: Trait> for enum Call where origin: T::Origin {
|
||||
pub struct Module<T: Trait> for enum Call where origin: T::Origin, system=self {
|
||||
#[weight = 0]
|
||||
fn $reserved(_origin) -> dispatch::DispatchResult { unreachable!() }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user