Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Files

Latest commit

eff5d46 · Dec 6, 2023

History

History

protocol-specs

Test Generators for Lisk Protocol

This directory contains all the generators for JSON tests, consumed by Lisk Core client implementations.

How to run generators

Running all test generators

This runs all of the generators.

$ cd protocol-specs
$ npm run generate-all-specs

Running a single generator

To run a single generator execute the following commands replacing generator_name with the name of the generator you wish to run:

$ cd protocol-specs/generators/{generator_name}
$ node index.js

Spec JSON Schema

You can find the schema specification for the spec of specs here. All JSON files produced from generators must validated against these specs.