Skip to content

Require length of bytecode > 0#43

Open
beskay wants to merge 1 commit intohuff-language:mainfrom
beskay:patch-1
Open

Require length of bytecode > 0#43
beskay wants to merge 1 commit intohuff-language:mainfrom
beskay:patch-1

Conversation

@beskay
Copy link
Copy Markdown

@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 join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant