You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~ » mkdir /tmp/dappthing && cd /tmp/dappthing
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/tmp/dappthing » dapp --version
dapp 0.32.2
solc, the solidity compiler commandline interface
Version: 0.6.7+commit.b8d736ae.Linux.g++
hevm 0.46.0
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/tmp/dappthing » mkdir -p lib/foo
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/tmp/dappthing » dapp --version
dapp-remappings: error: ./lib/foo is not a Git repository
dapp-remappings: error: try "dapp update" to initialize submodules
dapp 0.32.2
solc, the solidity compiler commandline interface
Version: 0.6.7+commit.b8d736ae.Linux.g++
hevm 0.46.0
Namely, there are some commands, for example dapp --version, dapp --nix-run etc. that shouldn't expect us to be inside a dapp-structured project. I was told this might be relevant for PR #719
The text was updated successfully, but these errors were encountered:
livnev
changed the title
dapp looks inside ./lib/ even for "innocent commands"
dapp looks inside ./lib/ even for "innocent" commands
Aug 11, 2021
This will be partially fixed by #719 since adds a a non git based directory hashing strategy to dapp remappings (albeit a quite expensive one: recursively hashing every file in the directory), but perhaps we can do better by only calling dapp remappings inside of dapp build...
This is quite weird behaviour:
Namely, there are some commands, for example
dapp --version
,dapp --nix-run
etc. that shouldn't expect us to be inside a dapp-structured project. I was told this might be relevant for PR #719The text was updated successfully, but these errors were encountered: