Skip to content

Commit 1257683

Browse files
committed
tests: Pin anvil to version 1.2.3
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.
1 parent dc0068a commit 1257683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ services:
2020
POSTGRES_DB: graph-node
2121
POSTGRES_INITDB_ARGS: "-E UTF8 --locale=C"
2222
anvil:
23-
image: ghcr.io/foundry-rs/foundry:stable
23+
image: ghcr.io/foundry-rs/foundry:v1.2.1
2424
ports:
2525
- '3021:8545'
2626
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

Comments
 (0)