Added Nix as a requirement, since the Makefile runs nix-env in the solc task.
Specified 2.36.1 as the minimum version required of git. It seems there is an issue on git versions under 2.36.1 where the git submodule update command, which is run by forge update, fails if the submodule repository doesn't have a master branch with this message:
fatal: Needed a single revision
Unable to find current origin/master revision in submodule path 'lib/chainlink-brownie-contracts'
The chainlink-brownie-contracts and solmate repositories don't have a master branch. Therefore, this error happens with git versions under 2.36.1 when running make ormake update.
nix-env
in thesolc
task.git submodule update
command, which is run byforge update
, fails if the submodule repository doesn't have amaster
branch with this message:The
chainlink-brownie-contracts
andsolmate
repositories don't have amaster
branch. Therefore, this error happens with git versions under 2.36.1 when runningmake
ormake update
.