Repository metrics
- Stars
- (16 stars)
- PR merge metrics
- (PR metrics pending)
Description
📝 Description
The function constructCommandArgs is used every time a user interacts with hardhat. It accepts arguments from cli and hardhat.config. It should only accept one set of arguments and cli + config parameters should be resolved before i.e. cli.port ?? config.port (cli commands take precedence) in function interface. It should look like zksync constructCommandArgs. The logic inside the function is simpler with just if (parameter) then push command. Should be applied to nodeCommands.push and adapterCommands.push
🤔 Motivation
The constructCommandArgs is quite error prone, difficult to debug and it is the most crucial functional in our plugin.