Skip to content

Commit d244219

Browse files
committed
Add docs
1 parent 1402e2d commit d244219

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

polkadot/node/core/pvf/src/host.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ impl ValidationHost {
140140
.map_err(|_| "the inner loop hung up".to_string())
141141
}
142142

143+
/// Sends validation code hashes with executor params to the validation host to check if
144+
/// appropriate artifacts were prepared. Hashes for unprepared artifacts are sent back.
145+
///
146+
/// Returns an error if the request cannot be sent to the validation host, i.e. if it shut down.
143147
pub async fn ensure_pvf(
144148
&mut self,
145149
code_hashes: Vec<ValidationCodeHash>,

0 commit comments

Comments
 (0)