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: TokenCancelAirdrop should fail fast with invalid parameters #17168

Merged
merged 5 commits into from
Jan 3, 2025

Conversation

kimbor
Copy link
Member

@kimbor kimbor commented Dec 23, 2024

Description:
TokenCancelAirdrop transactions should handle empty parameters appropriately.

Related issue(s):
Fixes #17167

@kimbor kimbor changed the title TokenCancelAirdrop should fail fast with invalid parameters fix: TokenCancelAirdrop should fail fast with invalid parameters Dec 23, 2024
@kimbor kimbor added this to the v0.59 milestone Dec 23, 2024
@kimbor kimbor self-assigned this Dec 23, 2024
@kimbor kimbor changed the title fix: TokenCancelAirdrop should fail fast with invalid parameters feat: TokenCancelAirdrop should fail fast with invalid parameters Dec 23, 2024
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 64.33%. Comparing base (a484555) to head (9cd1367).
Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
...token/impl/handlers/TokenCancelAirdropHandler.java 66.66% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main   #17168      +/-   ##
============================================
- Coverage     64.33%   64.33%   -0.01%     
+ Complexity    20941    20939       -2     
============================================
  Files          2555     2555              
  Lines         96171    96171              
  Branches      10055    10055              
============================================
- Hits          61870    61868       -2     
  Misses        30663    30663              
- Partials       3638     3640       +2     
Files with missing lines Coverage Δ
...token/impl/handlers/TokenCancelAirdropHandler.java 67.92% <66.66%> (ø)

... and 2 files with indirect coverage changes

Impacted file tree graph

Copy link

codacy-production bot commented Dec 23, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% (target: -1.00%) 66.67%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (a484555) 95934 65316 68.08%
Head commit (9cd1367) 95934 (+0) 65316 (+0) 68.08% (+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 (#17168) 3 2 66.67%

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

@kimbor kimbor marked this pull request as ready for review January 2, 2025 16:38
@kimbor kimbor requested review from a team as code owners January 2, 2025 16:38
@kimbor kimbor requested a review from derektriley January 2, 2025 16:38
kimbor added 2 commits January 2, 2025 11:06
Signed-off-by: Kim Rader <[email protected]>
…f github.com:hashgraph/hedera-services into 17167-clean-up-TokenCancelAirdrop-null-param-failure
@povolev15
Copy link
Contributor

LGTM TY @kimbor

@kimbor kimbor merged commit f3ec5d1 into main Jan 3, 2025
49 of 50 checks passed
@kimbor kimbor deleted the 17167-clean-up-TokenCancelAirdrop-null-param-failure branch January 3, 2025 19:18
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.

clean up TokenCancelAirdrop null param failure
2 participants