diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9a0121..3095464 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,10 +63,10 @@ jobs: solc-select use 0.5.7 --always-install - name: Set up nix if: matrix.type == 'dapp' - uses: cachix/install-nix-action@v30 + uses: cachix/install-nix-action@v31 - name: Set up cachix if: matrix.type == 'dapp' - uses: cachix/cachix-action@v15 + uses: cachix/cachix-action@v16 with: name: dapp - name: Install Foundry diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cb743bc..d1f67db 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -45,7 +45,7 @@ jobs: path: dist/ - name: publish - uses: pypa/gh-action-pypi-publish@v1.12.3 + uses: pypa/gh-action-pypi-publish@v1.12.4 - name: sign uses: sigstore/gh-action-sigstore-python@v3.0.0 diff --git a/CODEOWNERS b/CODEOWNERS index e636169..66a2e93 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1 +1 @@ -* @montyly @0xalpharush @bohendo +* @elopez @bohendo @smonicas diff --git a/crytic_compile/platform/etherscan.py b/crytic_compile/platform/etherscan.py index e042d37..72f67de 100644 --- a/crytic_compile/platform/etherscan.py +++ b/crytic_compile/platform/etherscan.py @@ -97,6 +97,21 @@ "sepoliaera.zksync": ("300", "sepolia-era.zksync.network"), "xai": ("660279", "xaiscan.io"), "sepolia.xai": ("37714555429", "sepolia.xaiscan.io"), + "xdc": ("50", "xdcscan.com"), + "testnet.xdc": ("51", "testnet.xdcscan.com"), + "apechain": ("33139", "apescan.io"), + "curtis.apechain": ("33111", "curtis.apescan.io"), + "world": ("480", "worldscan.org"), + "sepolia.world": ("4801", "sepolia.worldscan.org"), + "sophon": ("50104", "sophscan.xyz"), + "testnet.sophon": ("531050104", "testnet.sophscan.xyz"), + "sonic": ("146", "sonicscan.org"), + "testnet.sonic": ("57054", "testnet.sonicscan.org"), + "unichain": ("130", "uniscan.xyz"), + "sepolia.unichain": ("1301", "sepolia.uniscan.xyz"), + "abstract": ("2741", "abscan.org"), + "sepolia.abstract": ("11124", "sepolia.abscan.org"), + "berachain": ("80094", "berascan.com"), } SUPPORTED_NETWORK = {**SUPPORTED_NETWORK_V1, **SUPPORTED_NETWORK_V2} diff --git a/crytic_compile/platform/foundry.py b/crytic_compile/platform/foundry.py index 2ea66a9..79c418b 100755 --- a/crytic_compile/platform/foundry.py +++ b/crytic_compile/platform/foundry.py @@ -165,7 +165,7 @@ def is_dependency(self, path: str) -> bool: """ if path in self._cached_dependencies: return self._cached_dependencies[path] - ret = "lib" in Path(path).parts + ret = "lib" in Path(path).parts or "node_modules" in Path(path).parts self._cached_dependencies[path] = ret return ret diff --git a/setup.py b/setup.py index 974c9dc..f35704c 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ description="Util to facilitate smart contracts compilation.", url="https://github.com/crytic/crytic-compile", author="Trail of Bits", - version="0.3.8", + version="0.3.9", packages=find_packages(), # Python 3.12.0 on Windows suffers from https://github.com/python/cpython/issues/109590 # breaking some of our integrations. The issue is fixed in 3.12.1