pub type PendingRegistrationOf<T> = PendingRegistration<<T as Config>::AccountId, <T as Config>::MaxHeadDataSize>;Expand description
PendingRegistration as this pallet stores it.
Aliased Type§
pub struct PendingRegistrationOf<T> {
pub message_id: u64,
pub manager: <T as Config>::AccountId,
pub genesis_head: BoundedVec<u8, <T as Config>::MaxHeadDataSize>,
pub code_hash: H256,
pub code_len: u32,
}Fields§
§message_id: u64The id of the [MessageToRelayV1::Register] that created this entry, echoed back in the
response once the code arrives.
manager: <T as Config>::AccountIdThe account managing this registration on the parachain.
genesis_head: BoundedVec<u8, <T as Config>::MaxHeadDataSize>The genesis head data, held here until the code arrives.
code_hash: H256Blake2-256 hash the validation code must have.
code_len: u32Exact length the validation code must have.
The parachain sized the manager’s deposit from this, so a blob of any other length would mean the manager underpaid, even if the hash somehow matched.