From 431f815ea7d42771033e13890bf0b1d3ab6f70a6 Mon Sep 17 00:00:00 2001 From: Channing Date: Thu, 15 Feb 2024 15:02:40 -0800 Subject: [PATCH] fix --- scripts/dev/getContractCodehash.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dev/getContractCodehash.ts b/scripts/dev/getContractCodehash.ts index 61bc195..7b4a412 100644 --- a/scripts/dev/getContractCodehash.ts +++ b/scripts/dev/getContractCodehash.ts @@ -6,7 +6,7 @@ export const getContractCodehash = async ( ) => { const [signer] = await hre.ethers.getSigners(); const provider = signer.provider; - let code = await provider!.getCode(args.contract); + const code = await provider!.getCode(args.contract); const codehash = hre.ethers.utils.keccak256(code); console.log(codehash); }