From ccb8b5424f6a390256f3f72aa53c56054b658ef6 Mon Sep 17 00:00:00 2001 From: federava Date: Fri, 29 Sep 2023 13:18:07 +0200 Subject: [PATCH] Added signer in estimateDeploymentTransaction - Same signer is used as deployer in every chain, that also includes zkSync based networks --- scripts/common.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/common.ts b/scripts/common.ts index 5bc9ecd2..692a8e55 100644 --- a/scripts/common.ts +++ b/scripts/common.ts @@ -4,6 +4,8 @@ import { promises as filesystem } from 'fs' import { CompilerOutputContract } from 'solc' import { arrayFromHexString, compileContracts } from './utils'; +const signer = "0xE1CB04A0fA36DdD16a06ea828007E35e1a3cBC37"; + export interface DeploymentEstimation { chainId: number gasLimit: ethers.BigNumber @@ -61,7 +63,7 @@ export async function estimateDeploymentTransaction(rpcUrl: string): Promise