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

Stable map persistence #39

Open
nicolas-martin opened this issue Nov 15, 2021 · 0 comments
Open

Stable map persistence #39

nicolas-martin opened this issue Nov 15, 2021 · 0 comments

Comments

@nicolas-martin
Copy link

This is more of a question than an issue. How is the state saved through deployments?
Should we call getState and setState "manually" before and after every deployment?

I'm guessing if should be implementing the save/restore ourselves if we wanted to do something similar?

https://github.com/dfinity/cancan/blob/main/backend/State.mo#L256-L262

@nicolas-martin nicolas-martin changed the title Stable map persistence fail Stable map persistence Nov 15, 2021
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

No branches or pull requests

1 participant