Skip to content
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: Make roundInfo optional in databaseService.getActiveDelegates() #3276

Merged
merged 7 commits into from
Nov 20, 2019

Conversation

deanpress
Copy link
Contributor

@deanpress deanpress commented Nov 18, 2019

Summary

roundInfo currently needs to be supplied to getActiveDelegates(roundInfo).

This PR makes roundInfo optional.

If roundInfo is not supplied, the method uses the roundInfo from the latest block in the database instead.

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@ghost
Copy link

ghost commented Nov 18, 2019

Thanks for submitting this pull request! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.

If no reviewer appears after a week, a reminder will be sent out.

@ghost ghost added the Complexity: Low label Nov 18, 2019
@deanpress deanpress changed the title Make roundInfo optional in databaseService.getActiveDelegates() chore: Make roundInfo optional in databaseService.getActiveDelegates() Nov 18, 2019
@deanpress deanpress changed the title chore: Make roundInfo optional in databaseService.getActiveDelegates() feat: Make roundInfo optional in databaseService.getActiveDelegates() Nov 18, 2019
@ghost
Copy link

ghost commented Nov 19, 2019

Your pull request doesn't have a test case, which is a requirement for it to be merged. Please provide it and one of the developers will review it before merging.

Copy link
Contributor

@faustbrian faustbrian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs tests before it can be merged.

@deanpress deanpress requested a review from faustbrian November 19, 2019 18:42
@ghost
Copy link

ghost commented Nov 20, 2019

A collaborator has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait.

Thank you for your contribution!

@faustbrian faustbrian merged commit 68c108a into ArkEcosystem:develop Nov 20, 2019
@ghost
Copy link

ghost commented Nov 20, 2019

Your pull request has been merged and marked as tier 4. It will earn you $20 USD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants