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

Commit

Permalink
Add a note about ValidationData
Browse files Browse the repository at this point in the history
  • Loading branch information
slumber committed Sep 1, 2021
1 parent 9d0de8f commit 262b88f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pallets/parachain-system/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,8 @@ pub mod pallet {
pub(super) type NewValidationCode<T: Config> = StorageValue<_, Vec<u8>, OptionQuery>;

/// The [`PersistedValidationData`] set for this block.
/// This value is expected to be set only once per block and it's never stored
/// in the trie.
#[pallet::storage]
#[pallet::getter(fn validation_data)]
pub(super) type ValidationData<T: Config> = StorageValue<_, PersistedValidationData>;
Expand Down

0 comments on commit 262b88f

Please sign in to comment.