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

SPIKE: Faster devnet startup in epoch 3.0 #1627

Open
smcclellan opened this issue Dec 16, 2024 · 1 comment
Open

SPIKE: Faster devnet startup in epoch 3.0 #1627

smcclellan opened this issue Dec 16, 2024 · 1 comment
Assignees

Comments

@smcclellan
Copy link
Contributor

smcclellan commented Dec 16, 2024

The devnet currently takes over a minute to start up, with built-in delays and several burn blocks needing to be processed. This is inefficient & creates a slow feedback loop for development.

One possible idea for making this quicker is to utilize snapshotting, storing the chainstate in the docker image.

Other features that might be useful here but may be outside initial scope are the ability to Save a chainstate and Load a chainstate.

Actions:

  • Experiment with docker volumes, see if we can save chainstate
    • Move all devnet data to write to same volume
  • Test devnet shutdown & startup ability
  • If it works:
    • Snapshot from docker volume
  • Download chainstate, see if it can be imported to devnet

@hugocaillard to add any extra details.

@github-project-automation github-project-automation bot moved this to 🆕 New in DevTools Dec 16, 2024
@smcclellan smcclellan moved this from 🆕 New to 📋 Backlog in DevTools Dec 16, 2024
@smcclellan smcclellan changed the title Faster devnet startup in epoch 3.0 SPIKE: Faster devnet startup in epoch 3.0 Dec 20, 2024
@smcclellan
Copy link
Contributor Author

Updated to a Spike to do an initial pass to determine what is required for this.

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

No branches or pull requests

2 participants