Skip to content

Commit

Permalink
clean console log
Browse files Browse the repository at this point in the history
  • Loading branch information
joeizang committed Feb 23, 2024
1 parent 3b41236 commit 1d0d0e4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion apps/vyper/src/app/components/CompilerButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
<div className="d-flex align-items-center justify-content-center fa-1x">
<span className="fas fa-sync fa-pulse mr-1" />
{/* <span className="fas fa-sync fa-pulse mr-1" /> */}
<div className="text-truncate overflow-hidden text-nowrap">
<span>Compile</span>
<span className="ml-1 text-nowrap">{contract}</span>
Expand Down
3 changes: 0 additions & 3 deletions apps/vyper/src/app/utils/compiler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ export async function compile(url: string, contract: Contract): Promise<any> {
* @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', '')
Expand Down Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d0d0e4

Please sign in to comment.