Skip to content

Commit

Permalink
chore: move test eml to circuits
Browse files Browse the repository at this point in the history
  • Loading branch information
saleel committed Jan 31, 2024
1 parent 6508ef9 commit c4d3127
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ There are helper functions in `@zk-email/helpers` package to download and decomp

```bash
# CWD = packages/circuits/scripts
ts-node generate-proof.ts --email-file ../../../emls/test_twitter.eml --ethereum-address <your-eth-address>
ts-node generate-proof.ts --email-file ../tests/emls/test_twitter.eml --ethereum-address <your-eth-address>
```

This will generate input + witness using the given email file and Ethereum address, and prove using the generated zkey.
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/circuits/tests/twitter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("Twitter email test", function () {

beforeAll(async () => {
const rawEmail = fs.readFileSync(
path.join(__dirname, "../../../emls/test_twitter.eml"),
path.join(__dirname, "./emls/test_twitter.eml"),
"utf8"
);
dkimResult = await verifyDKIMSignature(rawEmail);
Expand Down

0 comments on commit c4d3127

Please sign in to comment.