It turns out contracts get verified successfully except one contract which is deployed inside another contract via new keyword. Etherscan verification results in:
Reason: Fail - Unable to verify. Compiled contract deployment bytecode does NOT match the transaction deployment bytecode.
Does anyone know why ? Exact same thing successfuly gets verified on sepolia. I even tried using etherscan manually, but same thing.
Version of Hardhat
2.22.3
What happened?
Hi.
I am trying to deploy on holesky testnet.
For the etherscan configuration via hardhat, I use the following:
It turns out contracts get verified successfully except one contract which is deployed inside another contract via
new
keyword. Etherscan verification results in:Does anyone know why ? Exact same thing successfuly gets verified on
sepolia
. I even tried using etherscan manually, but same thing.