cancan icon indicating copy to clipboard operation
cancan copied to clipboard

Stable map persistence

Open nicolas-martin opened this issue 4 years ago • 0 comments

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 avatar Nov 15 '21 09:11 nicolas-martin