mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 15:21:05 +00:00
Implement NativeExecutor, which attempts a native execution and falls back on Wasm otherwise.
This commit is contained in:
@@ -135,7 +135,7 @@ macro_rules! impl_stubs {
|
||||
$crate::Vec::from_raw_parts(input_data, input_len, input_len)
|
||||
};
|
||||
|
||||
let output = super::$name(input);
|
||||
let output = super::$name(&input[..]);
|
||||
&output[0] as *const u8 as u64 + ((output.len() as u64) << 32)
|
||||
}
|
||||
)*
|
||||
|
||||
Reference in New Issue
Block a user