bug: forge script stuck when running anvil with fixed block time #7844
Labels
C-anvil
Command: anvil
Cmd-forge-script
Command: forge script
P-normal
Priority: normal
T-bug
Type: bug
T-to-investigate
Type: to investigate
T-to-reproduce
Type: requires reproduction
Milestone
Component
Anvil
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (d495216 2024-05-03T00:21:54.426103000Z)
What command(s) is the bug in?
No response
Operating System
macOS (Apple Silicon)
Describe the bug
Not sure if this is an issue with
anvil
orforge script
.I have a forge script that sends about 60 transactions. It works well with
anvil
, but it's stuck indefinitely withanvil --block-time 3
.On the anvil console output I see one block with a bunch of transactions, the next block with 1 transaction, then all subsequent blocks have 0 transactions. I also see non-stop
eth_getTransactionReceipt
logs.It works if I run
forge script
with--batch-size 10
, but it's stuck with the default setting.The text was updated successfully, but these errors were encountered: