mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 04:11:07 +00:00
Update Substrate & Polkadot (#84)
This commit is contained in:
@@ -57,7 +57,6 @@ fn call_validate_block(
|
||||
WasmExecutionMethod::Interpreted,
|
||||
Some(1024),
|
||||
sp_io::SubstrateHostFunctions::host_functions(),
|
||||
false,
|
||||
1,
|
||||
);
|
||||
|
||||
@@ -67,6 +66,7 @@ fn call_validate_block(
|
||||
"validate_block",
|
||||
¶ms,
|
||||
&mut ext_ext,
|
||||
sp_core::traits::MissingHostFunctions::Disallow,
|
||||
)
|
||||
.map(|v| ValidationResult::decode(&mut &v[..]).expect("Decode `ValidationResult`."))
|
||||
.map(|v| Header::decode(&mut &v.head_data.0[..]).expect("Decode `Header`."))
|
||||
|
||||
Reference in New Issue
Block a user