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
Copy file name to clipboardExpand all lines: vocs/docs/pages/misc/faq.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,7 +161,7 @@ A common layout may look like:
161
161
162
162
Where the Foundry workspace is in `./contracts`, but packages in `./contracts/node_modules` are symlinked to `./node_modules`.
163
163
164
-
When running `forge build` in `./contracts/node_modules`, this can lead to an error like:
164
+
When running [`forge build`][forge-build] in `./contracts/node_modules`, this can lead to an error like:
165
165
166
166
```console
167
167
error[6275]: ParserError: Source "node_modules/@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol" not found: File outside of allowed directories. The following are allowed: "<repo>/contracts", "<repo>/contracts/contracts", "<repo>/contracts/lib".
@@ -195,7 +195,7 @@ It has been [reported](https://github.com/foundry-rs/foundry/issues/3268) that o
195
195
196
196
### Connection refused when running `forge build`
197
197
198
-
If you're unable to access github URLs called by `forge build`, you will see an error like
198
+
If you're unable to access github URLs called by [`forge build`][forge-build], you will see an error like
199
199
200
200
```console
201
201
Error:
@@ -204,18 +204,18 @@ error sending request for url (https://raw.githubusercontent.com/roynalnaruto/so
204
204
205
205
Connection failed because access to the URL from your location may be restricted. To solve this, you should set proxy.
206
206
207
-
You could run `export http_proxy=http://127.0.0.1:7890 https_proxy=http://127.0.0.1:7890` first in the terminal then you will `forge build` successfully.
207
+
You could run `export http_proxy=http://127.0.0.1:7890 https_proxy=http://127.0.0.1:7890` first in the terminal then you will [`forge build`][forge-build] successfully.
208
208
209
209
### I'm getting `[NotActivated] EvmError: NotActivated` error in my tests.
210
210
211
211
This error refers to an EVM version mismatch, make sure the `evm_version` configuration is inline with the test (forked chain) you're using (similar for errors like `prevrandao not set`). See [`evm_version` configuration](/config/reference/solidity-compiler#evm_version)
0 commit comments