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

feat: add publicKeyP256, pauseTracing, and resumeTracing cheatcodes #596

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

grandizzy
Copy link
Contributor

No description provided.

@mds1 mds1 changed the title Add publicKeyP256 cheatcode feat: add publicKeyP256, pauseTracing, and resumeTracing cheatcodes Aug 26, 2024
Copy link
Collaborator

@mds1 mds1 left a comment

Choose a reason for hiding this comment

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

Thanks!

@mds1 mds1 merged commit 58d3051 into foundry-rs:master Aug 26, 2024
3 checks passed
pcaversaccio added a commit to pcaversaccio/snekmate that referenced this pull request Aug 27, 2024
### 🕓 Changelog

The Foundry PR [#8679](foundry-rs/foundry#8679)
and `forge-std` PR
[#596](foundry-rs/forge-std#596) introduced a
native `publicKey256` cheat code to derive the public key coordinates
based on the `secp256r1` curve from a random `uint256` private key. As a
result, I refactor the `p256` test and remove the now redundant
[`FreshCryptoLib`](https://github.com/rdubois-crypto/FreshCryptoLib)
submodule from the codebase.

---------
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
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