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

Consolidate state management methods into single method #135

Merged
merged 3 commits into from
Nov 15, 2021

Conversation

rekmarks
Copy link
Member

@rekmarks rekmarks commented Nov 12, 2021

Consolidates snap_updateState, getState, and clearState into a single restricted method, snap_manageState.

Motivated by the fact that these methods are practically useless by themselves, and likely to confuse developers and end users if kept separate.

@shanejonas
Copy link
Contributor

Looks good. This is a breaking change to existing snaps like filsnap we should mark that somewhere

@rekmarks rekmarks merged commit 0496150 into main Nov 15, 2021
@rekmarks rekmarks deleted the consolidate-state-management branch November 15, 2021 22:16
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 this pull request may close these issues.

2 participants