-
Notifications
You must be signed in to change notification settings - Fork 60
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
Stake contract migration #1464
Stake contract migration #1464
Conversation
df33294
to
9d9b69e
Compare
5c93392
to
0a84a90
Compare
Can you target "ITN" branch for this PR? |
Blocked by #1516 |
8bd7218
to
262feb7
Compare
0b454a3
to
06b698e
Compare
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.
Migration should not be triggered by rusk, it should be triggered by the chain.
Therefore there is no need to pass migration height to rusk, but it should be configure into the chain.
Furthermore, any state transition should accept a closure to execute before create or check the state root (this closure will be the migration code triggered by the chain)
c587a32
to
109dcc5
Compare
837679f
to
6c1612a
Compare
Tracking down migration results on
|
Changes in contract have been implemented. Still missing the rusk part, but we can consider this not blocked anymore |
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.
Some questions
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.
Approved for ITN
Stake contract migration
Implements issue #1448
Migration is not active unless an argument
--migration-height N
is given