Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request paritytech#141 from subspace/root-block-extrinsic-…
Browse files Browse the repository at this point in the history
…docs

Update `store_root_blocks` extrinsic docs
  • Loading branch information
nazar-pc authored Nov 18, 2021
2 parents c5d595e + 7e2f025 commit bc48573
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions crates/pallet-subspace/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,11 +477,8 @@ mod pallet {
Ok(())
}

/// Submit new root block to the blockchain. Contents of this extrinsic can't be verified in
/// the runtime at the moment, so that is done in block import pipeline instead.
///
/// This extrinsic must be called unsigned and it is expected that only block authors will
/// call it (validated in `ValidateUnsigned`).
/// Submit new root block to the blockchain. This is an inherent extrinsic and part of the
/// Subspace consensus logic.
#[pallet::weight((<T as Config>::WeightInfo::store_root_blocks(root_blocks.len()), DispatchClass::Mandatory, Pays::No))]
pub fn store_root_blocks(
origin: OriginFor<T>,
Expand Down

0 comments on commit bc48573

Please sign in to comment.