Skip to content

Refactor and remove DBUtils#1135

Merged
AlexandraRoatis merged 12 commits intomasterfrom
AKI-679
Mar 20, 2020
Merged

Refactor and remove DBUtils#1135
AlexandraRoatis merged 12 commits intomasterfrom
AKI-679

Conversation

@AlexandraRoatis
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

}

public static Cli.ReturnType printAccountDetails(String strAddress) {
// TODO: more parameters would be useful, e.g. get account X at block Y
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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