mario-eth / soldeer

Solidity Package Manager written in rust
MIT License
188 stars 19 forks source link

Chisel doesn't work #131

Closed ZeroEkkusu closed 3 weeks ago

ZeroEkkusu commented 1 month ago

Chisel relies on the default Forge Std remapping forge-std. Soldeer uses @forge-std by default.

Trying to use Chisel CLI (chisel) results in the following error:

zeroekkusu soldeer-minimal % chisel 
Welcome to Chisel! Type `!help` to show available commands.
➜ uint256 a = 5
Compiler errors:
Error (6275): Source "forge-std/Vm.sol" not found: File not found. Searched the following locations: "".
ParserError: Source "forge-std/Vm.sol" not found: File not found. Searched the following locations: "".
 --> ReplContract.sol:5:1:
  |
5 | import {Vm} from "forge-std/Vm.sol";
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mario-eth commented 1 month ago

Hey, the new version will have a more straightforward way of dealing with remappings!

ZeroEkkusu commented 1 month ago

Ok, you can close the issue if you want.

mario-eth commented 3 weeks ago

It will be improved in v0.3.0, closing for now