mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-21 18:09:55 +00:00
Declare Error type in decl_module! (#390)
* Declare Error type in decl_module! for parachain-systems * Declare Error type in decl_module! for xcm-handler
This commit is contained in:
1 parent
1d4c02cc4e
commit
cbd72e7ab8
2 files changed
+4
No files matched your search
@@ -79,6 +79,8 @@ decl_error! {
|
||||
|
||||
decl_module! {
|
||||
pub struct Module<T: Config> for enum Call where origin: T::Origin {
|
||||
type Error = Error<T>;
|
||||
|
||||
fn deposit_event() = default;
|
||||
|
||||
#[weight = 1_000]
|
||||
|
||||
Reference in new issue
Block a user