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

fix: use uint8 instead of int8 for instruction serialization #79

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

ali-bahjati
Copy link
Contributor

We have some instructions to update product metadata that have size of more than int8 max (127) and the on-chain program reads them as u8. So we are switching to UInt8 instead.

We have some instructions to update product metadata that have size
of more than int8 max (127) and the on-chain program reads them as
u8. So we are switching to UInt8 instead.
@ali-bahjati ali-bahjati requested a review from guibescos June 21, 2024 13:42
Copy link
Contributor

@guibescos guibescos left a comment

Choose a reason for hiding this comment

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

lgtm

@ali-bahjati ali-bahjati merged commit 8a9c94b into main Jun 24, 2024
3 checks passed
@ali-bahjati ali-bahjati deleted the fix/oracle-instruction-serde branch June 24, 2024 07:19
ali-bahjati added a commit to pyth-network/pyth-crosschain that referenced this pull request Jun 24, 2024
This change updates @pythnetwork/client package that has a change
that allows encoding large upd_product proposals. More info on
[the PR](pyth-network/pyth-client-js#79)
in the pyth-client-js repo.
ali-bahjati added a commit to pyth-network/pyth-crosschain that referenced this pull request Jun 24, 2024
This change updates @pythnetwork/client package that has a change
that allows encoding large upd_product proposals. More info on
[the PR](pyth-network/pyth-client-js#79)
in the pyth-client-js repo.
ali-bahjati added a commit to pyth-network/pyth-crosschain that referenced this pull request Jun 24, 2024
This change updates @pythnetwork/client package that has a change
that allows encoding large upd_product proposals. More info on
[the PR](pyth-network/pyth-client-js#79)
in the pyth-client-js repo.
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