-
Notifications
You must be signed in to change notification settings - Fork 16
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
store: drop Init
function
#187
Comments
The only thing is that we've 1 usage in |
After a deeper look looks like we do not use I think this issues should be extended to something: store: drop WDYT ? |
Why not to keep this function for reuse purposes? We already use in one place and as you mentioned we could use it one more place? |
Yep, after hour of jumping back and forth all over the code looks like there is nothing we can do. We have a way to initialize store via header, via height. Better to leave it as it's for now. Closing. |
Looks like this function is just a test helper (used only in 1 place BTW). But also it looks orthogonal to the
Store
interface which already containsInit
method.I'm proposing to drop this function in favour of
NewStoreWithHead
which does the initialization.The text was updated successfully, but these errors were encountered: