foundry-rs / foundry-rs/forge-std

bug(StdCheats): deal fails on Optimism sUSD due to packed slot

Open
#293 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.