-
Notifications
You must be signed in to change notification settings - Fork 699
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
feat: docs for gas-reports #64
Conversation
src/reference/config.md
Outdated
|
||
- Type: array of strings (contract names) | ||
- Default: ["*"] | ||
- Environment: `FOUNDRY_GAS_REPORTS` or `DAPP_GAS_REPORTS` // TODO confirm if these exist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
draft PR because I don't know if the env variables: FOUNDRY_GAS_REPORTS
or DAPP_GAS_REPORTS
exist. I don't see them in foundry-rs/foundry#637 or in Github search.
Do reviewers know if they exist? Or should I remove this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, they automatically exist because of this line: https://github.com/gakonst/foundry/blob/2d1713f4052cae92a178a3c8e3bacb7ad6a4e359/config/src/lib.rs#L563 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for clarifying!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should update the index in src/forge/tests.md
and remove the todo, otherwise lgtm overall, thanks for this 😄
Ah, my bad, I remember it as an index. Thanks! 😄 |
No problemo, thanks for maintaining these super helpful docs |
Fixes #31
Motivation
Epic feature needs docs
Screenshots
Added to
foundry.toml
ReferenceNew page: Gas reports