Modularize into 2 hardhat tasks, make them easier to debug.
Attach a file by drag & drop or click to upload