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

Create "state" and "cache" folders #925

Closed
webmaster128 opened this issue May 28, 2021 · 0 comments · Fixed by #964
Closed

Create "state" and "cache" folders #925

webmaster128 opened this issue May 28, 2021 · 0 comments · Fixed by #964
Assignees
Milestone

Comments

@webmaster128
Copy link
Member

For a node operator it should be obvious which disk content belongs to the state of the blockchain and what is caching data that is re-generated on demand. This distiction should also be more prominent in this code base. The future layout should look like this

base/
├── state/
│   └── wasm/
└── cache/
    └── modules/
        └── v1/

For state sync it will be necessary to copy the state, but not the cache: CosmWasm/wasmd#478

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 a pull request may close this issue.

2 participants