dfinity / cancan

A scalable video sharing service.

Home Page:http://sdk.dfinity.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stable map persistence

nicolas-martin opened this issue · 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