You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that anvil 1.2.3 is the last version to produce deterministic
block hashes reliably. The 'grafted' test really needs deterministic block
hashes as they influence the PoI which this test checks.
If [this foundry bug](foundry-rs/foundry#9570)
gets fixed, we should try again with latest stable foundry.
Copy file name to clipboardExpand all lines: tests/docker-compose.yml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,9 @@ services:
20
20
POSTGRES_DB: graph-node
21
21
POSTGRES_INITDB_ARGS: "-E UTF8 --locale=C"
22
22
anvil:
23
-
image: ghcr.io/foundry-rs/foundry:stable
23
+
# Pinned to specific version since newer versions do not produce
24
+
# deterministic block hashes. Unpin once that's fixed upstream
25
+
image: ghcr.io/foundry-rs/foundry:v1.2.3
24
26
ports:
25
27
- '3021:8545'
26
28
command: "'anvil --host 0.0.0.0 --gas-limit 100000000000 --base-fee 1 --block-time 2 --timestamp 1743944919 --mnemonic \"test test test test test test test test test test test junk\"'"
0 commit comments