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

ethers-solc: fix build info default directory #1458

Merged
merged 2 commits into from
Jul 6, 2022

Conversation

tynes
Copy link
Contributor

@tynes tynes commented Jul 6, 2022

Motivation

This commit fixes the default behavior for the build-info
directory when it is unconfigured. It should end up in
the configured artifacts directory, taking into account
whatever the config for the artifacts directory is.
If the build info is specifically configured, then that
will take precendence over the default.

Solution

Take into account the configured artifacts directory instead of using the default value

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

tynes added 2 commits July 5, 2022 17:11
This commit fixes the default behavior for the `build-info`
directory when it is unconfigured. It should end up in
the configured artifacts directory, taking into account
whatever the config for the artifacts directory is.
If the build info is specifically configured, then that
will take precendence over the default.
@tynes tynes force-pushed the fix/build-info-default-dir branch from ec5fe37 to 29de20c Compare July 6, 2022 00:11
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tynes
Copy link
Contributor Author

tynes commented Jul 6, 2022

Would super appreciate a merge and pull into foundry because this will fix our toolchain :)

@gakonst gakonst merged commit 1efdade into gakonst:master Jul 6, 2022
@tynes tynes deleted the fix/build-info-default-dir branch July 6, 2022 18:58
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