Skip to content

Commit

Permalink
chore: make signal uint
Browse files Browse the repository at this point in the history
  • Loading branch information
dawksh committed Aug 5, 2024
1 parent ca693f3 commit 9dea3f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ attestation based identity oracle

```
Deployer: 0x0a1B07c0a41c3Ea539AcfD6655dc7B76ccbF3030
Deployed to: 0x2B6835cBD93632E7E49df029966BC8b5bb62a245
Transaction hash: 0xe5b82f05eb4994b05b72810a025238ee13ef73f92822c9ed0c860227c103f11c
Deployed to: 0x597A11d6C6B74DB89A152A325e8a0d2a3C12747D
Transaction hash: 0xb1ce24022cf0dec88006d4b3924e81f12dcdc970978fe049f7a3f86bf234307f
```
4 changes: 2 additions & 2 deletions src/WorldIDVerifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ contract WorldIDVerifier {
/// @param nullifierHash The nullifier hash for this proof, preventing double signaling (returned by the IDKit widget).
/// @param proof The zero-knowledge proof that demonstrates the claimer is registered with World ID (returned by the IDKit widget).
function verifyAndExecute(
bytes calldata signal,
uint256 signal,
uint256 root,
uint256 nullifierHash,
uint256[8] calldata proof
Expand All @@ -79,7 +79,7 @@ contract WorldIDVerifier {
worldId.verifyProof(
root,
groupId,
abi.encodePacked(signal).hashToField(),
signal,
nullifierHash,
externalNullifierHash,
proof
Expand Down

0 comments on commit 9dea3f5

Please sign in to comment.