Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.26 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.26 KB

Blocks History STF Test Vectors

Both JSON and SCALE formats conform to the specified ASN.1 schema provided here.

Input Origin

While the origin of the input data is irrelevant for these test vectors and has been randomly generated, it is important to outline the semantics of each input, as they play a crucial role in updating the state.

  • header_hash: The hash of the current block header being processed.
  • parent_state_root ($H_r$): The state root of the parent block, as found in the current block header.
  • accumulate_root: The Merkle root resulting from the accumulation process.
  • work_packages: A sequence of work package hashes.

MMR

The tests presented here are relatively straightforward, with the most significant aspect being the MMR (Merkle Mountain Range) update, which relies on the input accumulate_root.

Vectors