mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-22 12:37:59 +00:00
DispatchError::Module is now a tuple variant in latest Substrate (#439)
* ModuleError is now a tuple variant * more robust pointer to DispatchError * backward compat * clippy * cargo fmt * abort_call_site and simplify path comparison * clippy
This commit is contained in:
@@ -284,7 +284,7 @@ impl RuntimeGenerator {
|
||||
#types_mod
|
||||
|
||||
/// The default error type returned when there is a runtime issue.
|
||||
pub type DispatchError = self::runtime_types::sp_runtime::DispatchError;
|
||||
pub type DispatchError = #types_mod_ident::sp_runtime::DispatchError;
|
||||
|
||||
// Statically generate error information so that we don't need runtime metadata for it.
|
||||
#error_type
|
||||
|
||||
Reference in New Issue
Block a user