Attribute Macro frame_support::pallet_macros::unbounded

source ·
Expand description

Declares a storage as unbounded in potential size.

When implementing the storage info (when #[pallet::generate_storage_info] is specified on the pallet struct placeholder), the size of the storage will be declared as unbounded. This can be useful for storage which can never go into PoV (Proof of Validity).


mod pallet {
	pub struct Pallet<T>(_);

	pub type MyStorage<T> = StorageValue<_, u32>;

Documentation for this macro can be found at frame_support::pallet_macros::unbounded.