Skip to content

Commit

Permalink
ci(forge): update cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubilmax committed Sep 27, 2024
1 parent e65fa4b commit dbe44f9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/foundry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Build contracts via IR & check sizes
# don't use compilation cache
# skip import files, because we don't care if contracts are too big
run: yarn build:forge --force --sizes --skip Import
run: yarn build --force --sizes --skip Import


build-no-ir:
Expand All @@ -42,7 +42,7 @@ jobs:
- uses: ./.github/actions/install-cache

- name: Build contracts without IR
run: yarn build:forge
run: yarn build
env:
FOUNDRY_PROFILE: test

Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- uses: ./.github/actions/install-cache

- name: Run local tests on chain ${{ matrix.chain }} in ${{ matrix.type }} mode
run: yarn test:forge:local
run: yarn test:local
env:
FOUNDRY_FUZZ_RUNS: ${{ matrix.fuzz-runs }}
FOUNDRY_FUZZ_MAX_TEST_REJECTS: ${{ matrix.max-test-rejects }}
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
- uses: ./.github/actions/install-cache

- name: Run fork tests on chain ${{ matrix.chain }} in ${{ matrix.type }} mode
run: yarn test:forge:fork --chain ${{ matrix.chain }}
run: yarn test:fork --chain ${{ matrix.chain }}
env:
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }}
FOUNDRY_FUZZ_RUNS: ${{ matrix.fuzz-runs }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ await bundler

Install dependencies with `yarn`.

Run tests with `yarn test:forge --chain <chainid>` (chainid can be 1 or 8453).
Run tests with `yarn test --chain <chainid>` (chainid can be 1 or 8453).

Note that the `EthereumBundlerV2` has been deployed with 80 000 optimizer runs.
To compile contracts with the same configuration, run `FOUNDRY_PROFILE=ethereumBundlerV2 forge b`.
Expand Down
6 changes: 6 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "node_modules/@lerna-lite/cli/schemas/lerna-schema.json",
"version": "independent",
"npmClient": "yarn",
"useWorkspaces": true
}
9 changes: 2 additions & 7 deletions packages/ethers/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@morpho-org/bundlers-sdk-ethers",
"description": "Morpho Blue Bundlers SDK",
"description": "Morpho Blue Bundlers SDK (ethers-based)",
"license": "GPL-2.0-or-later",
"version": "1.2.0",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/morpho-labs/morpho-blue-bundlers.git"
Expand All @@ -16,11 +16,6 @@
"url": "https://github.com/morpho-labs/morpho-blue-bundlers/issues"
},
"homepage": "https://github.com/morpho-labs/morpho-blue-bundlers#readme",
"private": true,
"packageManager": "yarn@4.4.0",
"workspaces": [
"packages/*"
],
"scripts": {
"prepublish": "yarn build",
"prepare": "ln -sfn ../../src/ ./contracts && ln -sfn ../../lib/ ./lib",
Expand Down

0 comments on commit dbe44f9

Please sign in to comment.