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

Optimize cache enabled recompile #1009

Closed
mattsse opened this issue Mar 11, 2022 · 0 comments · Fixed by #1029
Closed

Optimize cache enabled recompile #1009

mattsse opened this issue Mar 11, 2022 · 0 comments · Fixed by #1029

Comments

@mattsse
Copy link
Collaborator

mattsse commented Mar 11, 2022

Is your feature request related to a problem? Please describe.
with caching enabled only dirty files are provided to solc. in #998 this was changed so that the CompilerInput also included all the file's imports, so that solc does not need to resolve all required files itself. However this results in solc compiling all those clean files with the shared output settings, which is unnecessary as for clean files we don't require bytecode etc.

Describe the solution you'd like

Take #998 approach and modify the settings dynamically, to tell solc not to include bytecode etc in the output for clean files.

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 a pull request may close this issue.

1 participant