Closed
Description
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
What command(s) is the bug in?
forge script
Operating System
macOS (Apple Silicon)
Describe the bug
Regression in d46bcb3 (#6219). When I install the previous commit (02292f2) using foundryup --commit
the issue goes away.
> forge script --legacy scripts/foundry/InitializeL2BridgeContracts.s.sol:InitializeL2BridgeContracts --rpc-url "$SCROLL_L2_DEPLOYMENT_RPC" 2>&1
[⠊] Compiling...
[⠘] Compiling 261 files with 0.8.16
[⠢] Solc 0.8.16 finished in 17.54s
2024-01-19T14:27:30.019085Z ERROR sharedbackend: Failed to send/recv `storage` err=failed to get storage for 0x5300000000000000000000000000000000000000 at 82: could not fetch slot {idx} from {address} address=0x5300000000000000000000000000000000000000 index=82
Error:
fuzz: failed to inspect: Database error: failed to get storage for 0x5300000000000000000000000000000000000000 at 82: could not fetch slot {idx} from {address}
A similar command works with ethereum/client-go:v1.11.6
but not with scrolltech/l2geth:scroll-v5.1.7
(which is a fork of geth). It is possible that alloy providers rely on some RPC features not widely supported.