From 6d8361107583e1b23ccb9f3ed4884b0d41d5b105 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Tue, 30 May 2023 12:24:33 +0530 Subject: [PATCH] disable name textfield --- apps/etherscan/src/app/views/VerifyView.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/etherscan/src/app/views/VerifyView.tsx b/apps/etherscan/src/app/views/VerifyView.tsx index e997bd982c..cea1cadc6d 100644 --- a/apps/etherscan/src/app/views/VerifyView.tsx +++ b/apps/etherscan/src/app/views/VerifyView.tsx @@ -66,7 +66,7 @@ export const VerifyView: React.FC = ({ const constructorTypes = constructorInputs.map(e => e.type) let contractArguments = web3.eth.abi.encodeParameters(constructorTypes, constructorValues) contractArguments = contractArguments.replace("0x", "") - + verificationResult.current = await verify( apiKey, values.contractAddress, @@ -166,6 +166,7 @@ export const VerifyView: React.FC = ({ key={`contractArgName${index}`} name={`contractArgName${index}`} value={item.name} + disabled={true} />