Skip to content

test: cover StdSecp256k1 helpers - #923

Merged
grandizzy merged 1 commit into
foundry-rs:masterfrom
mablr:mablr/secp256k1-tests
Sep 30, 2026
Merged

grandizzy merged 1 commit into
foundry-rs:masterfrom
mablr:mablr/secp256k1-tests

Conversation

@mablr

@mablr mablr commented Sep 30, 2026

Copy link
Copy Markdown
Member

Add dedicated coverage for StdSecp256k1, including curve parameters, affine and projective identities, generators, scalar boundaries, parity encodings, and address derivation. Fuzz checks compare generated public keys and addresses with Foundry’s cryptographic cheatcodes. Add a compilation fixture exercising every helper so the existing Solidity compiler and via-IR matrix covers the standalone library.

Cover curve parameters, identities, generators, scalar boundaries, parity, and address derivation with dedicated unit and fuzz tests. Exercise every helper in the compilation fixtures so the existing compiler and via-IR matrix includes the standalone library.
@grandizzy
grandizzy merged commit 6439066 into foundry-rs:master Sep 30, 2026
21 checks passed
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