Skip to content

Commit

Permalink
Renamed to tryLinkBytecode
Browse files Browse the repository at this point in the history
  • Loading branch information
KyrylR committed Oct 20, 2023
1 parent 48f19f0 commit 6caea67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/deployer/DeployerCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class DeployerCore {
? ArtifactProcessor.tryGetContractName(deployParams.bytecode)
: deployParams.contractName;

deployParams.bytecode = await Linker.linkBytecode(
deployParams.bytecode = await Linker.tryLinkBytecode(
this._hre,
contractName,
deployParams.bytecode,
Expand Down
2 changes: 1 addition & 1 deletion src/deployer/Linker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class Linker {
return bytecodeToString(bytecode).indexOf("__") === -1;
}

public static async linkBytecode(
public static async tryLinkBytecode(
hre: HardhatRuntimeEnvironment,
contractName: string,
bytecode: string,
Expand Down

0 comments on commit 6caea67

Please sign in to comment.