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

docs: document unit for --with-gas-price #8370

Merged
merged 5 commits into from
Jul 26, 2024

Conversation

PaulRBerg
Copy link
Contributor

Motivation

It is not clear in which unit the gas price should be passed when running forge script --with-gas-price.

Solution

Mention the unit at the end of the description - "in wei".

@DaniPopes
Copy link
Member

DaniPopes commented Jul 5, 2024

That's the default yes, you can also specify the unit after the value like "1 gwei"; see value below, it mentions this, we should probably apply the same docs here too

Copy link
Member

@Evalir Evalir left a comment

Choose a reason for hiding this comment

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

should be g2g. will leave up to @DaniPopes & rest of team to approve and merge this :)

crates/cli/src/opts/transaction.rs Outdated Show resolved Hide resolved
crates/script/src/lib.rs Outdated Show resolved Hide resolved
@DaniPopes DaniPopes enabled auto-merge (squash) July 26, 2024 13:24
@mattsse mattsse disabled auto-merge July 26, 2024 14:24
@mattsse mattsse merged commit f7f1240 into foundry-rs:master Jul 26, 2024
17 of 20 checks passed
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.

None yet

4 participants