Skip to content

refactor(pyth-sdk-solana): refactor attribute iterators #131

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 3 commits into from
Jun 6, 2025

Conversation

ali-behjati
Copy link
Collaborator

There are some assumptions outside this SDK on the product attributes and the size field in particular that guarantee that the accesses are safe. This commit refactors it to add extra levels of safety to not rely on those assumptions.

@ali-behjati ali-behjati requested a review from jayantk June 5, 2025 08:53
@ali-behjati ali-behjati force-pushed the refactor-attr-iter branch 2 times, most recently from 1d7f31a to 45e4aed Compare June 5, 2025 09:42
There are some assumptions outside this SDK on the product attributes
and the `size` field in particular that guarantee that the accesses
are safe. This commit refactors it to add extra levels of safety to
not rely on those assumptions.
@ali-behjati ali-behjati force-pushed the refactor-attr-iter branch from 45e4aed to b68cf99 Compare June 5, 2025 12:58
@ali-behjati ali-behjati merged commit 3cf46a4 into main Jun 6, 2025
5 checks passed
@ali-behjati ali-behjati deleted the refactor-attr-iter branch June 6, 2025 07:11
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