Skip to content

Commit 18c4992

Browse files
authored
Merge pull request #68 from bgd-labs/feat/upgrade-tooling
chore: upgrade tooling
2 parents ec33f4f + a6f8d82 commit 18c4992

File tree

11 files changed

+1377
-1068
lines changed

11 files changed

+1377
-1068
lines changed

.github/workflows/comment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
comment:
1818
name: Comment Bot
1919
runs-on: ubuntu-latest
20-
# workflow run triggeres on all types of "completed" including "cancelled" and similar
20+
# workflow run triggers on all types of "completed" including "cancelled" and similar
2121
# we want this action to only run on a success & failure though
2222
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure' }}
2323
steps:

.github/workflows/test.yml

+13-7
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
19+
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6
1920
with:
20-
submodules: recursive
21-
- uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135
22-
- name: Install node dependencies
23-
run: bun install
21+
node-version-file: .nvmrc
22+
cache: "npm"
23+
24+
- name: install
25+
run: npm ci --prefer-offline --no-audit
26+
2427
- name: lint
25-
run: bun run lint --check
28+
run: npm run lint
2629

2730
test:
2831
name: Foundry build n test
@@ -33,15 +36,18 @@ jobs:
3336
- uses: actions/checkout@v4
3437
with:
3538
submodules: recursive
36-
- uses: oven-sh/setup-bun@8f24390df009a496891208e5e36b8a1de1f45135
39+
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6
40+
with:
41+
node-version-file: .nvmrc
42+
cache: "npm"
3743

3844
- name: Install Foundry
3945
uses: foundry-rs/foundry-toolchain@8f1998e9878d786675189ef566a2e4bf24869773
4046
with:
4147
version: nightly
4248

4349
- name: Install node dependencies
44-
run: bun install
50+
run: npm ci --prefer-offline --no-audit
4551

4652
- name: Run Forge build
4753
run: |

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ downloads/
1717
.vscode
1818
lcov*
1919

20-
# well, looks strange to ignore package-lock, but we have only pretter and it's temproray
21-
package-lock.json
20+
yarn.lock
21+
bun.lockb
2222
node_modules
2323

2424
# ignore foundry deploy artifacts

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ cp .env.example .env
2424

2525
forge install
2626

27-
# optional, to install prettier
28-
bun install
27+
# required for tests & linting
28+
npm install
2929
```
3030

3131
<br>

bun.lockb

-89 KB
Binary file not shown.

certora/stata/harness/pool/SymbolicLendingPool.sol

+1-4
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,7 @@ contract SymbolicLendingPool {
9393
return reserve.configuration;
9494
}
9595

96-
function getVirtualUnderlyingBalance(
97-
address asset
98-
) external view virtual returns (uint128) {
96+
function getVirtualUnderlyingBalance(address asset) external view virtual returns (uint128) {
9997
return reserve.virtualUnderlyingBalance;
10098
}
101-
10299
}

0 commit comments

Comments
 (0)