-
Notifications
You must be signed in to change notification settings - Fork 57
Block service #450
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 service #450
Conversation
if (pathItem.position === 1) { | ||
return hasher.update(Buffer.from(pathItem.hash + proofHash, 'hex')).hex(); | ||
} else { | ||
// Right | ||
return hasher.update(Buffer.from(proofHash + pathItem.hash, 'hex')).hex(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The position is being changed from a number to a (left/right) string. Rest has done the change in master, we are still waiting for the open api PR symbol/symbol-openapi#77
@dgarcia360 can we move 77 PR forward? once released we can then generate the clients and update the ts and java PR related to merkle tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rg911 can we add unit testing to the block service. E2E tests are great but they don't run every build and they don't increase coverage. |
…sdk-typescript-javascript into task/g449_block_service
@rg911 0.8.4-SNAPSHOT.202002181344 client has been pushed to npm |
Rebased to #453 |
Added
BlockService
to validate transaction and receipt hashes against in specific blockFixed #449