Synthetixio / synthetix-pm

Private repo for project management of the americas team
0 stars 2 forks source link

[EPIC] Leftovers from phase b #132

Open theethernaut opened 3 years ago

theethernaut commented 3 years ago

Tasks

theethernaut commented 3 years ago

@i-stam a couple of things since you own this epic:

1) Let me suggest that Tasks in epics are easily measurable goals, so that we can make them finite. E.g. "Finish test coverage" could be "Take all L2 bridge related contracts to > 90% test coverage". I'm suggesting 90% because I think it makes more sense to hit > 95% in phase c, when things are more mature.

2) I just took a look at hitting the two internal functions in SecondaryDeposit.sol that aren't yet covered, namely

i-stam commented 3 years ago
  1. Since most of the code not used is commented out we can easily hit 95%. Perhaps, we should have more formal and global standard e.g. 90% is acceptable for merging things.
  2. rewardEscrow() should have been commented out, agreed. I get what you are saying, maybe for the moment being we can leave it as is till we bring the multi-test here. I don't think it is worth spending more time hitting this line now.
theethernaut commented 3 years ago

@i-stam Ok then, super silly PR that comments out the unused code. It should result in increased test coverage. https://github.com/Synthetixio/synthetix/pull/804

jjgonecrypto commented 3 years ago

Can you also link to: https://github.com/Synthetixio/synthetix/pull/803

We really want these epics to be a summary of all ongoing work