foundry-huff icon indicating copy to clipboard operation
foundry-huff copied to clipboard

Require length of bytecode > 0

Open beskay opened this issue 1 year ago • 0 comments

The Huff deployer deploys a contract even if no Huff file exists (bytecode.length == 0).

We can solve this by checking the length of bytecode. If it is zero, the deployment reverts.

beskay avatar Jun 24 '23 04:06 beskay