File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ describe('IexecPoco1', () => {
380380 workerpoolPrice ,
381381 ) ;
382382 const schedulerRewardRatioPerTask =
383- await iexecWrapper . getSchedulerRewardRatioPerTask ( workerpoolAddress ) ;
383+ await iexecWrapper . getSchedulerRewardRatio ( workerpoolAddress ) ;
384384 // Deposit required amounts.
385385 await iexecWrapper . depositInIexecAccount ( requester , dealPrice ) ;
386386 await iexecWrapper . depositInIexecAccount ( scheduler , schedulerStake ) ;
@@ -505,7 +505,7 @@ describe('IexecPoco1', () => {
505505 await iexecWrapper . computeWorkerTaskStake ( workerpoolAddress , workerpoolPrice ) ,
506506 ) ;
507507 expect ( deal . schedulerRewardRatio ) . to . equal (
508- await iexecWrapper . getSchedulerRewardRatioPerTask ( workerpoolAddress ) ,
508+ await iexecWrapper . getSchedulerRewardRatio ( workerpoolAddress ) ,
509509 ) ;
510510 expect ( deal . sponsor ) . to . equal ( requester . address ) ;
511511 } ) ;
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ export class IexecWrapper {
142142 * @param workerpoolAddress address of the workerpool
143143 * @returns value of the reward
144144 */
145- async getSchedulerRewardRatioPerTask ( workerpoolAddress : string ) {
145+ async getSchedulerRewardRatio ( workerpoolAddress : string ) {
146146 return (
147147 await Workerpool__factory . connect (
148148 workerpoolAddress ,
You can’t perform that action at this time.
0 commit comments