Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.81 KB

README.md

File metadata and controls

50 lines (37 loc) · 1.81 KB

Authorizations STF Test Vectors

We offer two types of test vectors:

  • Tiny: These are designed for quick adjustments and prototyping, with reduced cores count (2)
  • Full: These vectors use production cores count (341).

Both JSON and SCALE formats conform to the JAM ASN.1 schema and this subsystem STF specific schema.

Guarantees Extrinsic Input

Each item in the Guarantees Extrinsic ($E_G$) contains numerous fields that are not directly relevant for advancing the authorizations subsystem's STF. Since these fields would only be populated with placeholder data in this context, we opted to select only the essential fields from each $E_G$ item to construct what we refer to as the CoreAuthorizer, ensuring the input remains clear and concise.

For $g \equiv E_G[i]$, the corresponding CoreAuthorizer is constructed as follows:

CoreAuthorizer {
    core: g.w.c,      // work report core
    auth-hash: g.w.a  // work report authorizer hash
}

This mapping is explicitly defined in the CoreAuthorizers section of the authorizations ASN.1 schema.

In the following vectors, when we refer to "guarantees," we are specifically referencing the corresponding CoreAuthorizers extracted from $E_G$.

Tiny Vectors

Full Vectors

Currently, the same test cases as tiny vectors but at a larger scale.