Skip to content

Commit 5144d61

Browse files
authored
Merge pull request #282 from Gearbox-protocol/next
feat!: version 3.1
2 parents 51f1a25 + 3d604a8 commit 5144d61

File tree

177 files changed

+9727
-13433
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+9727
-13433
lines changed

.env.fork

Lines changed: 0 additions & 7 deletions
This file was deleted.

.env.goerli

Lines changed: 0 additions & 4 deletions
This file was deleted.

.env.mainnet

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/pr.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,6 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v3
1717

18-
- name: Setup node.js
19-
uses: actions/setup-node@v3
20-
with:
21-
cache: "yarn"
22-
node-version-file: ".nvmrc"
23-
24-
- name: Install dependencies
25-
run: |
26-
yarn install --frozen-lockfile
27-
2818
- name: Install Foundry
2919
uses: foundry-rs/foundry-toolchain@v1
3020
with:
@@ -43,7 +33,3 @@ jobs:
4333

4434
- name: Run gas tests
4535
run: forge test --mt test_G -vv
46-
47-
- name: Perform checks
48-
run: |
49-
yarn prettier:ci

.github/workflows/release.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,27 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
submodules: recursive
1922

20-
- uses: actions/setup-node@v3
23+
- name: Use Latest Corepack
24+
run: |
25+
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
26+
npm install -g corepack@latest
27+
echo "After : corepack version => $(corepack --version)"
28+
corepack enable
29+
pnpm --version
30+
31+
- name: Setup node.js
32+
uses: actions/setup-node@v4
2133
with:
22-
cache: "yarn"
34+
cache: "pnpm"
2335
node-version-file: ".nvmrc"
2436

25-
# prepare script runs before publish, and it needs husky
26-
- name: Install dependencies
27-
run: |
28-
yarn install --frozen-lockfile
37+
- name: Install node dependencies
38+
run: pnpm install --frozen-lockfile
2939

3040
- name: Install Foundry
3141
uses: foundry-rs/foundry-toolchain@v1

.gitignore

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
1-
.history/
2-
.idea/
3-
abi/
4-
node_modules/
1+
# Compiler files
52
cache/
6-
build/
7-
typechain/
8-
artifacts/
9-
coverage*
3+
/out/
4+
/node_modules/
5+
6+
# Ignores development broadcast logs
7+
!/broadcast
8+
/broadcast/*/31337/
9+
/broadcast/**/dry-run/
10+
11+
# Docs
12+
docs/
13+
14+
# Dotenv file
1015
.env
11-
.verifier*
12-
.DS_Store
13-
/security/Peckshield.sol
14-
/security/ClickerAttackSolution.sol
15-
/security/TickerBombAttackSolution.sol
16-
/.env.local
17-
out/
18-
forge-out/
19-
.mainnet.test.cache
16+
17+
# Logs
2018
*.log
21-
.eslintcache
22-
.eslint.local.json
23-
.favorites.json
24-
dist/

.gitmodules

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
[submodule "lib/forge-std"]
22
path = lib/forge-std
33
url = https://github.com/foundry-rs/forge-std
4-
branch = v1.3.0
4+
[submodule "lib/@gearbox-protocol/sdk-gov"]
5+
path = lib/@gearbox-protocol/sdk-gov
6+
url = https://github.com/Gearbox-protocol/sdk-gov
7+
[submodule "lib/@1inch/solidity-utils"]
8+
path = lib/@1inch/solidity-utils
9+
url = https://github.com/1inch/solidity-utils
10+
[submodule "lib/@openzeppelin"]
11+
path = lib/@openzeppelin
12+
url = https://github.com/OpenZeppelin/openzeppelin-contracts

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16
1+
22

.prettierignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
node_modules
2-
artifacts
32
cache
4-
types
5-
forge-out
3+
out

.releaserc.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
"@semantic-release/commit-analyzer",
1414
"@semantic-release/release-notes-generator",
1515
"@semantic-release/npm",
16-
"@semantic-release/github"
16+
[
17+
"@semantic-release/github",
18+
{
19+
"successComment": false,
20+
"failTitle": false
21+
}
22+
]
1723
]
1824
}

0 commit comments

Comments
 (0)