Skip to content

feat(hardFork): optimize hard fork logic #5247

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

Merged
merged 5 commits into from
Jun 7, 2023

Conversation

jwrct
Copy link
Contributor

@jwrct jwrct commented May 30, 2023

What does this PR do?
Optimize the handling of some abnormal scenarios of hard fork.

Why are these changes required?

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@codecov-commenter
Copy link

codecov-commenter commented Jun 6, 2023

Codecov Report

Merging #5247 (939fdd3) into release_v4.7.2 (dcf8982) will decrease coverage by 0.14%.
The diff coverage is 78.18%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@                 Coverage Diff                  @@
##             release_v4.7.2    #5247      +/-   ##
====================================================
- Coverage             60.39%   60.26%   -0.14%     
- Complexity             9003     9006       +3     
====================================================
  Files                   836      836              
  Lines                 49681    49722      +41     
  Branches               5529     5542      +13     
====================================================
- Hits                  30007    29963      -44     
- Misses                17303    17397      +94     
+ Partials               2371     2362       -9     
Impacted Files Coverage Δ
common/src/main/java/org/tron/core/Constant.java 50.00% <ø> (ø)
.../src/main/java/org/tron/core/config/args/Args.java 60.01% <33.33%> (-0.08%) ⬇️
...va/org/tron/core/store/DynamicPropertiesStore.java 97.14% <62.50%> (-0.17%) ⬇️
...mework/src/main/java/org/tron/core/db/Manager.java 56.27% <70.00%> (+0.07%) ⬆️
...ain/java/org/tron/common/utils/ForkController.java 88.18% <87.50%> (+6.11%) ⬆️
...ava/org/tron/common/parameter/CommonParameter.java 57.46% <100.00%> (+0.24%) ⬆️

... and 16 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jwrct jwrct merged commit c20b9de into tronprotocol:release_v4.7.2 Jun 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.

4 participants