-
Notifications
You must be signed in to change notification settings - Fork 110
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
Conversation
There was a problem hiding this 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
df90936
to
a43a6a0
Compare
@@ -20,7 +20,7 @@ set -x | |||
cd "${PYTH_DIR}" | |||
|
|||
# Re-run tests affected by features | |||
cargo test --locked | |||
cargo-test-bpf |
There was a problem hiding this comment.
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
+ 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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
send it
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