From a431ccade0f9d1c6a93f108aec2d17db8f806374 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 2 Nov 2023 16:44:47 +0100 Subject: [PATCH] fixes to compile function --- apps/vyper/src/app/utils/compiler.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/vyper/src/app/utils/compiler.tsx b/apps/vyper/src/app/utils/compiler.tsx index cecfe687d7..7df3e21dda 100644 --- a/apps/vyper/src/app/utils/compiler.tsx +++ b/apps/vyper/src/app/utils/compiler.tsx @@ -36,6 +36,7 @@ export function isCompilationError(output: VyperCompilationOutput): output is Vy * @param contract The name and content of the contract */ export async function compile(url: string, contract: Contract): Promise { + console.log('vyper reloaded!') if (!contract.name) { throw new Error('Set your Vyper contract file.') } @@ -43,12 +44,16 @@ export async function compile(url: string, contract: Contract): Promise