Skip to content

Commit

Permalink
chore: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Nov 5, 2024
1 parent 331b310 commit 2656507
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 28 deletions.
4 changes: 0 additions & 4 deletions .github/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@ runs:

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

- name: Install dependencies
run: yarn install --frozen-lockfile
shell: bash
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ User-end bundlers are provided in each chain-specific folder, instantiating all

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
21 changes: 2 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,11 @@
"prepare": "forge install",
"build": "FOUNDRY_PROFILE=build forge build",
"test": "FOUNDRY_PROFILE=test forge test",
"test:local": "FOUNDRY_MATCH_CONTRACT=LocalTest yarn test:forge",
"test:fork": "FOUNDRY_MATCH_CONTRACT=ForkTest yarn test:forge",
"test:local": "FOUNDRY_MATCH_CONTRACT=LocalTest yarn test",
"test:fork": "FOUNDRY_MATCH_CONTRACT=ForkTest yarn test",
"lint": "forge fmt",
"lint:check": "forge fmt --check",
"lint:fix": "forge fmt",
"clean": "forge clean"
},
"lint-staged": {
"*.sol": "forge fmt",
"*.json": "prettier",
"*.yml": "prettier"
},
"prettier": {
"printWidth": 120,
"plugins": [
"@trivago/prettier-plugin-sort-imports"
],
"importOrder": [
"^@",
"^\\.\\.",
"^\\."
],
"importOrderSeparation": true
}
}
5 changes: 1 addition & 4 deletions test/MorphoBundlerLocalTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
pragma solidity ^0.8.0;

import {
Withdrawal,
FlowCapsConfig,
MAX_SETTABLE_FLOW_CAP,
IPublicAllocator
Withdrawal, FlowCapsConfig, MAX_SETTABLE_FLOW_CAP, IPublicAllocator
} from "../src/interfaces/IPublicAllocator.sol";

import {SigUtils} from "./helpers/SigUtils.sol";
Expand Down

0 comments on commit 2656507

Please sign in to comment.