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

Support loading devnet state from path #54

Open
antazoey opened this issue Jul 3, 2022 · 0 comments
Open

Support loading devnet state from path #54

antazoey opened this issue Jul 3, 2022 · 0 comments
Labels
size: 3 pieces Moderately challenging, well-defined, may require a bit of research

Comments

@antazoey
Copy link
Member

antazoey commented Jul 3, 2022

Overview

Support the --load-path LOAD_PATH flag argument in the starknet-devnet subprocess for local network.

Specification

  • The user can save a state file (JSON?) and use the config starknet: local: state: path/to/file and have it always use that state when starting.
  • When using the networks context manager, the user can set chain state in the provider_settings kwarg to allow loading the starknet devnet provider from a state.
  • When the user calls provider.update_settings() with new state, the process gets restarted with that new state.

Dependencies

Include links to any open issues that must be resolved before this feature can be implemented.

@antazoey antazoey added size: 2 pieces Relatively easy, but requires some thought size: 5 pieces Challenging, not as well defined, may require help from senior eng size: 3 pieces Moderately challenging, well-defined, may require a bit of research and removed size: 2 pieces Relatively easy, but requires some thought size: 5 pieces Challenging, not as well defined, may require help from senior eng labels Aug 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
size: 3 pieces Moderately challenging, well-defined, may require a bit of research
Projects
None yet
Development

No branches or pull requests

1 participant