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

refactor: remove pythnet feature flag #399

Merged
merged 13 commits into from
Mar 27, 2024
Merged

refactor: remove pythnet feature flag #399

merged 13 commits into from
Mar 27, 2024

Conversation

cctdaniel
Copy link
Contributor

@cctdaniel cctdaniel commented Mar 22, 2024

solana specific code is duplicated in https://github.com/pyth-network/pyth-client/tree/solana so we have a fallback in case we need to make any fix

@cctdaniel cctdaniel changed the title refactor: remove solana specific code refactor: remove solana specific code and pythnet feature flag Mar 22, 2024
@cctdaniel cctdaniel changed the title refactor: remove solana specific code and pythnet feature flag refactor: remove pythnet feature flag Mar 22, 2024
@ali-bahjati ali-bahjati requested a review from anihamde March 22, 2024 19:01
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.

Another file I'd try to cleanup is build.rs

@cctdaniel cctdaniel marked this pull request as ready for review March 26, 2024 13:52
guibescos
guibescos previously approved these changes Mar 26, 2024
@@ -20,7 +20,7 @@ set -x
cd "${PYTH_DIR}"

# Re-run tests affected by features
cargo test --locked
cargo-test-bpf
Copy link
Contributor Author

Choose a reason for hiding this comment

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

cargo-test-bpf doesn't work with -- --locked

guibescos
guibescos previously approved these changes Mar 27, 2024
+ PC_NUM_COMP * sizeof(pc_price_comp_t) \
)

static_assert( sizeof( pc_price_t ) == PC_EXPECTED_PRICE_T_SIZE_PYTHNET, "" );
#undef PC_EXPECTED_PRICE_SIZE_PYTHNET
#undef PC_EXPECTED_PRICE_T_SIZE_PYTHNET
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this seems like a typo before

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.

send it

@cctdaniel cctdaniel merged commit 14fbdef into main Mar 27, 2024
3 checks passed
@cctdaniel cctdaniel deleted the remove-solana branch March 27, 2024 13:32
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.

3 participants