foundry-huff
foundry-huff copied to clipboard
Require length of bytecode > 0
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.