This commit is contained in:
rymnc 2024-04-26 12:30:10 +02:00
parent d76f7d5b3f
commit 47f2400682
No known key found for this signature in database
GPG Key ID: AAA088D5C68ECD34
2 changed files with 1 additions and 2 deletions

View File

@ -19,6 +19,5 @@ contract Deploy is BaseScript {
// step 3: deploy WakuRln
wakuRln = new WakuRln(0, 20, address(verifier));
vm.stopBroadcast();
}
}

View File

@ -11,7 +11,7 @@ contract WakuRln is RlnBase {
}
function register(uint16 storageIndex, uint256[] calldata commitments) public {
for (uint i = 0; i < commitments.length; i++) {
for (uint256 i = 0; i < commitments.length; i++) {
_register(commitments[i], 0);
}
}