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

Fix incorrect fixed fee denominating token id #2358

Merged
merged 2 commits into from
Aug 3, 2021

Conversation

xin-hedera
Copy link
Collaborator

Description:

  • Set the denominating token id of a fixed fee to the attached token id when it's the sentinel token 0.0.0

Related issue(s):

Fixes #2357

Notes for reviewer:

Please refer to the ticket for the context.

Checklist

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

@xin-hedera xin-hedera added bug Type: Something isn't working P1 parser Area: File parsing hts Hedera Token Service labels Aug 3, 2021
@xin-hedera xin-hedera added this to the Mirror 0.38.1 milestone Aug 3, 2021
@xin-hedera xin-hedera requested a review from a team August 3, 2021 19:35
@xin-hedera xin-hedera self-assigned this Aug 3, 2021
@codecov
Copy link

codecov bot commented Aug 3, 2021

Codecov Report

Merging #2358 (8a9bc6a) into main (0f8939f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##               main    #2358   +/-   ##
=========================================
  Coverage     83.59%   83.59%           
- Complexity     2257     2259    +2     
=========================================
  Files           437      437           
  Lines         11961    11963    +2     
  Branches       1018     1020    +2     
=========================================
+ Hits           9999    10001    +2     
  Misses         1647     1647           
  Partials        315      315           
Impacted Files Coverage Δ
...parser/record/entity/EntityRecordItemListener.java 95.98% <100.00%> (+0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0f8939f...8a9bc6a. Read the comment docs.

Nana-EC
Nana-EC previously approved these changes Aug 3, 2021
Signed-off-by: Xin Li <xin.li@hedera.com>
@sonarcloud
Copy link

sonarcloud bot commented Aug 3, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@steven-sheehy steven-sheehy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@xin-hedera xin-hedera requested a review from Nana-EC August 3, 2021 21:22
@xin-hedera xin-hedera merged commit 6802a19 into main Aug 3, 2021
@xin-hedera xin-hedera deleted the fix-fixed-fee-denominating-tokenid branch August 3, 2021 22:09
xin-hedera added a commit that referenced this pull request Aug 3, 2021
- Set the denominating token id of a fixed fee to the attached token id when it's the sentinel token 0.0.0

Signed-off-by: Xin Li <xin.li@hedera.com>
xin-hedera added a commit that referenced this pull request Aug 9, 2021
- Set the denominating token id of a fixed fee to the attached token id when it's the sentinel token 0.0.0

Signed-off-by: Xin Li <xin.li@hedera.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type: Something isn't working hts Hedera Token Service P1 parser Area: File parsing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Importer fails to handle fixed fee with denominating token id 0.0.0 in token create properly
3 participants