mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 12:51:05 +00:00
Use PVF code paired with executor params wherever possible (#6742)
This commit is contained in:
@@ -37,7 +37,7 @@ pub fn validate_candidate(
|
||||
.expect("Decompressing code failed");
|
||||
|
||||
let blob = prevalidate(&code)?;
|
||||
let artifact = prepare(blob, ExecutorParams::default())?;
|
||||
let artifact = prepare(blob, &ExecutorParams::default())?;
|
||||
let tmpdir = tempfile::tempdir()?;
|
||||
let artifact_path = tmpdir.path().join("blob");
|
||||
std::fs::write(&artifact_path, &artifact)?;
|
||||
|
||||
Reference in New Issue
Block a user