-
Notifications
You must be signed in to change notification settings - Fork 104
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
feat(gear.exe): append slasher logic to middleware #4340
base: master
Are you sure you want to change the base?
Conversation
Now must be righ diff (master fully merged) |
assertEq(middleware.SLASHER_FACTORY(), address(sym.slasherFactory())); | ||
assertEq(middleware.OPERATOR_REGISTRY(), address(sym.operatorRegistry())); | ||
assertEq(middleware.COLLATERAL(), address(wrappedVara)); | ||
|
||
sym.networkRegistry().isEntity(address(middleware)); |
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.
sym.networkRegistry().isEntity(address(middleware)); | |
assertTrue(sym.networkRegistry().isEntity(address(middleware))); |
assertEq(middleware.getOperatorStakeAt(operator1, ts), 0); | ||
|
||
// Check that operator1 is not in active operators list | ||
(address[] memory active_operators, uint256[] memory stakes) = middleware.getActiveOperatorsStakeAt(ts); |
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.
(address[] memory active_operators, uint256[] memory stakes) = middleware.getActiveOperatorsStakeAt(ts); | |
(address[] memory activeOperators, uint256[] memory stakes) = middleware.getActiveOperatorsStakeAt(ts); |
No description provided.