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: Add initial fees and throttles for Hip 551 batch transactions #17392

Open
wants to merge 22 commits into
base: hip-551-batch-txs
Choose a base branch
from

Conversation

ibankov
Copy link
Contributor

@ibankov ibankov commented Jan 15, 2025

Description:
Adding fees and throttles for HIP 551 (Batch Transactions). The current values are placeholders until we have the final fees/throttles

Related issue(s):
#17373
#17374
Fixes #

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@ibankov ibankov added this to the v0.60 milestone Jan 15, 2025
@ibankov ibankov self-assigned this Jan 15, 2025
Signed-off-by: ibankov <[email protected]>
Copy link

codacy-production bot commented Jan 15, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% (target: -1.00%) 0.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (80103d7) 98645 71904 72.89%
Head commit (fe951d3) 98650 (+5) 71904 (+0) 72.89% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#17392) 6 0 0.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Copy link

codecov bot commented Jan 15, 2025

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Project coverage is 68.94%. Comparing base (80103d7) to head (fe951d3).
Report is 1 commits behind head on hip-551-batch-txs.

Files with missing lines Patch % Lines
...service/util/impl/handlers/AtomicBatchHandler.java 0.00% 5 Missing ⚠️
...m/hedera/node/app/services/ServiceScopeLookup.java 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                   Coverage Diff                   @@
##             hip-551-batch-txs   #17392      +/-   ##
=======================================================
- Coverage                68.95%   68.94%   -0.01%     
  Complexity               22861    22861              
=======================================================
  Files                     2635     2635              
  Lines                    98868    98873       +5     
  Branches                 10263    10263              
=======================================================
- Hits                     68171    68170       -1     
- Misses                   26813    26818       +5     
- Partials                  3884     3885       +1     
Files with missing lines Coverage Δ
...m/hedera/node/app/services/ServiceScopeLookup.java 50.00% <0.00%> (ø)
...service/util/impl/handlers/AtomicBatchHandler.java 11.76% <0.00%> (-4.91%) ⬇️

... and 3 files with indirect coverage changes

Impacted file tree graph

JivkoKelchev and others added 2 commits January 15, 2025 14:38
# Conflicts:
#	hedera-node/test-clients/src/main/java/com/hedera/services/bdd/suites/hip551/AtomicBatchTest.java
JivkoKelchev and others added 9 commits January 28, 2025 14:30
Signed-off-by: Zhivko Kelchev <[email protected]>
Signed-off-by: Zhivko Kelchev <[email protected]>
Signed-off-by: Zhivko Kelchev <[email protected]>
# Conflicts:
#	hedera-node/test-clients/src/main/java/com/hedera/services/bdd/suites/hip551/AtomicBatchTest.java
Signed-off-by: ibankov <[email protected]>
Signed-off-by: Zhivko Kelchev <[email protected]>
# Conflicts:
#	hedera-node/hedera-util-service-impl/src/main/java/com/hedera/node/app/service/util/impl/handlers/AtomicBatchHandler.java
Signed-off-by: ibankov <[email protected]>
Base automatically changed from hip-551-hapi-verbs to hip-551-batch-txs January 29, 2025 16:02
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.

Set the throttle configuration Implement the calculateFees() method
2 participants