Uniswap / v3-periphery

🦄 🦄 🦄 Peripheral smart contracts for interacting with Uniswap v3
https://uniswap.org
GNU General Public License v2.0
1.16k stars 1.08k forks source link

unable to compile NonfungibleTokenPositionDescriptor.sol and NFTDescriptor.sol #268

Open Rav3nPL opened 2 years ago

Rav3nPL commented 2 years ago

Trying to deploy contracts on private network. Code form both repository and Etherscan (verified!) does not compile:

Stack too deep when compiling inline assembly: Variable pos is 19 slot(s) too deep inside the stack.

Are there special compiling flags that are not shown on Etherscan nor documentation?

evansmj commented 2 years ago

I get the same stack issues when trying to use the .positions(). I havent found a solution.

t4sk commented 2 years ago

Try this

https://github.com/Uniswap/v3-periphery/issues/273#issuecomment-1167012716

Rav3nPL commented 2 years ago

No luck, same error. image

garyng2000 commented 2 years ago

I can only compile these NFT related file directly from the project, not remix or by flattening them then just compile that file(even though the setting is exactly the same)