foundry-rs / foundry-rs/foundry

feat(`forge script`): ability to control gas multiplier from within script and different gas calculations per chain

Open
#11,346 3 comments 0 reactions 0 assignees View on GitHub
A-cheatcodes C-forge Cmd-forge-script T-feature
Dominant language
Rust
Stars
10.6k
Forks
2.6k
Avg merge
18h 20m
Merged PRs (30d)
510

Description

### Component

Forge

### Describe the feature you would like

From X:

>What is missing / not working / wrong with Forge scripts in your opinion?

[An issue] I encountered recently is the lack of ability to control gas multipliers from within the script

Some of my scripts interact with multiple chains using createSelectFork, but for some chains (Linea for example) I need different gas calculations and it requires me to write another script and run the two scripts one after the other in a bash script

By https://x.com/adi_milstein/status/1957799095998853216

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.