-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Use Native
publicKey256
Cheat Code (#269)
### 🕓 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]>
- Loading branch information
1 parent
1acec74
commit dc2c12b
Showing
12 changed files
with
69 additions
and
78 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule FreshCryptoLib
deleted from
be47b0
Submodule solady
updated
3 files
+9 −7 | .gas-snapshot | |
+83 −0 | src/utils/EfficientHashLib.sol | |
+35 −0 | test/EfficientHashLib.t.sol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters