openlawteam / tribute-contracts

A new modular DAO framework, inspired by the Moloch smart contracts
https://tributedao.com
MIT License
295 stars 109 forks source link

fix(offchain-voting): remove duplicate checks; set node index to start from 1; tests #534

Closed fforbeck closed 2 years ago

fforbeck commented 2 years ago

Proposed Changes

codecov[bot] commented 2 years ago

Codecov Report

Merging #534 (fd3285f) into master (2f70d3d) will increase coverage by 5.13%. The diff coverage is 100.00%.

:exclamation: Current head fd3285f differs from pull request most recent head 0292f7e. Consider uploading reports for the commit 0292f7e to get more accurate results

@@            Coverage Diff             @@
##           master     #534      +/-   ##
==========================================
+ Coverage   85.59%   90.72%   +5.13%     
==========================================
  Files          52       52              
  Lines        1867     1866       -1     
  Branches      438      438              
==========================================
+ Hits         1598     1693      +95     
+ Misses        269      173      -96     
Impacted Files Coverage Δ
contracts/adapters/voting/OffchainVoting.sol 95.13% <100.00%> (+53.88%) :arrow_up:
contracts/adapters/voting/OffchainVotingHash.sol 77.27% <100.00%> (+28.43%) :arrow_up:
contracts/helpers/OffchainVotingHelper.sol 82.53% <100.00%> (+9.81%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2f70d3d...0292f7e. Read the comment docs.