Closed yondonfu closed 4 years ago
f53c96a Fixes a failing test case related to updating activeCumulativeRewards in updateTranscoderWithFees ab87bf6 Always sets lastFeeRound to the current round since its possible (although unlikely in practice due to the way the client is implemented) for a ticket to be redeemed with round N and then a ticket to be redeemed with round N - 1.
Ran some tests and changes look good to me otherwise , just needs a npm run eslint:fix
it seems.
What does this pull request do? Explain your changes. (required)
Overall diff against
streamflow
branch.The BondingManager bytecode size is now 23280. The size can be calculated with the following steps:
Specific updates (required)
streamflow
to avoid dealing with rebase conflicts for nowpendingStakeAndFees()
helper inpendingStake()
,pendingFees()
andupdateDelegatorWithEarnings()
updateCumulativeRewardFactor()
andupdateCumulativeFeeFactor()
functions from EarningsPoolLIP36addToRewardPool()
,addToFeePool()
andclaimShare()
from EarningsPoolupdateTranscoderWithFees()
May still be useful to add additional tests, but left that out for now.
How did you test each of these updates (required)
Ran test suite.
Does this pull request close any open issues?
N/A
Checklist:
npm run test
pass