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

chore: expose view_chunk #234

Merged
merged 5 commits into from
Nov 17, 2022
Merged

chore: expose view_chunk #234

merged 5 commits into from
Nov 17, 2022

Conversation

ChaoticTempest
Copy link
Member

This adds worker.view_chunk method for users to call into. Internally, uses QueryChunk, since Query is more for block reference related queries and nothing else uses ChunkReference when making queries.

Also adds a new various_queries example to showcase querying both chunk and block data, while being able to query for old contract state data as well.

Copy link
Contributor

@itegulov itegulov left a comment

Choose a reason for hiding this comment

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

LGTM

workspaces/src/types/chunk.rs Outdated Show resolved Hide resolved
@ChaoticTempest ChaoticTempest merged commit af3a8e7 into main Nov 17, 2022
@ChaoticTempest ChaoticTempest deleted the chore/expose-chunk branch November 17, 2022 20:50
@ChaoticTempest ChaoticTempest mentioned this pull request Aug 11, 2023
3 tasks
@frol frol mentioned this pull request Oct 4, 2023
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.

2 participants