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

program: Add "hmac" feature to libsecp256k1 for doctests #1695

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

joncinque
Copy link

Problem

Since #1286, the solana-program doctests fail when run directly with cargo test from sdk/program. This is because the doctests require the "hmac" feature.

Summary of Changes

Enable the hmac feature on libsecp256k1 in dev-dependencies.

@joncinque joncinque requested review from yihau and kevinheavey June 11, 2024 20:15
Copy link
Member

@yihau yihau left a comment

Choose a reason for hiding this comment

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

thank you for fixing this one! I also noticed there are some doctest errors that doesn't trigger errors on the pipeline 🤔 will check them (it's not related to this PR)

@joncinque joncinque merged commit 67c4278 into anza-xyz:master Jun 12, 2024
36 checks passed
@joncinque joncinque deleted the doctests branch June 12, 2024 11:02
samkim-crypto pushed a commit to samkim-crypto/agave that referenced this pull request Jul 31, 2024
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