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(LiteFullNode): remove LiteFullNodeTool #5650

Merged

Conversation

forfreeday
Copy link
Contributor

@forfreeday forfreeday commented Jan 5, 2024

What does this PR do?
1.Remove LiteFullNodeTool Code.
2.add test case

Why are these changes required?
LiteFullNodeTool functionality has been replaced by Toolkit.jar.

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@forfreeday forfreeday added this to the GreatVoyage-v4.7.4 milestone Jan 5, 2024
@@ -239,13 +239,11 @@ createScript(project, 'org.tron.program.SolidityNode', 'SolidityNode')
createScript(project, 'org.tron.program.FullNode', 'FullNode')
createScript(project, 'org.tron.program.KeystoreFactory', 'KeystoreFactory')
createScript(project, 'org.tron.program.DBConvert', 'DBConvert')
createScript(project, 'org.tron.tool.litefullnode.LiteFullNodeTool', 'LiteFullNodeTool')
Copy link
Contributor

Choose a reason for hiding this comment

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

Some comments should be updated such as this :

@@ -66,7 +66,6 @@ DB copy provides a helper which can copy LevelDB or RocksDB data quickly on the
java -jar Toolkit.jar db cp output-directory/database /tmp/databse
```


## DB Lite

DB lite provides lite database, parameters are compatible with previous `LiteFullNodeTool`.
Copy link
Contributor

Choose a reason for hiding this comment

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

LiteFullNodeTool has been removed ,is it reasonable to quote something not existed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This description is an indication to reference the previous LiteFullNodeTool instead of using the LiteFullNodeTool

@forfreeday forfreeday changed the base branch from develop to release_v4.7.4 January 16, 2024 13:48
@forfreeday forfreeday merged commit 4bb4922 into tronprotocol:release_v4.7.4 Jan 16, 2024
7 checks passed
@halibobo1205 halibobo1205 linked an issue Feb 7, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimize the efficiency of running LiteFullNode test cases
4 participants