Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyyang committed Mar 10, 2024
1 parent 649734a commit ebf50e8
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 578 deletions.
File renamed without changes.
12 changes: 0 additions & 12 deletions packages/circuits/components/twitter_reset.json

This file was deleted.

278 changes: 0 additions & 278 deletions packages/circuits/components/twitter_reset_regex.circom

This file was deleted.

2 changes: 1 addition & 1 deletion packages/circuits/oracle.circom
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pragma circom 2.1.5;

include "@zk-email/zk-regex-circom/circuits/common/from_addr_regex.circom";
include "@zk-email/circuits/email-verifier.circom";
include "./oracle-regex.circom";
include "./components/oracle-regex.circom";

// Here, n and k are the biginteger parameters for RSA
// This is because the number is chunked into k pack_size of n bits each
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "forge-std/Test.sol";
import "forge-std/Script.sol";
import "forge-std/console.sol";
import "@zk-email/contracts/DKIMRegistry.sol";
import "../src/ProofOfTwitter.sol";
import "../src/SimpleOracle.sol";
import "../src/Verifier.sol";

contract Deploy is Script, Test {
Expand Down Expand Up @@ -33,7 +33,7 @@ contract Deploy is Script, Test {
bytes32(uint256(1983664618407009423875829639306275185491946247764487749439145140682408188330))
);

ProofOfTwitter testVerifier = new ProofOfTwitter(proofVerifier, dkimRegistry);
SimpleOracle testVerifier = new SimpleOracle();
console.log("Deployed ProofOfTwitter at address: %s", address(testVerifier));

vm.stopBroadcast();
Expand Down
Loading

0 comments on commit ebf50e8

Please sign in to comment.