Skip to content

Conversation

fubhy
Copy link
Member

@fubhy fubhy commented Aug 16, 2025

Summary

Pins Foundry to version 1.2.3 in the CI configuration to fix integration test failures caused by non-deterministic block hash generation in Foundry 1.3.1.

Problem

Integration tests were failing with block hash assertion errors after Foundry updated to version 1.3.1. Investigation revealed that Foundry 1.3.1 produces different block hashes on each restart, even when using identical parameters (--timestamp, --mnemonic, etc.) that previously ensured deterministic behavior.

Solution

Pin Foundry to the last known working version (1.2.3) that generates deterministic block hashes, ensuring consistent test results across CI runs.

Test Plan

  • Verified that Foundry 1.3.1 produces non-deterministic block hashes
  • Confirmed that pinning to 1.2.3 should restore deterministic behavior
  • Integration tests should pass in CI with this change

🤖 Generated with Claude Code

@fubhy fubhy force-pushed the fix-foundry-1.3.1-integration-tests branch from c76c3bc to f8f7228 Compare August 16, 2025 20:44
@fubhy fubhy requested a review from lutter August 16, 2025 20:45
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.
@fubhy fubhy force-pushed the fix-foundry-1.3.1-integration-tests branch from f8f7228 to 6901163 Compare August 16, 2025 21:15
@fubhy fubhy changed the title fix: Update block hashes and POI values for Foundry 1.3.1 ci: Pin Foundry to version 1.2.3 for deterministic block hashes Aug 16, 2025
@fubhy fubhy closed this Aug 18, 2025
@fubhy fubhy deleted the fix-foundry-1.3.1-integration-tests branch August 18, 2025 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant