Skip to content

feat(LiteFullNodeTool): mark LiteFullNodeTool as deprecated - #5509

Merged
halibobo1205 merged 3 commits into
tronprotocol:release_v4.7.3from
forfreeday:feature/obsolete_code
Oct 7, 2023
Merged

halibobo1205 merged 3 commits into
tronprotocol:release_v4.7.3from
forfreeday:feature/obsolete_code

Conversation

@forfreeday

Copy link
Copy Markdown
Contributor

What does this PR do?

  1. mark LiteFullNodeTool status as obsolete
  2. mark LiteFullNodeToolTest as obsolete.

Why are these changes required?
to improve test case execution efficiency and shorten test case execution time.

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

1. mark `LiteFullNodeTool` status as obsolete
2. mark `LiteFullNodeToolTest` as obsolete.
@forfreeday forfreeday changed the title test(case): mark LiteFullNodeToolTest feature as obsolete. feat(LiteFullNodeTool): mark LiteFullNodeTool feature as obsolete. Sep 21, 2023
@forfreeday forfreeday changed the title feat(LiteFullNodeTool): mark LiteFullNodeTool feature as obsolete. feat(LiteFullNodeTool): mark LiteFullNodeTool feature as obsolete Sep 21, 2023

private void run(Args argv) {
logger.info("LiteFullNodeTool is an obsolete tool and is not recommended"
+ " to be used any more, please use the tool DbLite.");

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.

LiteFullNodeTool is deprecated and it will be removed in the next major release, use Toolkit.jar db lite instead, parameters are fully compatible.

}

private void run(Args argv) {
logger.info("LiteFullNodeTool is deprecated and it will be removed in the next major release,"

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.

Move to main is better?

logger.info("LiteFullNodeTool is deprecated and it will be removed in the next major release,"
+ " use Toolkit.jar db lite instead, parameters are fully compatible.");
Args argv = new Args();
CommonParameter.getInstance().setValidContractProtoThreadNum(1);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Validate

@halibobo1205 halibobo1205 changed the title feat(LiteFullNodeTool): mark LiteFullNodeTool feature as obsolete feat(LiteFullNodeTool): mark LiteFullNodeTool as deprecated Oct 7, 2023
@halibobo1205
halibobo1205 merged commit fe7715d into tronprotocol:release_v4.7.3 Oct 7, 2023
@halibobo1205 halibobo1205 added this to the GreatVoyage-v4.7.3 milestone Oct 7, 2023
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.

3 participants