-
Notifications
You must be signed in to change notification settings - Fork 212
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
Common Validator utils #181
Conversation
event.returnValues.validator = address | ||
} | ||
} | ||
export const getValidatorList = async (address, eth) => commonGetValidatorList(address, eth, { logger: console }) |
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.
The getValidatorList
and getPastEvents
functions are left here (instead of removing it and importing from commons
everywhere), because it is mocked here:
And I failed to mock importing these from commons
in HomeStore
and ForeignStore
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.
Please do not merge without @patitonar's approval
Moved to commons:
parseValidatorEvent
andprocessValidatorsEvents
getValidatorList
getPastEvents
andgetDeployedAtBlock
getValidatorList