mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 11:27:58 +00:00
Merge branch 'update-wasm' of github.com:paritytech/polkadot into update-wasm
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -148,7 +148,7 @@ macro_rules! impl_stubs {
|
||||
};
|
||||
|
||||
let output = $invoke(input);
|
||||
Some($crate::codec::Slicable::to_vec(&output))
|
||||
Some($crate::codec::Slicable::encode(&output))
|
||||
}}
|
||||
}
|
||||
|
||||
|
||||
@@ -227,7 +227,7 @@ macro_rules! impl_stubs {
|
||||
};
|
||||
|
||||
let output = ($invoke)(input);
|
||||
let output = $crate::codec::Slicable::to_vec(&output);
|
||||
let output = $crate::codec::Slicable::encode(&output);
|
||||
let res = output.as_ptr() as u64 + ((output.len() as u64) << 32);
|
||||
|
||||
// Leak the output vector to avoid it being freed.
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user