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: schedule create throttling #9994
Conversation
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
@jsync-swirlds regarding the Notes for reviewer section: should we create issues for those two items now or they are not planned to be part of the initial modularization release? cc @netopyr |
The ScheduleSign throttling needs to be done to maintain network limits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few clarifying questions.
hedera-node/hedera-app/src/main/java/com/hedera/node/app/throttle/ThrottleAccumulator.java
Outdated
Show resolved
Hide resolved
hedera-node/hedera-app/src/main/java/com/hedera/node/app/throttle/ThrottleAccumulator.java
Outdated
Show resolved
Hide resolved
hedera-node/hedera-app/src/main/java/com/hedera/node/app/throttle/ThrottleAccumulator.java
Outdated
Show resolved
Hide resolved
hedera-node/hedera-app/src/main/java/com/hedera/node/app/throttle/ThrottleAccumulator.java
Outdated
Show resolved
Hide resolved
hedera-node/hedera-app/src/main/java/com/hedera/node/app/throttle/ThrottleAccumulator.java
Show resolved
Hide resolved
hedera-node/hedera-app/src/main/java/com/hedera/node/app/throttle/ThrottleAccumulator.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #9994 +/- ##
==========================================
Coverage ? 65.36%
Complexity ? 30268
==========================================
Files ? 3329
Lines ? 127034
Branches ? 13221
==========================================
Hits ? 83039
Misses ? 40755
Partials ? 3240 ☔ View full report in Codecov by Sentry. |
Ok, I will add that to this PR as well then. |
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
hedera-node/hedera-app/src/main/java/com/hedera/node/app/throttle/ThrottleAccumulator.java
Outdated
Show resolved
Hide resolved
...ce-impl/src/main/java/com/hedera/node/app/service/schedule/impl/handlers/HandlerUtility.java
Show resolved
Hide resolved
hedera-node/hedera-app/src/main/java/com/hedera/node/app/throttle/ThrottleAccumulator.java
Show resolved
Hide resolved
Signed-off-by: Miroslav Gatsanoga <miroslav.gatsanoga@limechain.tech>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All makes sense to me, tyvm @MiroslavGatsanoga !
Description:
Update mod implementation of the throttle facility to handle the case of
ScheduleCreate
transactions and also accumulate for the scheduled transaction within thatScheduleCreate
.Related issue(s):
Fixes #9798
Notes for reviewer:
The PR adds the
ScheduleCreate
&ScheduleSign
related implementation in the existing throttle facility. What is still not implemented (to be addressed in the future):Checklist