Skip to content

Commit 7456de5

Browse files
authored
Fix Build Errors && update deps to latest frax version (#18)
* Fix Build Errors && update deps to latest frax version * Run Tests in CI * Fix CI setup dep
1 parent 3d76d41 commit 7456de5

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
MAINNET_URL: ${{ secrets.MAINNET_RPC_URL }}
1414
ARBITRUM_URL: ${{ secrets.ARBITRUM_MAINNET_URL }}
1515
FRAXTAL_MAINNET_URL: ${{ secrets.FRAXTAL_MAINNET_RPC_URL }}
16+
PK: ${{ secrets.PK }}
1617
steps:
1718
- uses: actions/setup-node@v2
1819
with:
@@ -30,4 +31,4 @@ jobs:
3031
- run: pnpm i
3132
- run: pnpm lint:check
3233
- run: forge build --sizes
33-
# - run: forge test
34+
- run: forge test

foundry.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ cbor_metadata = false
3131
#gas_reports = []
3232
fs_permissions = [{ access = "read-write", path = "./"}]
3333

34+
ignored_error_codes = [ 1878, 2018, 2519, 2462, 5574, 5667, 2072, 2018, 3420, 5740, 3860 ]
35+
36+
3437
[fuzz]
3538
# Amount of runs per fuzz test
3639
runs = 1024

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@prb/math": "^4.1.0",
3535
"ds-test": "github:dapphub/ds-test",
3636
"forge-std": "github:foundry-rs/forge-std#60acb7aaadcce2d68e52986a0a66fe79f07d138f",
37-
"frax-standard-solidity": "github:FraxFinance/frax-standard-solidity#v1.1.3",
37+
"frax-standard-solidity": "github:FraxFinance/frax-standard-solidity#v1.1.4",
3838
"solidity-bytes-utils": "github:GNSPS/solidity-bytes-utils",
3939
"solmate": "github:transmissions11/solmate#fadb2e2778adbf01c80275bfb99e5c14969d964b",
4040
"@fraxfinance/layerzero-v2-upgradeable": "github:fraxfinance/LayerZero-v2-upgradeable#deps/pin-oz",

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

remappings.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ frax-std/=node_modules/frax-standard-solidity/src/
33
forge-std/=node_modules/forge-std/src/
44
ds-test/=node_modules/ds-test/src/
55
@openzeppelin/=node_modules/@openzeppelin/
6+
src/@openzeppelin/=node_modules/@openzeppelin/
67
solmate=node_modules/solmate/src/

0 commit comments

Comments
 (0)