Skip to content

Commit 5337b78

Browse files
committed
update function tee name
1 parent dbe737b commit 5337b78

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/000_fullchain.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ describe('Integration tests', function () {
311311
// Finalize each task and check balance changes.
312312
for (let taskIndex = 0; taskIndex < volume; taskIndex++) {
313313
const taskId = await iexecWrapper.initializeTask(dealId, taskIndex);
314-
const { workerStakePerTask } = await iexecWrapper.contributeTeeToTask(
314+
const { workerStakePerTask } = await iexecWrapper.contributeToTeeTask(
315315
dealId,
316316
taskIndex,
317317
callbackResultDigest,
@@ -389,7 +389,7 @@ describe('Integration tests', function () {
389389
// Finalize each task and check balance changes.
390390
for (let taskIndex = 0; taskIndex < volume; taskIndex++) {
391391
const taskId = await iexecWrapper.initializeTask(dealId, taskIndex);
392-
const { workerStakePerTask } = await iexecWrapper.contributeTeeToTask(
392+
const { workerStakePerTask } = await iexecWrapper.contributeToTeeTask(
393393
dealId,
394394
taskIndex,
395395
callbackResultDigest,
@@ -463,7 +463,7 @@ describe('Integration tests', function () {
463463
const accountsInitialFrozens = await getInitialFrozens(accounts);
464464
const taskIndex = 0;
465465
const taskId = await iexecWrapper.initializeTask(dealId, taskIndex);
466-
const { workerStakePerTask } = await iexecWrapper.contributeTeeToTask(
466+
const { workerStakePerTask } = await iexecWrapper.contributeToTeeTask(
467467
dealId,
468468
taskIndex,
469469
resultDigest,

test/utils/IexecWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ export class IexecWrapper {
379379
* @param resultDigest hash of the result
380380
* @returns id of the task
381381
*/
382-
async contributeTeeToTask(
382+
async contributeToTeeTask(
383383
dealId: string,
384384
taskIndex: number,
385385
resultDigest: string,

0 commit comments

Comments
 (0)