Skip to content

[Access] Get protocol snapshot by block id and block height #501

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

Closed
wants to merge 6 commits into from
Closed

[Access] Get protocol snapshot by block id and block height #501

wants to merge 6 commits into from

Conversation

AndriiDiachuk
Copy link
Collaborator

onflow/flow-go#4869

This pull request implements two missing methods GetProtocolStateSnapshotByBlockID, GetProtocolStateSnapshotByHeight from Access API interface.

@bluesign
Copy link
Collaborator

bluesign commented Nov 9, 2023

thanks for adding this @AndriiDiachuk

go.mod Outdated
Comment on lines 195 to 197
replace github.com/onflow/flow-go v0.32.3 => github.com/Guitarheroua/flow-go v0.0.0-20231024184136-247768e776f7
replace github.com/onflow/flow-go v0.32.3 => github.com/AndriiDiachuk/flow-go v0.0.0-20231108171341-18d79032dc5d

replace github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20231018182244-e72527c55c63 => github.com/AndriiDiachuk/flow/protobuf/go/flow v0.0.0-20231101114612-70243c40d6a7
Copy link
Member

Choose a reason for hiding this comment

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

Would it be possible to wait with this PR until the upstream changes have landed?
It looks like already previously the dependency was changed to another repo, and then it wasn't updated back to the main repo (onflow/flow-go)

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree. Also @turbolent #503 (review)

Copy link
Contributor

Choose a reason for hiding this comment

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

these should be merged now. @AndriiDiachuk can you update?

Copy link
Contributor

@devbugging devbugging left a comment

Choose a reason for hiding this comment

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

I would prefer if we wait for forks to be merged

@peterargue
Copy link
Contributor

these changes were included in #518

@AndriiDiachuk
Copy link
Collaborator Author

these changes were included in #518

Thanks a lot.

@AndriiDiachuk AndriiDiachuk deleted the AndriiDiachuk/4869-get-protocol-snapshot-from-any-block-endpoint branch December 4, 2023 15:02
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 this pull request may close these issues.

5 participants