File tree Expand file tree Collapse file tree 3 files changed +29
-1
lines changed
protocol/pcp/dlu/eth/contracts Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
This directory contains the implementation of the PCP settlement smart contract. To test the contract, run:
4
4
5
+ ## Installation
6
+
7
+ First, make the install script executable:
8
+
9
+ ``` bash
10
+ chmod +x install-deps.sh
11
+ ./install-deps.sh
12
+ ```
13
+
14
+ ## Testing
15
+
16
+ Then, run the install script:
17
+
5
18
``` bash
6
- forge test
19
+ ./install-deps.sh
7
20
```
8
21
9
22
There is a long-running test covering over 50 epochs. It will likely take a few seconds to run.
Original file line number Diff line number Diff line change
1
+ [profile .default ]
2
+ src = " src"
3
+ out = " out"
4
+ libs = [" lib" ]
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Remove existing libs
4
+ rm -rf lib/
5
+
6
+ # Install all dependencies
7
+ forge install foundry-rs/forge-std --no-commit
8
+ forge install OpenZeppelin/openzeppelin-contracts --no-commit
9
+ forge install safe-global/safe-smart-account --no-commit
10
+ forge install transmissions11/solmate --no-commit
11
+ forge install OpenZeppelin/openzeppelin-contracts-upgradeable --no-commit
You can’t perform that action at this time.
0 commit comments