erc6551 / reference

ERC-6551 reference implementation
153 stars 50 forks source link

Fix submodules branch error #25

Open zapaz opened 1 year ago

zapaz commented 1 year ago

Fix this error on forge update

$  forge update
fatal : Impossible de trouver la révision refs/remotes/origin/v1.3.0 dans le chemin de sous-module 'lib/forge-std'
fatal : Échec de la récursion dans le chemin de sous-module 'lib/erc6551-reference'
Error:
git submodule exited with code 128: Chemin de sous-module 'lib/erc6551-reference' : '3585dc2cd3c3dbae461f137a7445fd6942917ffe' extrait

branch v1.3.0 doesn't exists on forge-std but v1 exists branch v4.8.1 doesn't exists on oz lib but release-v4.8 exists

jaydenwindle commented 1 year ago

@zapaz I just did a fresh clone of the repo and running forge install to download the dependencies worked fine. Can you expand on what the problem is here?

zapaz commented 1 year ago

@zapaz I just did a fresh clone of the repo and running forge install to download the dependencies worked fine. Can you expand on what the problem is here?

yes forge install works but install old version (january 2023) of forge-std (v1.3.0) and open-zeppelin (v4.8.1) but forge updatefails, needed to install latest version of forge-std (v1.7.1) and open-zeppelin (v4.8.3)

just have to fix non existing branches in .gitmodules

here is the error (in english)

$ forge update
fatal: Unable to find refs/remotes/origin/v1.3.0 revision in submodule path 'lib/forge-std'
Error:
git submodule exited with code 128