From bf9e28fce14b0e382b5f261d13c3db59c576c61c Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Fri, 23 Feb 2024 23:54:09 +0100 Subject: [PATCH] clean console log --- apps/vyper/src/app/components/CompilerButton.tsx | 2 +- apps/vyper/src/app/utils/compiler.tsx | 3 --- .../vyper-compile-details/src/lib/vyper-compile-details.tsx | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/vyper/src/app/components/CompilerButton.tsx b/apps/vyper/src/app/components/CompilerButton.tsx index f7d2331348..54597171e9 100644 --- a/apps/vyper/src/app/components/CompilerButton.tsx +++ b/apps/vyper/src/app/components/CompilerButton.tsx @@ -29,7 +29,7 @@ function CompilerButton({contract, setOutput, compilerUrl, resetCompilerState}: className="btn btn-primary w-100 d-block btn-block text-break remixui_disabled mb-1 mt-3" >
- + {/* */}
Compile {contract} diff --git a/apps/vyper/src/app/utils/compiler.tsx b/apps/vyper/src/app/utils/compiler.tsx index b9f2fd883e..ac621ced7d 100644 --- a/apps/vyper/src/app/utils/compiler.tsx +++ b/apps/vyper/src/app/utils/compiler.tsx @@ -204,7 +204,6 @@ export async function compile(url: string, contract: Contract): Promise { * @param compilationResult Result returned by the compiler */ export function toStandardOutput(fileName: string, compilationResult: any): any { - console.log(compilationResult) const contractName = normalizeContractPath(fileName)[2] const compiledAbi = compilationResult['contractTypes'][contractName].abi const deployedBytecode = compilationResult['contractTypes'][contractName].deploymentBytecode.bytecode.replace('0x', '') @@ -294,8 +293,6 @@ export async function compileContract(contract: string, compilerUrl: string, set }) const data = toStandardOutput(_contract.name, output) - console.log('data', data) - console.log('what is the shape of my output', output) remixClient.compilationFinish(_contract.name, _contract.content, data) const contractName = _contract['name'] const compileResult = compileReturnType(output, contractName) diff --git a/libs/remix-ui/vyper-compile-details/src/lib/vyper-compile-details.tsx b/libs/remix-ui/vyper-compile-details/src/lib/vyper-compile-details.tsx index a4df4a700a..c1f9d40c17 100644 --- a/libs/remix-ui/vyper-compile-details/src/lib/vyper-compile-details.tsx +++ b/libs/remix-ui/vyper-compile-details/src/lib/vyper-compile-details.tsx @@ -11,7 +11,6 @@ interface RemixUiVyperCompileDetailsProps { export function RemixUiVyperCompileDetails({ payload, theme, themeStyle }: RemixUiVyperCompileDetailsProps) { const compileResult = payload['compileResult'] ?? {} - console.log('compileResult', compileResult, payload) const bcode = compileResult.bytecode ? compileResult.bytecode.object : '' const runtimeBcode = compileResult.runtimeBytecode ? compileResult.runtimeBytecode.object : '' const ir = compileResult.ir