Skip to content

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
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 <pascal.caversaccio@hotmail.ch>
willbrown84 added a commit to willbrown84/snekmate that referenced this pull request Sep 23, 2025
### 🕓 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 <pascal.caversaccio@hotmail.ch>
void-rider5560p added a commit to void-rider5560p/snekmate that referenced this pull request Sep 28, 2025
### 🕓 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 <pascal.caversaccio@hotmail.ch>
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