foundry-rs / foundry-rs/forge-std
bug(StdCheats): deal fails on Optimism sUSD due to packed slot
Open
bug
- Dominant language
- Solidity
- Stars
- 1.1k
- Forks
- 520
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 11
Description
When i try to deal [sUSD](https://optimistic.etherscan.io/address/0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9#code) via `deal(0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9, user, 1 ether);` on optimism foundry crashes with
```
[FAIL. Reason: stdStorage find(StdStorage): Packed slot. This would cause dangerous overwriting and currently isn't supported.]
```
Seems a bit similar, but probably different:
- https://github.com/foundry-rs/forge-std/issues/140
Contributor guide
Assessment
This issue has not been assessed yet.