Typeberry by Fluffy Labs - v0.4.0
    Preparing search index...

    Tuple of work-report, a credential and it's corresponding timeslot.

    https://graypaper.fluffylabs.dev/#/579bd12/147102149102

    Hierarchy (View Summary)

    Index

    Properties

    credentials: KnownSizeArray<Credential, "2" | "3">

    The credential is a sequence of two or three tuples of a unique validator index and a signature. Credentials must be ordered by their validator index.

    https://graypaper.fluffylabs.dev/#/579bd12/14b90214bb02

    report: WorkReport

    The work-report being guaranteed.

    slot: number & WithBytesRepresentation<4> & pvm.WithOpaque<"TimeSlot[u32]">

    Timeslot of the report.

    Codec: Descriptor<
        ReportGuarantee,
        ViewOf<
            ReportGuarantee,
            {
                credentials: Descriptor<
                    | readonly Credential[] & pvm.WithOpaque<"2">
                    | readonly Credential[] & pvm.WithOpaque<"3">,
                    SequenceView<
                        Credential,
                        ViewOf<
                            Credential,
                            {
                                signature: Descriptor<
                                    Bytes<64> & pvm.WithOpaque<"Ed25519Signature">,
                                    Bytes<64>,
                                >;
                                validatorIndex: Descriptor<
                                    number & WithBytesRepresentation<2> & pvm.WithOpaque<
                                        "ValidatorIndex[u16]",
                                    >,
                                    Bytes<2>,
                                >;
                            },
                        >,
                    >,
                >;
                report: Descriptor<
                    WorkReportNoCodec,
                    ViewOf<
                        WorkReportNoCodec,
                        {
                            authorizationGasUsed: Descriptor<
                                bigint & WithBytesRepresentation<8> & pvm.WithOpaque<
                                    "ServiceGas[u64]",
                                >,
                                U64,
                            >;
                            authorizationOutput: Descriptor<BytesBlob, BytesBlob>;
                            authorizerHash: Descriptor<
                                Bytes<32> & pvm.WithOpaque<"AuthorizerHash">,
                                Bytes<32>,
                            >;
                            context: Descriptor<
                                RefineContext,
                                ViewOf<
                                    RefineContext,
                                    {
                                        anchor: Descriptor<(...) & (...), Bytes<(...)>>;
                                        beefyRoot: Descriptor<(...) & (...), Bytes<(...)>>;
                                        lookupAnchor: Descriptor<(...) & (...), Bytes<(...)>>;
                                        lookupAnchorSlot: Descriptor<(...) & (...) & (...), Bytes<(...)>>;
                                        prerequisites: Descriptor<(...)[], SequenceView<(...), (...)>>;
                                        stateRoot: Descriptor<(...) & (...), Bytes<(...)>>;
                                    },
                                >,
                            >;
                            coreIndex: Descriptor<
                                number & WithBytesRepresentation<2> & pvm.WithOpaque<
                                    "CoreIndex[u16]",
                                >,
                                U32,
                            >;
                            results: Descriptor<
                                FixedSizeArray<WorkResult, U8>,
                                SequenceView<
                                    WorkResult,
                                    ViewOf<
                                        WorkResult,
                                        {
                                            codeHash: Descriptor<(...), (...)>;
                                            gas: Descriptor<(...), (...)>;
                                            load: Descriptor<(...), (...)>;
                                            payloadHash: Descriptor<(...), (...)>;
                                            result: Descriptor<(...), (...)>;
                                            serviceId: Descriptor<(...), (...)>;
                                        },
                                    >,
                                >,
                            >;
                            segmentRootLookup: Descriptor<
                                readonly WorkPackageInfo[],
                                SequenceView<
                                    WorkPackageInfo,
                                    ViewOf<
                                        WorkPackageInfo,
                                        {
                                            segmentTreeRoot: Descriptor<(...), (...)>;
                                            workPackageHash: Descriptor<(...), (...)>;
                                        },
                                    >,
                                >,
                            >;
                            workPackageSpec: Descriptor<
                                WorkPackageSpec,
                                ViewOf<
                                    WorkPackageSpec,
                                    {
                                        erasureRoot: Descriptor<Bytes<(...)>, Bytes<(...)>>;
                                        exportsCount: Descriptor<U16, Bytes<(...)>>;
                                        exportsRoot: Descriptor<(...) & (...), Bytes<(...)>>;
                                        hash: Descriptor<(...) & (...), Bytes<(...)>>;
                                        length: Descriptor<U32, Bytes<(...)>>;
                                    },
                                >,
                            >;
                        },
                    >,
                >;
                slot: Descriptor<
                    number & WithBytesRepresentation<4> & pvm.WithOpaque<"TimeSlot[u32]">,
                    Bytes<4>,
                >;
            },
        >,
    > = ...

    Methods