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

fix(solc): emit empty bytecode objects for standalone sol files #1327

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented May 30, 2022

Motivation

Ref foundry-rs/foundry#1736

emit an empty bytecode object if file doesn't contain any contract definitions, same behavior as solc does with interfaces.

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

@itsdevbear
Copy link

lgtm, thanks for the fix @mattsse

@gakonst gakonst merged commit 8e3529e into gakonst:master May 31, 2022
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.

3 participants