-
Notifications
You must be signed in to change notification settings - Fork 176
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
feat: v2 endpoint for pruned snapshot that returns entities as raw bytes #215
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ghost
requested a review
from alvrs
October 22, 2022 01:31
alvrs
force-pushed
the
authcall/entity-id-optimizations
branch
from
October 22, 2022 22:22
b35d533
to
6ab0a90
Compare
alvrs
force-pushed
the
authcall/entity-id-optimizations
branch
from
October 26, 2022 08:52
ad67525
to
4148c5e
Compare
alvrs
approved these changes
Oct 28, 2022
github-actions bot
pushed a commit
that referenced
this pull request
Oct 28, 2022
…tities as raw bytes (#215) * feat: v2 endpoint for pruned snapshot that returns entities as raw bytes * feat(network): integrate getStateLatestStreamPrunedV2 * fix(utils): handle hex array with length 0 * fix: use hexutil.Decode * fix: convert entity id uint8 array to string once * chore: debug invalid entity index * fix: use decodebig for parsing hex encoded entity id uint256 * feat(snapshot): add GetStateLatestStreamV2 endpoint * fix(network): call getStateLatestStreamV2 if no prune options are provided Co-authored-by: alvrs <alvarius@lattice.xyz>
ghost
deleted the
authcall/entity-id-optimizations
branch
October 29, 2022 00:35
LPSCRYPT
pushed a commit
to LPSCRYPT/esp
that referenced
this pull request
Jan 23, 2023
…tes (latticexyz#215) * feat: v2 endpoint for pruned snapshot that returns entities as raw bytes * feat(network): integrate getStateLatestStreamPrunedV2 * fix(utils): handle hex array with length 0 * fix: use hexutil.Decode * fix: convert entity id uint8 array to string once * chore: debug invalid entity index * fix: use decodebig for parsing hex encoded entity id uint256 * feat(snapshot): add GetStateLatestStreamV2 endpoint * fix(network): call getStateLatestStreamV2 if no prune options are provided Co-authored-by: alvrs <alvarius@lattice.xyz>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Request format is the same, the difference is the endpoint has
V2
appended to/GetStateLatestStreamPruned
and the response is different sincestateEntities
is now an array of bytes i.e. array ofUint8Array