Skip to content

Commit dbc1df3

Browse files
committed
Fix build for "Ubuntu 22.04.3 LTS".
Update thirdparty/catch.hpp to v2.13.7. Update README.md build instructions to avoid footguns.
1 parent dee9b9f commit dbc1df3

File tree

2 files changed

+2231
-1129
lines changed

2 files changed

+2231
-1129
lines changed

packages/loopring_v3/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Build
44

5+
### MacOS
56
If you are using a Mac, you will need to (re)install the commandline tool:
67

78
```
@@ -23,8 +24,15 @@ Then you may also need to install "lgmpxx":
2324
sudo make install
2425
```
2526

26-
Please use node v14.15.5.
27-
- `git submodule update --init --recursive` execute in the protocols directory
27+
### Build steps
28+
Use the following build dependencies:
29+
- node v14.15.5 (`nvm install 14.15.5`)
30+
- python 3.10 (`pyenv local 3.10`)
31+
32+
Execute the following in the `protocols` directory:
33+
- `rm packages/loopring_v3/contracts/thirdparty/timelock/ -r`
34+
> The Timelock was directly copied from Compound, so its version is ^0.8.0 which is indeed incompatible with degate contracts. To compile the entire of contracts to understand the degate protocol, you can first remove the Timelock. It can be deployed separately afterwards. [*](https://discord.com/channels/787092485969150012/1176356057505865758/1176443266154123264)
35+
- `git submodule update --init --recursive`
2836
- `npm install`
2937
- `npm run build` or `npm run compile` or `npm run watch`.
3038

0 commit comments

Comments
 (0)