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

templatise foundry.toml and remove --via-ir flag #189

Merged
merged 6 commits into from
Jan 6, 2025

Conversation

technophile-04
Copy link
Collaborator

@technophile-04 technophile-04 commented Jan 2, 2025

Description:

Templatised the foundry.toml file. Lol I wanted to templatise it from beginning but didn't had good use case in our core extensions.

In scaffold-eth#1023 we will be removing default --via-ir flag and allowing people to pass it if required to foundry.toml file. --via-ir flag is required for ctf-extension checkout https://github.com/carletex/ctf-devcon/pull/154.

To test:

  1. Switch to this branch.

  2. yarn build

  3. Get the args from example extension pr

yarn cli -s foundry -e https://github.com/scaffold-eth/create-eth-extensions/tree/example-add-foundry-toml

Copy link
Member

@rin-st rin-st left a comment

Choose a reason for hiding this comment

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

Works well, great job!

Added some comments. Also, please add information about new template file to TEMPLATE-FILES.md

@technophile-04 technophile-04 requested a review from rin-st January 4, 2025 04:28
@rin-st
Copy link
Member

rin-st commented Jan 4, 2025

Thanks for updates! What about this?

Also, please add information about new template file to TEMPLATE-FILES.md

@technophile-04
Copy link
Collaborator Author

Also, please add information about new template file to TEMPLATE-FILES.md

Ohh my bad, updated it 🙌

Copy link
Member

@rin-st rin-st left a comment

Choose a reason for hiding this comment

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

Lgtm! Thank you!

@technophile-04
Copy link
Collaborator Author

Thanks @rin-st! Merging this 🙌

@technophile-04 technophile-04 merged commit f983396 into main Jan 6, 2025
1 check passed
@technophile-04 technophile-04 deleted the foundry-changes branch January 6, 2025 08:08
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