Closed bendangnuksung closed 6 years ago
changes made: 1.(contract/ModelRepository.sol) incentive calculation is not accurate because it is calculating the incentive without considering 'Model.targetError'. Its assumes the targetError =0. Added incentiveCalculations() which considers the 'targetValue' to derive correct incentive. 2.(test/modelrepository.js) edited: targetValue, where targetValue < initialValue
Changes made on files mentioned above. Please check it. Thank you.
Correction in incentive