Skip to content

Commit

Permalink
chore: ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
roderik committed Jan 9, 2025
1 parent e1d6fcf commit 08a3c50
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/solidity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Install canvas dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential libsdl-pango-dev libpangocairo-1.0-0 libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
- uses: crytic/[email protected]
id: slither
Expand All @@ -54,6 +54,7 @@ jobs:
fail-on: none

- name: Upload findings to GitHub Advanced Security Dashboard
continue-on-error: true
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.slither.outputs.sarif }}
Expand Down Expand Up @@ -316,4 +317,4 @@ jobs:
for tag in ${TAGS}; do
images+="${tag}@${DIGEST} "
done
cosign sign --yes ${images}
cosign sign --yes ${images}
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:22.12.0 AS build
FROM node:22.13.0 AS build

COPY --from=oven/bun:1.1.42-debian --chmod=0777 /usr/local/bin/bun /bin/bun
COPY --from=oven/bun:1.1.43-debian --chmod=0777 /usr/local/bin/bun /bin/bun
ENV BUN_RUNTIME_TRANSPILER_CACHE_PATH=0
ENV BUN_INSTALL_BIN=/bin

Expand Down
12 changes: 12 additions & 0 deletions lib/forge-std/src/StdCheats.sol
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,18 @@ abstract contract StdCheatsSafe {
);
}

function assumeUnusedAddress(address addr) internal view virtual {
uint256 size;
assembly {
size := extcodesize(addr)
}
vm.assume(size == 0);

assumeNotPrecompile(addr);
assumeNotZeroAddress(addr);
assumeNotForgeAddress(addr);
}

function readEIP1559ScriptArtifact(string memory path)
internal
view
Expand Down

0 comments on commit 08a3c50

Please sign in to comment.