Skip to content

Commit 283fc66

Browse files
xenideclaude
andcommitted
ci: use hardcoded miner bytecode instead of huff2 compilation
huff2 has no pre-built binaries and requires cargo install from git, which is too slow for CI. Use sed to set HUFF2_INSTALLED=false before tests so the existing hardcoded bytecode fallback is used instead. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent 6e180ec commit 283fc66

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737

3838
- uses: foundry-rs/foundry-toolchain@8789b3e21e6c11b2697f5eb56eddae542f746c10 # v1.7.0
3939

40+
- name: Use hardcoded miner bytecode (huff2 not available)
41+
run: sed -i 's/HUFF2_INSTALLED = true/HUFF2_INSTALLED = false/' test/AngstromL2.t.sol test/FeeAsymmetry.t.sol test/ReentrancyPOC.t.sol
42+
4043
- name: Run tests
4144
run: forge test
4245

0 commit comments

Comments
 (0)