referrerpolicy=no-referrer-when-downgrade

head_data_len

Function head_data_len 

Source
pub fn head_data_len<AccountId>(message: &MessageToRelay<AccountId>) -> u32
Expand description

How much head data a message carries, for weighing Pallet::authorize_code.

Worth doing rather than always charging MaxHeadDataSize: that bound is a megabyte on production relay chains, and a typical genesis head is nowhere near it.