Skip to content

Commit 6901163

Browse files
committed
ci: Pin Foundry to version 1.2.3 for deterministic block hashes
Foundry 1.3.1 introduced non-deterministic block hash generation even with fixed timestamps and mnemonics, causing integration test failures. Pinning to 1.2.3 ensures consistent behavior across CI runs.
1 parent dc0068a commit 6901163

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ jobs:
160160

161161
- name: Install Foundry
162162
uses: foundry-rs/foundry-toolchain@v1
163+
with:
164+
version: nightly-5b7e4cb3c882b28f3c32ba580de27ce7381f415a
163165
- name: Start anvil
164166
run: anvil --gas-limit 100000000000 --base-fee 1 --block-time 2 --timestamp 1743944919 --port 3021 &
165167

0 commit comments

Comments
 (0)