diff --git a/apps/vyper/src/app/utils/compiler.tsx b/apps/vyper/src/app/utils/compiler.tsx index 1b196050c8..834eb3a18a 100644 --- a/apps/vyper/src/app/utils/compiler.tsx +++ b/apps/vyper/src/app/utils/compiler.tsx @@ -111,10 +111,10 @@ const compileReturnType = (output, contract) => { const normal = normalizeContractPath(contract)[2] const abi = temp[normal]['abi'] const evm = _.merge(temp[normal]['evm']) - const dpb = evm.deployedBytecode + const depByteCode = evm.deployedBytecode const runtimeBytecode = evm.bytecode const methodIdentifiers = evm.methodIdentifiers - const version = output?.compilers[0]?.version ?? '0.3.10' + const version = output?.compilers[0]?.version ?? '0.4.0' const optimized = output?.compilers[0]?.settings?.optimize ?? true const evmVersion = '' @@ -131,7 +131,7 @@ const compileReturnType = (output, contract) => { } = { contractName: normal, abi, - bytecode: dpb, + bytecode: depByteCode, runtimeBytecode, ir: '', methodIdentifiers, diff --git a/apps/vyper/src/app/utils/remix-client.tsx b/apps/vyper/src/app/utils/remix-client.tsx index 2c534a8cc7..0557149b1e 100644 --- a/apps/vyper/src/app/utils/remix-client.tsx +++ b/apps/vyper/src/app/utils/remix-client.tsx @@ -90,15 +90,15 @@ export class RemixClient extends PluginClient { { url: 'https://github.com/vyperlang/vyper', token: null, branch: 'master', singleBranch: false, workspaceName: 'vyper' }, ) - await this.call( - 'dgitApi', - 'checkout', - { - ref:'v0.0.5', - force: true, - refresh: true, - } - ) + // await this.call( + // 'dgitApi', + // 'checkout', + // { + // ref:'v0.0.5', + // force: true, + // refresh: true, + // } + // ) this.call( // @ts-ignore