Use PVF code paired with executor params wherever possible (#6742)

This commit is contained in:
s0me0ne-unkn0wn
2023-02-20 13:41:46 +01:00
committed by GitHub
parent bad4afca36
commit b13ba77a3b
11 changed files with 88 additions and 100 deletions
+1 -1
View File
@@ -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)?;