Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Require length of bytecode > 0 #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

beskay
Copy link

@beskay beskay commented Jun 24, 2023

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant