fix: lint

This commit is contained in:
rymnc 2024-05-22 17:44:19 +05:30
parent 4918392ea4
commit 1e474caeea
No known key found for this signature in database
GPG Key ID: AAA088D5C68ECD34
3 changed files with 4 additions and 7 deletions

View File

@ -1 +1 @@
FooTest:test_Example() (gas: 8662)
WakuRlnV2Test:test__ValidRegistration() (gas: 166)

View File

@ -154,10 +154,8 @@ contract WakuRlnV2 {
if (memberExists[idCommitment]) revert DuplicateIdCommitment();
if (idCommitmentIndex >= SET_SIZE) revert FullTree();
MembershipInfo memory member = MembershipInfo({
userMessageLimit: uint32(userMessageLimit),
stakedAmount: stake
});
MembershipInfo memory member =
MembershipInfo({ userMessageLimit: uint32(userMessageLimit), stakedAmount: stake });
members[idCommitment] = idCommitmentIndex;
uint256 rateCommitment = PoseidonT3.hash([idCommitment, userMessageLimit]);

View File

@ -18,6 +18,5 @@ contract WakuRlnV2Test is Test {
(w, deploymentConfig) = deployment.run();
}
function test__ValidRegistration() external {
}
function test__ValidRegistration() external { }
}