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

chore: clean up circuits #104

Merged
merged 6 commits into from
Sep 25, 2023

Conversation

javiersuweijie
Copy link
Collaborator

No description provided.

@Divide-By-0
Copy link
Member

Sweet! Can you add some quick tests for the main helpers?

@Divide-By-0
Copy link
Member

Circom looks like it's failing CI? Forge tests make sense since our alchemy key is not run for external prs.

@javiersuweijie
Copy link
Collaborator Author

Circom looks like it's failing CI? Forge tests make sense since our alchemy key is not run for external prs.

Set max workers for on CI to 2 so that it doesn't go OOM when running too many tests in parallel

"21888242871839275222246405745257275088548364400416034343698204186575808495617"
);

describe("SHA256 for email header", () => {
Copy link
Member

Choose a reason for hiding this comment

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

This isn't really an email header test right...

// Compile: circom "./tests/email-verifier-test.circom" --r1cs --wasm --sym --c --wat --output "./tests/compiled-test-circuit"
recompile: true,
output: path.join(__dirname, "./compiled-test-circuit"),
include: path.join(__dirname, "../../../node_modules"),
Copy link
Member

Choose a reason for hiding this comment

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

Csv we make this non relative at all or nah

@Divide-By-0 Divide-By-0 merged commit 3a0193a into zkemail:main Sep 25, 2023
2 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