Skip to content

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-behjati ali-behjati 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
@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