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

BlockHeader response object is different in sdk and flow/protobuf #765

Closed
illia-malachyn opened this issue Sep 24, 2024 · 0 comments · Fixed by #778
Closed

BlockHeader response object is different in sdk and flow/protobuf #765

illia-malachyn opened this issue Sep 24, 2024 · 0 comments · Fixed by #778
Assignees

Comments

@illia-malachyn
Copy link
Contributor

This is a part of #736

SDK endpoints that return BlockHeader: GetLatestBlockHeader, GetBlockHeaderByID, GetBlockHeaderByHeight
https://github.com/onflow/flow-go-sdk/blob/master/access/grpc/grpc.go#L178

BlockHeader type on the SDK side
https://github.com/onflow/flow-go-sdk/blob/master/block.go#L30

BlockHeader message in the Protobuf schema
https://github.com/onflow/flow/blob/master/protobuf/flow/entities/block_header.proto#L10

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 a pull request may close this issue.

1 participant