-
Notifications
You must be signed in to change notification settings - Fork 198
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
Accounts DB fixes + prints #2326
Accounts DB fixes + prints #2326
Conversation
iulianpascalau
commented
Sep 28, 2020
- removed some direct nil comparison in accounts DB
- added prints for IsValidator function
- added prints for IsValidator function
Config test upgrade
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.
👍
c10644b
@@ -200,6 +219,25 @@ func TestStakingUnstakingAndUnboundingOnMultiShardEnvironmentWithValidatorStatis | |||
|
|||
checkAccountsAfterStaking(t, nodes) | |||
|
|||
//manually setting every un-staked node status to inactive |
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.
Take out in a function. Duplicated code
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.
done.
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.
👍