experimental: rewrote ephemery retention scripts in typescript #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Rewriting the retention scripts in typescript
Description
Towards a greater understanding of how to implement the genesis + reset process for ephemery, i have rewritten the native retention scripts as written by pk in shell, here i have stripped the code down to just apply to a consensus client (lodestar)
Expected Solution
Hopefully we can use some of this code to build the ephemery package itself, if not we should be able to learn one or two from it, or at least know why it won't work!
**Some problems i am ruminating over
still i wonder why ? what i found is that lodestar doesn't need to have a genesis file but that doesn't make sense within the context of our project :/