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

148 bug freeze transaction missing #149

Merged
merged 2 commits into from
Aug 29, 2019

Conversation

gregscullard
Copy link
Contributor

@gregscullard gregscullard commented Aug 29, 2019

Detailed description:
Corrects a number of issues with transaction types:
-When a transaction type is unknown to mirror node, an NPE occurred while attempting to fetch an "unknown" key from a hash map instead of "UNKNOWN"
-The freeze transaction type was missing from the database
-The proto_id for transaction types was incorrect. It was pulled from the HederaFunctionality enum in BasicTypes.proto instead of the oneof data in TransactionBody.proto

Which issue(s) this PR fixes:
Fixes #148

Checklist

  • Documentation added
  • Tested working with a Freeze transaction in a record file.

Greg Scullard added 2 commits August 29, 2019 02:28
…type not known

Signed-off-by: Greg Scullard <gregscullard@hedera.com>
…sed by mirror node)

Signed-off-by: Greg Scullard <gregscullard@hedera.com>
@gregscullard gregscullard added bug Type: Something isn't working OABlocker labels Aug 29, 2019
@gregscullard gregscullard added this to the 0.1.0 milestone Aug 29, 2019
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.

This all makes sense and verified with proto. LGTM

@steven-sheehy steven-sheehy merged commit 16cb8b2 into master Aug 29, 2019
@delete-merged-branch delete-merged-branch bot deleted the 148-bug-freeze-transaction-missing branch August 29, 2019 01:00
@steven-sheehy steven-sheehy added P1 parser Area: File parsing labels Nov 26, 2019
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 P1 parser Area: File parsing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RecordFileLogger: Freeze transaction type missing + lower case bug
2 participants