pub type FatWorkItem = GenericWorkItem<Vec<u8>>;Aliased Type§
struct FatWorkItem {
pub service: u32,
pub code_hash: CodeHash,
pub payload: WorkPayload,
pub gas_limit: i64,
pub import_segments: BoundedVec<ImportSpec, ConstU32<2048>>,
pub extrinsics: Vec<Vec<u8>>,
pub export_count: u16,
}Fields§
§service: u32Service identifier to which this work item relates.
code_hash: CodeHashThe service’s code hash at the time of reporting. This must be available in-core at the time of the lookup-anchor block.
payload: WorkPayloadPayload blob.
gas_limit: i64Gas limit to execute this work item.
import_segments: BoundedVec<ImportSpec, ConstU32<2048>>Sequence of imported data segments.
extrinsics: Vec<Vec<u8>>Extrinsics.
export_count: u16Number of segments exported by this work item.