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

Commit bc48573

Browse files
authored
Merge pull request paritytech#141 from subspace/root-block-extrinsic-docs
Update `store_root_blocks` extrinsic docs
2 parents c5d595e + 7e2f025 commit bc48573

File tree

1 file changed

+2
-5
lines changed
  • crates/pallet-subspace/src

1 file changed

+2
-5
lines changed

crates/pallet-subspace/src/lib.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -477,11 +477,8 @@ mod pallet {
477477
Ok(())
478478
}
479479

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

0 commit comments

Comments
 (0)