-
Notifications
You must be signed in to change notification settings - Fork 1k
feat!(share/shwap): implement get range request over shwap #4156
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
5317b61
feat!(share/proto): define proto
vgonkivs d815b23
feat(share/shwap): add proof type
vgonkivs 3d2e116
feat(share/shwap): add range namespace data with id
vgonkivs 9542c57
feat(share/p2p/bitswap): add range namespace data block
vgonkivs 89d4478
refacor!(nodebuilde/share): update api
vgonkivs 64ba201
swamp(share): add GetRange test
vgonkivs 53ecfcf
chore(share/getters): udpate getters
vgonkivs 811875a
update proto
vgonkivs 6cc8cd2
rework get namespace data
vgonkivs f07fced
chore(share/accessor): update accessor
vgonkivs d631cb9
feat: implement validation for RangeNamespaceData
vgonkivs 77e99ce
fix lint
vgonkivs 4093946
fixes
vgonkivs 8071ca3
remove root from Proof, refactor Verify functions
gupadhyaya 802f812
store only incomplete proofs
gupadhyaya aaa437c
some fixes
gupadhyaya 622a5dd
cleanup
gupadhyaya 8eb170c
update nmt, fixes to proof
gupadhyaya dcf90fa
fix conditions for incomplete rows
gupadhyaya 1cc998e
move extend methods out of axis_half to resolve cyclic dependencies
gupadhyaya 587ae04
verify without row roots
gupadhyaya 824c3b2
minor fixes
gupadhyaya 09bee8f
odsSize based on extended shares
gupadhyaya d4c6887
Merge remote-tracking branch 'origin/main' into implement_get_range
gupadhyaya b0dec58
fix imports and build failures after the latest merge from main
gupadhyaya de80fd8
formatting
gupadhyaya 73ad28e
fix imports
gupadhyaya a57ba4b
Merge branch 'main' into implement_get_range
gupadhyaya 49fce9a
revert
gupadhyaya 47254e2
clean up
gupadhyaya 6a81691
improve condition readability, pass axis roots to range namespace dat…
gupadhyaya f95e147
use compute root with basic validation
gupadhyaya d71c54a
update proofs of complete rows
gupadhyaya 8407c2b
fix failing tests
gupadhyaya 2a16175
Merge remote-tracking branch 'origin/main' into implement_get_range
gupadhyaya 4c6dd90
golangci fix
gupadhyaya 180e6fe
fixes to prevent bad data
gupadhyaya eaf6967
further increase timeout
gupadhyaya 92d843e
Merge branch 'main' into implement_get_range
gupadhyaya 4845c4a
non-empty proof check for unmarshal
gupadhyaya 86c991c
update to nmt v0.24.0
gupadhyaya ce8aaa0
minor fix
gupadhyaya c1fe8bc
reuse NamespaceDataID
gupadhyaya b4edcbb
add more tests for range namespace data id
gupadhyaya 443ebcc
improve godoc and check empty for earlier termination
gupadhyaya 240504b
shareProof to sharesProof
gupadhyaya e4617b4
enhance TestRangeNamespaceData_FetchRoundtrip
gupadhyaya ca13b5c
add more test cases
gupadhyaya acebf3e
add verify to rndid, improve godoc
gupadhyaya 1ad7c11
renaming, fixing comment
gupadhyaya addb7c2
Merge branch 'main' into implement_get_range
gupadhyaya cb8c423
clarify godoc for RangeNamespaceData and Proof
gupadhyaya 17a6dd8
add nil check, IsEmpty everywhere, improve godoc for module interface…
gupadhyaya f3d72c2
err var, consolidate checks, revert generateSharesProofs
gupadhyaya 57b0f0a
use well-defined error, comment fix
gupadhyaya e69163f
Merge branch 'main' into implement_get_range
gupadhyaya File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.