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

    Votes by super majority of the validator set (either using keys from current epoch or previous) over validity or invalidity of a particular [WorkReport].

    https://graypaper.fluffylabs.dev/#/1c979cb/121c01122f01?v=0.7.1

    Hierarchy (View Summary)

    Index

    Properties

    votes: readonly Judgement[] & pvm.WithOpaque<"Validators super majority">

    Votes coming from super majority of validators.

    NOTE: must be ordered by validator index. https://graypaper.fluffylabs.dev/#/1c979cb/12b10212b202?v=0.7.1

    votesEpoch: number & WithBytesRepresentation<4> & pvm.WithOpaque<"Epoch">

    The epoch from which the validators signed the votes.

    Must either be the previous epoch or one before that.

    workReportHash: OpaqueHash & pvm.WithOpaque<"WorkReportHash">

    Hash of the work report the verdict is for.

    Codec: Descriptor<
        Verdict,
        ViewOf<
            Verdict,
            {
                votes: Descriptor<
                    readonly Judgement[] & pvm.WithOpaque<"Validators super majority">,
                    SequenceView<
                        Judgement,
                        ViewOf<
                            Judgement,
                            {
                                index: Descriptor<
                                    number & WithBytesRepresentation<2> & pvm.WithOpaque<
                                        "ValidatorIndex[u16]",
                                    >,
                                    Bytes<2>,
                                >;
                                isWorkReportValid: Descriptor<boolean, boolean>;
                                signature: Descriptor<
                                    Bytes<64> & pvm.WithOpaque<"Ed25519Signature">,
                                    Bytes<64>,
                                >;
                            },
                        >,
                    >,
                >;
                votesEpoch: Descriptor<
                    number & WithBytesRepresentation<4> & pvm.WithOpaque<"Epoch">,
                    Bytes<4>,
                >;
                workReportHash: Descriptor<
                    Bytes<32> & pvm.WithOpaque<"WorkReportHash">,
                    Bytes<32>,
                >;
            },
        >,
    > = ...

    Methods