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

Create module class, constants, schemas for validators module #6669

Closed
Tracked by #6668
shuse2 opened this issue Aug 20, 2021 · 0 comments · Fixed by #6748
Closed
Tracked by #6668

Create module class, constants, schemas for validators module #6669

shuse2 opened this issue Aug 20, 2021 · 0 comments · Fixed by #6748

Comments

@shuse2
Copy link
Collaborator

shuse2 commented Aug 20, 2021

Description

Create validators module and define constants and schema. Add validators module and constants.ts, schema.ts and types.ts under the folder as specified in https://research.lisk.com/t/introduce-validators-module/317.

  • Define store prefixes and invalid bls keys in constant.ts
  • Define all data type in types.ts
  • Define all schema for store in schema.ts

Implement init hook, and validate and store block time from the config in memory.

Acceptance Criteria

  • All 4 files exist in the validators module folder

Additional Information

  • Empty validator module file already exist
  • blockTime will be defined in moduleConfig.blockTime

Related issue: #6668

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants