wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.19k stars 292 forks source link

feat(helpers): execute with custom address #323

Closed dalechyn closed 1 year ago

dalechyn commented 2 years ago

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.

dalechyn commented 1 year ago

@wighawag