From a5efc935fead7cb897289b20850e058595b45394 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Mon, 18 Sep 2023 15:44:10 +0530 Subject: [PATCH] e2e fix when no error --- apps/remix-ide/src/blockchain/blockchain.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/blockchain/blockchain.tsx b/apps/remix-ide/src/blockchain/blockchain.tsx index a95f94f912..c698fd9c40 100644 --- a/apps/remix-ide/src/blockchain/blockchain.tsx +++ b/apps/remix-ide/src/blockchain/blockchain.tsx @@ -944,7 +944,7 @@ export class Blockchain extends Plugin { ? toBuffer(execResult.returnValue) : toBuffer(addHexPrefix(txResult.result) || '0x0000000000000000000000000000000000000000000000000000000000000000') const compiledContracts = await this.call('compilerArtefacts', 'getAllContractDatas') - const vmError = txExecution.checkError({ errorMessage: execResult.exceptionError.error, errorData: execResult.returnValue }, compiledContracts) + const vmError = txExecution.checkError({ errorMessage: execResult.exceptionError ? execResult.exceptionError.error : '', errorData: execResult.returnValue }, compiledContracts) if (vmError.error) { return cb(vmError.message) }