Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

experimental: rewrote ephemery retention scripts in typescript #1

Draft
wants to merge 2 commits into
base: unstable
Choose a base branch
from

Conversation

AdedamolaXL
Copy link

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

  • do we need to use sudo as it has been used for starting and stopping clients
  • the native retention scripts does not have a function for setting up a genesis, i have written one for this code.
    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 :/
  • also i am yet to figure out how the directory paths for the testnet and client are created automatically when you initialize a network using a client in the .ethereum folder

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

Successfully merging this pull request may close these issues.

1 participant