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

Block transactionInfo hash is not contained in the QLDB block entries hash list when calling ValidateQldbHashChain #215

Closed
1Kunda opened this issue Dec 1, 2021 · 1 comment

Comments

@1Kunda
Copy link

1Kunda commented Dec 1, 2021

When I try to execute a full hash chain validation on all the blocks in a ledger using the ValidateQldbHashChain class in the amazon-qldb-dmv-sample-java 2.0 tutorial I get the error: Block transactionInfo hash is not contained in the QLDB block entries hash list.

I believe this is not supposed to be possible as the journal export to S3 is not tampered with in any way.

I've tried this using my local Eclipse environment and also using Cloud9 environment

Would love to hear from you regarding this issue.

@guyilin-amazon
Copy link
Contributor

The transactionInfo hash is an optional field in the journal block. Some system blocks could be missing that and is expected behavior.

The ValidateQldbHashChain class has been fixed to treat transactionInfo as an option field. Closing this issue, please feel free to reopen if the error happens again.

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

No branches or pull requests

2 participants