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

Ensure only data blobs are present in SDK/System API calls #2368

Conversation

andresilva91
Copy link
Contributor

@andresilva91 andresilva91 commented Aug 9, 2024

Motivation

We don't want BlobId exposed to the SDK. Users will only be aware of Data blobs, the other types will be only internally used.

Proposal

Only expose Data blobs to the SDK, and assume when dealing with blobs that it's a Data blob. Because of that we don't need to use BlobId everywhere, and can just use the hash of the Data blob in most places.

Test Plan

CI + also retested the NFT UI

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @andresilva91 and the rest of your teammates on Graphite Graphite

@andresilva91 andresilva91 force-pushed the 08-08-ensure_only_data_blobs_are_present_in_sdk_system_api_calls branch 4 times, most recently from 6786837 to 75d46ce Compare August 12, 2024 21:46
@andresilva91 andresilva91 marked this pull request as ready for review August 13, 2024 12:44
@graphite-app graphite-app bot requested review from ma2bd, jvff, MathieuDutSik, christos-h, Twey and afck and removed request for ma2bd August 13, 2024 12:44
Copy link

graphite-app bot commented Aug 13, 2024

Graphite Automations

"Assign reviewers" took an action on this PR • (08/13/24)

6 reviewers were added to this PR based on Andre da Silva's automation.

linera-storage/src/lib.rs Outdated Show resolved Hide resolved
@andresilva91 andresilva91 force-pushed the 08-08-ensure_only_data_blobs_are_present_in_sdk_system_api_calls branch from 75d46ce to 6d58848 Compare August 13, 2024 16:43
Copy link
Contributor Author

andresilva91 commented Aug 13, 2024

Merge activity

@andresilva91 andresilva91 merged commit bdba50e into main Aug 13, 2024
5 checks passed
@andresilva91 andresilva91 deleted the 08-08-ensure_only_data_blobs_are_present_in_sdk_system_api_calls branch August 13, 2024 22:47
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