foundry
foundry copied to clipboard
bug(`forge script`): script hangs after compiling when having more than ~10 transactions
Component
Forge
Have you ensured that all of these are up to date?
- [X] Foundry
- [X] Foundryup
What version of Foundry are you on?
forge 0.2.0 (d90e997 2024-09-03T00:19:42.467055000Z)
What command(s) is the bug in?
forge script PostDeploy --broadcast --sig "run()" --priority-gas-price 1 --rpc-url "https://rpc.garnetchain.com" --batch-size=3 --skip-simulation
Operating System
macOS (Apple Silicon)
Describe the bug
We have a script doing application configurations and sending out ~300 transactions. We started to see the script hanging for a very long time since last month before the transactions start being processed. It would stuck at this stage for more than 10 min:
forge script PostDeploy --broadcast --sig "run()" --priority-gas-price 1 --rpc-url "https://rpc.garnetchain.com" --batch-size=3 --skip-simulation --gas-price 1 --debug
[⠊] Compiling...
No files changed, compilation skipped
We only started seeing this around a month ago and didn't have issues before. Can we get some help looking into this?