Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
r0ohafza committed Aug 27, 2022
1 parent bb2291e commit 4e45871
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,22 @@ forge test --no-match-contract Integration -vvv

#### Integration tests

##### Ethereum mainnet

```bash
forge test --match-contract Integration --fork-url https://rpc.ankr.com/eth -vvv
forge test --match-contract Integration --no-match-contract ArbiIntegration --fork-url https://rpc.ankr.com/eth
```

---
##### Arbitrum mainnet

#### Configuring with VSCode
```bash
forge test --match-contract ArbiIntegration --fork-url https://arb1.arbitrum.io/rpc -vvv
```

Create a remappings.txt and paste the mappings provided by `forge config`
---

Example:
#### Configuring mappings

```bash
controller/=lib/controller/src/
forge-std/=lib/forge-std/src/
oracle/=lib/oracle/src/
prb-math/=lib/prb-math/contracts/
solidity-bytes-utils/=lib/controller/lib/solidity-bytes-utils/contracts/
solmate/=lib/solmate/src/
forge config > remappings.txt
```

0 comments on commit 4e45871

Please sign in to comment.