foundry-rs / foundry-rs/forge-std

bug(StdCheats): dealERC721 fails for proxy contracts

Open
#318 13 comments 1 reaction 0 assignees View on GitHub
bug improvement
Dominant language
Solidity
Stars
1.1k
Forks
520
Avg merge
2d 21h
Merged PRs (30d)
11

Description

Getting the following error when using dealERC721 for UniswapV3 LP positions (i.e. NonfungiblePositionManager):
[FAIL. Reason: stdStorage find(StdStorage): Slot(s) not found.]

Seems find() is having a hard time getting the storage slot due to the implementation of EnumerableMaps.

Minimal reproducible repo [here](https://github.com/SonOfMosiah/forge-std_testDealERC721).

@wirew0lf

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.