foundry-rs / foundry-rs/foundry
Add `[anvil]` section to `foundry.toml`
Open
A-config
C-anvil
T-feature
- Dominant language
- Rust
- Stars
- 10.6k
- Forks
- 2.6k
- Avg merge
- 18h 20m
- Merged PRs (30d)
- 510
Description
### Component
Anvil
### Describe the feature you would like
I have forking configs in hardhat.config.ts, it changes according to the following env variables:
- NETWORK
- FORK
- FORK_BLOCK_NUMBER
...
sometimes anvil node is better so I'd like to use anvil for running forkmainnet, in this case how can I let anvil read directly those configs instead of putting complex input parameters such as --fork-url etc.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.