Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
PVF: Add missing crate descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnski committed Aug 7, 2023
1 parent c7f58c1 commit e07d12e
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions node/core/pvf-checker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "polkadot-node-core-pvf-checker"
description = "The PVF pre-checking subsystem. Responsible for checking and voting for PVFs that are pending approval."
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions node/core/pvf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "polkadot-node-core-pvf"
description = "The PVF validation host. Responsible for coordinating preparation and execution of PVFs."
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
1 change: 1 addition & 0 deletions node/core/pvf/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "polkadot-node-core-pvf-common"
description = "Contains functionality related to PVFs that is shared by the PVF host and the PVF workers."
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion node/core/pvf/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.

//! Functionality that is shared by the host and the workers.
//! Contains functionality related to PVFs that is shared by the PVF host and the PVF workers.

pub mod error;
pub mod execute;
Expand Down
1 change: 1 addition & 0 deletions node/core/pvf/execute-worker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "polkadot-node-core-pvf-execute-worker"
description = "Contains the logic for executing PVFs. Used by the polkadot-execute-worker binary."
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
2 changes: 2 additions & 0 deletions node/core/pvf/execute-worker/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.

//! Contains the logic for executing PVFs. Used by the polkadot-execute-worker binary.

pub use polkadot_node_core_pvf_common::executor_intf::Executor;

// NOTE: Initializing logging in e.g. tests will not have an effect in the workers, as they are
Expand Down
1 change: 1 addition & 0 deletions node/core/pvf/prepare-worker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "polkadot-node-core-pvf-prepare-worker"
description = "Contains the logic for preparing PVFs. Used by the polkadot-prepare-worker binary."
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
2 changes: 2 additions & 0 deletions node/core/pvf/prepare-worker/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.

//! Contains the logic for preparing PVFs. Used by the polkadot-prepare-worker binary.

mod executor_intf;
mod memory_stats;

Expand Down
2 changes: 1 addition & 1 deletion node/core/pvf/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#![warn(missing_docs)]

//! A crate that implements the PVF validation host.
//! The PVF validation host. Responsible for coordinating preparation and execution of PVFs.
//!
//! For more background, refer to the Implementer's Guide: [PVF
//! Pre-checking](https://paritytech.github.io/polkadot/book/pvf-prechecking.html) and [Candidate
Expand Down

0 comments on commit e07d12e

Please sign in to comment.