Skip to content

Commit

Permalink
fix(deploy): include deployed bytecode to artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
shahnami committed Sep 25, 2024
1 parent 1d9dbd4 commit a7cc31e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/deploy/src/models/deployment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ export type ContractArtifact = {
object: string;
linkReferences: any;
};
deployedBytecode: {
object: string;
linkReferences: any;
};
};
metadata: string;
};
Expand Down
4 changes: 4 additions & 0 deletions packages/deploy/src/utils/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ export function extractArtifact({
object: contract.evm.bytecode.object,
linkReferences: contract.evm.bytecode.linkReferences,
},
deployedBytecode: {
object: contract.evm.deployedBytecode.object,
linkReferences: contract.evm.deployedBytecode.linkReferences,
},
},
metadata: contract.metadata,
},
Expand Down

0 comments on commit a7cc31e

Please sign in to comment.