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

Refactor and remove DBUtils #1135

Merged
merged 12 commits into from
Mar 20, 2020
Merged

Refactor and remove DBUtils #1135

merged 12 commits into from
Mar 20, 2020

Conversation

AlexandraRoatis
Copy link
Contributor

Type of change

  • Bug fix.
  • New feature.
  • Enhancement.
  • Unit test.
  • Breaking change (a fix or feature that causes existing functionality to not work as expected).
  • Requires documentation update.

@AlexandraRoatis AlexandraRoatis added the enhancement New feature or request label Mar 20, 2020
@AlexandraRoatis AlexandraRoatis added this to the 1.5 milestone Mar 20, 2020
@AlexandraRoatis AlexandraRoatis self-assigned this Mar 20, 2020
}

if (currentBlock % stepSize == 0) {
double time = System.currentTimeMillis() - start;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I prefer the calculation to use long directly. Even it has a little rounding issue.
But we can refactor it in a new task.

The estimate can be represent by TimeUnit conversion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added a Jira task for this and enhancing the time estimates

@@ -61,24 +62,39 @@ public static void printUsage(PrintStream stream, DevCLI instance) {
}

public static Cli.ReturnType printAccountDetails(String strAddress) {
// TODO: more parameters would be useful, e.g. get account X at block Y
Copy link
Collaborator

Choose a reason for hiding this comment

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

Convert TODO to a Jira ticket.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Collaborator

@AionJayT AionJayT left a comment

Choose a reason for hiding this comment

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

LGTM, only few comments can be the future tasks

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

Successfully merging this pull request may close these issues.

2 participants