Skip to content

Commit 1ea3e5b

Browse files
committed
fix: fixed unit test
Signed-off-by: Logan Nguyen <[email protected]>
1 parent 5a129ea commit 1ea3e5b

File tree

5 files changed

+135
-95
lines changed

5 files changed

+135
-95
lines changed

packages/relay/src/lib/services/ethService/ethCommonService/CommonService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ export class CommonService implements ICommonService {
458458
}
459459
}
460460

461-
throw predefined.COULD_NOT_ESTIMATE_GAS_PRICE;
461+
throw predefined.COULD_NOT_ESTIMATE_GAS_PRICE('Failed to retrieve gas price from network fees');
462462
}
463463

464464
/**

packages/relay/tests/lib/eth/eth_call.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ describe('@ethCall Eth Call spec', async function () {
402402
_status: {
403403
messages: [
404404
{
405-
message: '',
405+
message: 'CONTRACT_REVERT_EXECUTED',
406406
detail: defaultErrorMessageText,
407407
data: defaultErrorMessageHex,
408408
},

0 commit comments

Comments
 (0)