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

Refactor snapshotting into reusable module #161

Closed
ethanfrey opened this issue Dec 9, 2020 · 0 comments · Fixed by #164
Closed

Refactor snapshotting into reusable module #161

ethanfrey opened this issue Dec 9, 2020 · 0 comments · Fixed by #164

Comments

@ethanfrey
Copy link
Member

Follow up on #160

Make this a storage-plus wrapper around a Map. (Bonus: ideally around indexed map as well)

Configure:

  • Checkpoint every block
  • Checkpoint only selected blocks (with add/remove checkpoint calls)
  • Checkpoint nothing (this is just the wrapped type)

We don't really need to implement the last case, but allows us to use the same type and switch behavior based on InitMsg - as discussed here: #160 (comment)

@ethanfrey ethanfrey added this to To do in Contract development via automation Dec 9, 2020
@ethanfrey ethanfrey moved this from To do to In progress in Contract development Dec 9, 2020
This was referenced Dec 9, 2020
Contract development automation moved this from In progress to Done Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant