feat(freezeV2): optimize Stake 2.0 APIs by lxcmyf · Pull Request #5260 · tronprotocol/java-tron
Navigation Menu
{{ message }}
tronprotocol / java-tron Public
- Notifications You must be signed in to change notification settings
- Fork 1.6k
Merged
halibobo1205 merged 1 commit intotronprotocol:release_v4.7.2from
Jun 7, 2023Merged
feat(freezeV2): optimize Stake 2.0 APIs#5260
halibobo1205 merged 1 commit intotronprotocol:release_v4.7.2from
feat(freezeV2): optimize Stake 2.0 APIs#5260
halibobo1205 merged 1 commit intotronprotocol:release_v4.7.2from
Conversation
Copy link
Contributor
What does this PR do?
Optimize cancelallunfreezev2 and delegateresource code logic
Why are these changes required?
This PR has been tested by:
- Unit Tests
- Manual Testing
Follow up
Extra details
lxcmyf
force-pushed
the
release_v4.7.2
branch
16 times, most recently
from
6619d31 to
4bd45d4
Compare
| break; | ||
| } | ||
| case ALLOW_OPTIMIZE_LOCK_DELEGATE_RESOURCE: { | ||
| case MAX_NUMBER_OF_LOCK_PERIOD: { |
Copy link
Contributor
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MAX_LOCK_PERIOD_FOR_DELEGATION maybe better?
lxcmyf
force-pushed
the
release_v4.7.2
branch
8 times, most recently
from
65bb5ef to
5be8621
Compare
tomatoishealthy approved these changes Jun 7, 2023
jwrct reviewed Jun 7, 2023
| @Setter | ||
| public long allowOptimizeLockDelegateResource; | ||
| public long maxDelegateLockPeriod; | ||
|
|
Copy link
Contributor
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the use of allowCancelAllUnfreezeV2 and maxDelegateLockPeriod.
halibobo1205 approved these changes Jun 7, 2023
lxcmyf
changed the title
feat(freezeV2): optimize some code logic
feat(freezeV2): optimize Stake 2.0 APIs
Signed-off-by: liuxincheng <lxcmyf@qq.com>
lxcmyf
force-pushed
the
release_v4.7.2
branch
from
5be8621 to
f4acc52
Compare
halibobo1205
merged commit
175059c
into
tronprotocol:release_v4.7.2
CooperDepp
mentioned this pull request
vivian1912
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment