mirror of
https://github.com/logos-messaging/waku-rlnv1-contract.git
synced 2026-01-07 08:43:06 +00:00
Using unindexed events. Setting depth to 20
This commit is contained in:
parent
f2fa9a5015
commit
d8c3d4e62f
@ -12,8 +12,8 @@ contract RLN {
|
||||
|
||||
IPoseidonHasher public poseidonHasher;
|
||||
|
||||
event MemberRegistered(uint256 pubkey, uint256 indexed index);
|
||||
event MemberWithdrawn(uint256 pubkey, uint256 indexed index);
|
||||
event MemberRegistered(uint256 pubkey, uint256 index);
|
||||
event MemberWithdrawn(uint256 pubkey, uint256 index);
|
||||
|
||||
constructor(
|
||||
uint256 membershipDeposit,
|
||||
|
||||
@ -22,7 +22,7 @@ async function main() {
|
||||
console.log("PoseidonHasher deployed to:", poseidonHasher.address);
|
||||
|
||||
const Rln = await ethers.getContractFactory("RLN");
|
||||
const rln = await Rln.deploy(1000000000000000,10,poseidonHasher.address);
|
||||
const rln = await Rln.deploy(1000000000000000,20,poseidonHasher.address);
|
||||
|
||||
await rln.deployed();
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ describe("Rln", function () {
|
||||
console.log("PoseidonHasher deployed to:", poseidonHasher.address);
|
||||
|
||||
const Rln = await ethers.getContractFactory("RLN");
|
||||
const rln = await Rln.deploy(1000000000000000,10,poseidonHasher.address);
|
||||
const rln = await Rln.deploy(1000000000000000,20,poseidonHasher.address);
|
||||
|
||||
await rln.deployed();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user