mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-30 15:39:49 +00:00
Give more information why conversion between native and runtime failed (#3720)
* Give more information why conversion between native and runtime failed This adds the SCALE error description to the error when the conversion between native and runtime failed. * Fixes tests
This commit is contained in:
1 parent
98879a2bdb
commit
f6c4c47b50
10 files changed
+28
-25
No files matched your search
@@ -193,7 +193,7 @@ pub trait CodeExecutor<H: Hasher>: Sized + Send + Sync {
|
||||
fn call<
|
||||
E: Externalities<H>,
|
||||
R: codec::Codec + PartialEq,
|
||||
NC: FnOnce() -> Result<R, &'static str> + UnwindSafe,
|
||||
NC: FnOnce() -> Result<R, String> + UnwindSafe,
|
||||
>(
|
||||
&self,
|
||||
ext: &mut E,
|
||||
|
||||
Reference in new issue
Block a user