Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
x{stake,slash,gov,distrib} In-place Store Migrations #8504
x{stake,slash,gov,distrib} In-place Store Migrations #8504
Changes from 49 commits
10d72d7
8036fca
a9a406e
9ed3987
a095d3a
d550bff
b7141f9
2d554ce
3df3f44
ba6bd44
197b7ce
424932c
254a71f
b6c0714
9ab7f13
fc076f5
ae7b7dc
2c26734
eb15047
291a9e6
41d29ed
33494dc
e3a2412
6db31d4
55f547e
8f3b9d4
29b85b7
41e0339
d922003
f422b93
8cf88fe
5add13a
74b761a
2816a20
f18f253
9e5999e
b15f03d
236e46c
a52441e
b403770
9546583
33d4e70
9e5d611
518b878
9b625b0
2392629
c734484
9c11560
b0a665e
0e24bad
4942857
30d9045
828a41b
f3ca3e5
0e17848
95f524f
5456591
b5ff927
036bd30
21e8a15
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of enlarging the
Keeper
interface and responsibilities, let's create aMigrator
structure:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other idea is just to make this functions directly:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be ideal, but we can't access private
keeper.storeKey
there.OK for the Migrator way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
828a41b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to copy all this functions? For example, it seams that the function above is not used in migrations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, for legacy stuff, I'm not trying to optimize. Just copy-pasting the whole file seems easier than going through in details what's needed and what's not.
lmk what you think.
This file was deleted.