From 6caea67c3e40f3808e84ac3a111a266d9dcbeb85 Mon Sep 17 00:00:00 2001 From: Kyryl R Date: Sat, 21 Oct 2023 01:31:00 +0300 Subject: [PATCH] Renamed to tryLinkBytecode --- src/deployer/DeployerCore.ts | 2 +- src/deployer/Linker.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deployer/DeployerCore.ts b/src/deployer/DeployerCore.ts index 7fe48d6..93e3991 100644 --- a/src/deployer/DeployerCore.ts +++ b/src/deployer/DeployerCore.ts @@ -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, diff --git a/src/deployer/Linker.ts b/src/deployer/Linker.ts index cc97236..0484637 100644 --- a/src/deployer/Linker.ts +++ b/src/deployer/Linker.ts @@ -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,