The help comments for --gas-limit
and --block-gas-limit
are the same.
#4693
Labels
A-docs
Area: docs
C-forge
Command: forge
Cmd-forge-script
Command: forge script
Cmd-forge-test
Command: forge test
P-low
Priority: low
T-bug
Type: bug
Milestone
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (0e7ff88 2023-04-04T00:11:28.439758000Z)
What command(s) is the bug in?
forge test --help, forge script --help
Operating System
macOS (Intel)
Describe the bug
The help messages for
--gas-limit
and--block-gas-limit
are confusing because they are the same.The following code shows that the
--block-gas-limit
option is prioritized.When I actually specified both and got the value of
--block-gas-limit
forblock.gaslimit
. If only one was specified, that value was given.If they are equivalent, it would be easier to understand if one or the other is deleted. If not, it would be better to change the help message.
The text was updated successfully, but these errors were encountered: