vacp2p / rln-contract

RLN contract
Apache License 2.0
13 stars 6 forks source link

Modernize repo, use foundry, deploy to sepolia #17

Closed rymnc closed 1 year ago

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

LCOV of commit ce78e2c during CI #3

Summary coverage rate:
  lines......: 0.0% (0 of 47 lines)
  functions..: 0.0% (0 of 12 functions)
  branches...: 0.0% (0 of 30 branches)

Files changed coverage rate:
                              |Lines       |Functions  |Branches    
  Filename                    |Rate     Num|Rate    Num|Rate     Num
  ==================================================================
  contracts/PoseidonHasher.sol| 0.0%      4| 0.0%     4|    -      0
  contracts/Rln.sol           | 0.0%     43| 0.0%     8| 0.0%     30
rymnc commented 1 year ago

No idea why the coverage isn't working, will investigate

github-actions[bot] commented 1 year ago

LCOV of commit 155619c during CI #4

Summary coverage rate:
  lines......: 91.8% (461 of 502 lines)
  functions..: 18.2% (2 of 11 functions)
  branches...: 0.0% (0 of 30 branches)

Files changed coverage rate:
                              |Lines       |Functions  |Branches    
  Filename                    |Rate     Num|Rate    Num|Rate     Num
  ==================================================================
  contracts/PoseidonHasher.sol|99.6%    463|50.0%     4|    -      0
  contracts/Rln.sol           | 0.0%     39| 0.0%     7| 0.0%     30
github-actions[bot] commented 1 year ago

LCOV of commit 70e5199 during CI #5

Summary coverage rate:
  lines......: 94.0% (470 of 500 lines)
  functions..: 44.4% (4 of 9 functions)
  branches...: 23.3% (7 of 30 branches)

Files changed coverage rate:
                              |Lines       |Functions  |Branches    
  Filename                    |Rate     Num|Rate    Num|Rate     Num
  ==================================================================
  contracts/PoseidonHasher.sol| 100%    461| 100%     2|    -      0
  contracts/Rln.sol           |23.1%     39|28.6%     7|23.3%     30
github-actions[bot] commented 1 year ago

LCOV of commit cae34e6 during CI #8

Summary coverage rate:
  lines......: 100.0% (492 of 492 lines)
  functions..: 100.0% (9 of 9 functions)
  branches...: 100.0% (24 of 24 branches)

Files changed coverage rate:
                              |Lines       |Functions  |Branches    
  Filename                    |Rate     Num|Rate    Num|Rate     Num
  ==================================================================
  contracts/PoseidonHasher.sol| 100%    461| 100%     2|    -      0
  contracts/Rln.sol           | 100%     31| 100%     7| 100%     24
rymnc commented 1 year ago

100% coverage doesn't indicate that the contract is fully tested, but with fuzzing, we get closer to fully testing the contract.