Skip to content

Commit

Permalink
update creationBytecodeLength
Browse files Browse the repository at this point in the history
  • Loading branch information
freehere107 committed Nov 10, 2023
1 parent 6e0bf3e commit 4ae0f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/verification/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export async function recompile(

const contract: any = output.contracts[fileName][contractName];
let meta = JSON.parse(contract.metadata);
meta.output.creationBytecodeLength = getBytecodeWithoutMetadata(`0x${contract.evm.bytecode.object}`).length;
meta.output.creationBytecodeLength = `0x${contract.evm.bytecode.object}`.length

return {
creationBytecode: `0x${contract.evm.bytecode.object}`,
Expand Down

0 comments on commit 4ae0f69

Please sign in to comment.