vacp2p / rln-contract

RLN contract
Apache License 2.0
13 stars 6 forks source link

test pluggable validation logic #22

Closed rymnc closed 1 year ago

rymnc commented 1 year ago
github-actions[bot] commented 1 year ago

LCOV of commit 57411cc during CI #22

Summary coverage rate:
  lines......: 83.9% (496 of 591 lines)
  functions..: 48.0% (12 of 25 functions)
  branches...: 52.5% (21 of 40 branches)

Files changed coverage rate:
                              |Lines       |Functions  |Branches    
  Filename                    |Rate     Num|Rate    Num|Rate     Num
  ==================================================================
  contracts/PoseidonHasher.sol| 100%    461| 100%     2|    -      0
  contracts/RlnBase.sol       |97.0%     33|85.7%     7| 100%     18
  contracts/RlnVerifier.sol   | 0.0%     93| 0.0%    12| 0.0%     18
  test/RLNApp.t.sol           | 100%      2| 100%     2|75.0%      4
  test/Verifier.sol           |50.0%      2| 100%     2|    -      0
github-actions[bot] commented 1 year ago

LCOV of commit 766366c during CI #23

Summary coverage rate:
  lines......: 83.9% (496 of 591 lines)
  functions..: 48.0% (12 of 25 functions)
  branches...: 52.5% (21 of 40 branches)

Files changed coverage rate:
                              |Lines       |Functions  |Branches    
  Filename                    |Rate     Num|Rate    Num|Rate     Num
  ==================================================================
  contracts/PoseidonHasher.sol| 100%    461| 100%     2|    -      0
  contracts/RlnBase.sol       |97.0%     33|85.7%     7| 100%     18
  contracts/RlnVerifier.sol   | 0.0%     93| 0.0%    12| 0.0%     18
  test/RLNApp.t.sol           | 100%      2| 100%     2|75.0%      4
  test/Verifier.sol           |50.0%      2| 100%     2|    -      0
github-actions[bot] commented 1 year ago

LCOV of commit 5d3b5dd during CI #24

Summary coverage rate:
  lines......: 83.9% (496 of 591 lines)
  functions..: 48.0% (12 of 25 functions)
  branches...: 52.5% (21 of 40 branches)

Files changed coverage rate:
                              |Lines       |Functions  |Branches    
  Filename                    |Rate     Num|Rate    Num|Rate     Num
  ==================================================================
  contracts/PoseidonHasher.sol| 100%    461| 100%     2|    -      0
  contracts/RlnBase.sol       |97.0%     33|85.7%     7| 100%     18
  contracts/RlnVerifier.sol   | 0.0%     93| 0.0%    12| 0.0%     18
  test/RLNApp.t.sol           | 100%      2| 100%     2|75.0%      4
  test/Verifier.sol           |50.0%      2| 100%     2|    -      0
rymnc commented 1 year ago

Looks like slither doesn't throw up any vulns, merging.

github-actions[bot] commented 1 year ago

LCOV of commit 5cbeb45 during CI #25

Summary coverage rate:
  lines......: 83.9% (496 of 591 lines)
  functions..: 48.0% (12 of 25 functions)
  branches...: 52.5% (21 of 40 branches)

Files changed coverage rate:
                              |Lines       |Functions  |Branches    
  Filename                    |Rate     Num|Rate    Num|Rate     Num
  ==================================================================
  contracts/PoseidonHasher.sol| 100%    461| 100%     2|    -      0
  contracts/RlnBase.sol       |97.0%     33|85.7%     7| 100%     18
  contracts/RlnVerifier.sol   | 0.0%     93| 0.0%    12| 0.0%     18
  test/RLNApp.t.sol           | 100%      2| 100%     2|75.0%      4
  test/Verifier.sol           |50.0%      2| 100%     2|    -      0