Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Enable state dumping and loading #40

Merged
merged 12 commits into from
Feb 23, 2022
Merged

Enable state dumping and loading #40

merged 12 commits into from
Feb 23, 2022

Conversation

FabijanC
Copy link
Collaborator

@FabijanC FabijanC commented Feb 22, 2022

Usage changes

  • Allow dumping devnet to a path (check the updated Readme for more detail):
    • On exit
    • On each transaction
    • On request (using e.g. curl)
  • Allow loading devnet from a path

Development changes

  • Testing of this feature is added to .circleci/config.yml.
  • Change default initial sleep time for run_devnet_in_background.
  • Set pylint min-public-methods to 1

starknet_devnet/server.py Outdated Show resolved Hide resolved
test/util.py Outdated Show resolved Hide resolved
starknet_devnet/util.py Show resolved Hide resolved
starknet_devnet/util.py Show resolved Hide resolved
starknet_devnet/util.py Show resolved Hide resolved
starknet_devnet/starknet_wrapper.py Outdated Show resolved Hide resolved
starknet_devnet/server.py Show resolved Hide resolved
starknet_devnet/dump.py Outdated Show resolved Hide resolved
starknet_devnet/dump.py Outdated Show resolved Hide resolved
@FabijanC FabijanC merged commit 5c810b3 into master Feb 23, 2022
@FabijanC FabijanC deleted the state-save branch February 23, 2022 12:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants