Layr-Labs / incredible-squaring-avs

Basic repo demoing a simple AVS middleware with full eigenlayer integration
Other
169 stars 119 forks source link

contracts/lib/eigenlayer-middleware/lib/ds-test/src/test.sol": No such file or directory #77

Closed khssnv closed 1 month ago

khssnv commented 3 months ago

An attempt to exec make build-contracts fails with the following error.

$ make build-contracts
cd contracts && forge build
[⠃] Compiling...2024-07-01T14:49:01.902488Z ERROR foundry_compilers_artifacts_solc::sources: error="/home/khassanov/Workspace/github.com/Layr-Labs/incredible-squaring-avs/contracts/lib/eigenlayer-middleware/lib/ds-test/src/test.sol": No such file or directory (os error 2)
[⠊] Compiling...
Error: 
failed to resolve file: "/home/khassanov/Workspace/github.com/Layr-Labs/incredible-squaring-avs/contracts/lib/eigenlayer-middleware/lib/ds-test/src/test.sol": No such file or directory (os error 2); check configured remappings
        --> /home/khassanov/Workspace/github.com/Layr-Labs/incredible-squaring-avs/contracts/lib/forge-std/src/Test.sol
        ds-test/test.sol
make: *** [Makefile:21: build-contracts] Error 1
diyahir commented 1 month ago

Add this to remappings and it should work: "ds-test/=lib/forge-std/lib/ds-test/src/"

I'll create a quick PR for it