That little change allows calling execute on an unknown address in a way hardhat-deploy defines.
Use-case: You have a factory contract that deploys a child contract. Currently, there is no way to interact with them unless you import ethers and use them. However though, I was receiving a REPLACEMENT_ERROR which I believe popped up due to nonce not being incremented in the hardhat-deploy instance.
Simply yet, this addition should drop the need for ethers for such use cases.
That little change allows calling
execute
on an unknown address in a wayhardhat-deploy
defines.Use-case: You have a factory contract that deploys a child contract. Currently, there is no way to interact with them unless you import
ethers
and use them. However though, I was receiving aREPLACEMENT_ERROR
which I believe popped up due to nonce not being incremented in thehardhat-deploy
instance.Simply yet, this addition should drop the need for
ethers
for such use cases.