Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate artifacts for all contracts of an ingot #726

Merged

Conversation

cburgdorf
Copy link
Collaborator

What was wrong?

Currently, when compiling an ingot with a main.fe, artifacts are only generated for the contracts that are defined within main.fe. We should generate artifacts for all contracts of the ingot instead.

How was it fixed?

Adjusted the module.all_contracts(..) API to include contracts of submodules.

@cburgdorf cburgdorf force-pushed the christoph/feat/all_contract_artifacts branch from 0c3c7b4 to f62d788 Compare May 30, 2022 15:21
@cburgdorf
Copy link
Collaborator Author

I rambled more about this in #725. I believe this is a better default.

@cburgdorf cburgdorf requested a review from g-r-a-n-t May 30, 2022 15:23
@sbillig sbillig merged commit 7f12b32 into ethereum:master Jun 1, 2022
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.

2 participants