Uniswap / universal-router

Uniswap's Universal Router for NFT and ERC20 swapping
GNU General Public License v3.0
410 stars 210 forks source link

Url for `permit2` in `.gitmodules` causes sync issue #246

Closed shuhuiluo closed 1 year ago

shuhuiluo commented 1 year ago

The url of permit2 in .gitmodules creates sync issue for me. It was git@github.com:Uniswap/permit2.git. But using it prevents GitHub Desktop or Foundry from installling dependencies automatically.

To replicate, simply do

git clone https://github.com/Uniswap/universal-router
cd .\universal-router\ 
forge install

The following is printed:

Cloning into '******/universal-router/lib/permit2'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

After changing the url to https://github.com/Uniswap/permit2, it syncs smoothly.