foundry-rs / foundry

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
https://getfoundry.sh
Apache License 2.0
8.1k stars 1.67k forks source link

bug(`forge script`): `--slow` flag is being skipped #8452

Open vbhattaccmu opened 1 month ago

vbhattaccmu commented 1 month ago

Component

Forge

Have you ensured that all of these are up to date?

What version of Foundry are you on?

forge 0.2.0 (6de15b0 2024-07-15T00:24:50.814665100Z)

What command(s) is the bug in?

forge script

Operating System

Windows

Describe the bug

When I execute a smart contract using the following command

 forge script Deploy.s.sol   --rpc-url <RPC_URL> --private-key <PRIVATE_KEY> --broadcast  --slow

The smart contract is sending internal transactions in random order of nonce. This scenario is reproducible with a lot of OpenZeppelin contracts. Seems like the command is skipping the --slow command. Would appreciate if I could get help/information on this.

zerosnacks commented 1 month ago

Hi @vbhattaccmu thanks for your report, would you mind creating a minimal reproduction example? This would help a lot in narrowing down the issue.