hardhat-ignition
hardhat-ignition copied to clipboard
Async support in buildModule
Short version: How can I pass latest block time in constructor args like in hardhat Lock example
Description:
I'm not able to find any way to pass async dynamic value to constructor of contract inside buildModule
. We can either pass params via code or by parameters.json, parameters.json is static while the buildModule doesn't support promises ( it's orchestrated around Futures ). To pass latest block block time I need to wait for the response from RPC like time.latest()
being used in hardhat lock example