Type Alias set_validation_data
set_validation_data: TxDescriptor<{
data: {
downward_messages: {
msg: Binary;
sent_at: number;
}[];
horizontal_messages: [number, {
data: Binary;
sent_at: number;
}[]][];
relay_chain_state: Binary[];
validation_data: {
max_pov_size: number;
parent_head: Binary;
relay_parent_number: number;
relay_parent_storage_root: FixedSizeBinary<32>;
};
};
}>
Set the current validation data.
This should be invoked exactly once per block. It will panic at the finalization phase if the call was not invoked.
The dispatch origin for this call must be
Inherent
As a side effect, this function upgrades the current validation function if the appropriate time has come.