Skip to content

Commit be1b577

Browse files
authored
chore: moving mocks and precompile interfaces (#354)
* chore: remove nitro mocks * chore: use precompile submodule * fix: yarn audit * ci: fix slither ci
1 parent bdb8f8c commit be1b577

36 files changed

+21
-2299
lines changed

.github/workflows/slither.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12+
with:
13+
submodules: recursive
1214

1315
- name: Run Slither
1416
uses: crytic/[email protected]

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[submodule "lib/forge-std"]
22
path = lib/forge-std
33
url = https://github.com/foundry-rs/forge-std
4+
[submodule "src/precompiles"]
5+
path = src/precompiles
6+
url = https://github.com/OffchainLabs/nitro-precompile-interfaces.git

audit-ci.jsonc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
// axios Requests Vulnerable To Possible SSRF and Credential Leakage via Absolute URL
3030
"GHSA-jr5f-v2jv-69x6",
3131
// Homograph attack allows Unicode lookalike characters to bypass validation
32-
"GHSA-xq7p-g2vc-g82p"
32+
"GHSA-xq7p-g2vc-g82p",
33+
// brace-expansion Regular Expression Denial of Service vulnerability
34+
"GHSA-v6h2-p8h4-qcjw"
3335
]
3436
}

src/mocks/ArbOS11To32UpgradeTest.sol

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

src/mocks/Benchmarks.sol

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

src/mocks/BigMap.sol

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

src/mocks/CreateTest.sol

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

src/mocks/HostioTest.sol

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

0 commit comments

Comments
 (0)