mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 18:31:05 +00:00
* Companion pr for Substrate #5741 * update to substrate master Co-authored-by: André Silva <andre.beat@gmail.com>
This commit is contained in:
Generated
+134
-126
File diff suppressed because it is too large
Load Diff
@@ -183,7 +183,6 @@ pub fn validate_candidate_internal<E: Externalities + 'static>(
|
|||||||
// TODO: Make sure we don't use more than 1GB: https://github.com/paritytech/polkadot/issues/699
|
// TODO: Make sure we don't use more than 1GB: https://github.com/paritytech/polkadot/issues/699
|
||||||
Some(1024),
|
Some(1024),
|
||||||
HostFunctions::host_functions(),
|
HostFunctions::host_functions(),
|
||||||
false,
|
|
||||||
8
|
8
|
||||||
);
|
);
|
||||||
let res = executor.call_in_wasm(
|
let res = executor.call_in_wasm(
|
||||||
@@ -192,6 +191,7 @@ pub fn validate_candidate_internal<E: Externalities + 'static>(
|
|||||||
"validate_block",
|
"validate_block",
|
||||||
encoded_call_data,
|
encoded_call_data,
|
||||||
&mut ext,
|
&mut ext,
|
||||||
|
sp_core::traits::MissingHostFunctions::Allow,
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
ValidationResult::decode(&mut &res[..]).map_err(|_| Error::BadReturn.into())
|
ValidationResult::decode(&mut &res[..]).map_err(|_| Error::BadReturn.into())
|
||||||
|
|||||||
Reference in New Issue
Block a user