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); }