Skip to content

Conversation

@tenthirtyone
Copy link
Contributor

@tenthirtyone tenthirtyone commented Jul 17, 2025

Fixes the intermittent test failure experienced by #232 #231

It think this may have been introduced in #172. In my fork, this is the earliest failure I see in the commit history, but it differs on every fork I checked.

For whatever reason, occasionally this test will encounter an issue where new'ing a contract deployment collides with an existing contract deployment. This is probably a race condition in the nonce mgmt or test network setup/teardown given the error message:
image

CreateCollision indicates contract code exists at the desired address. At first, this seemed like it was an issue in the deterministic deployment. I rotated the salt values of each one without any change.

Refactoring the InvalidImplementation to deploy during test setup fixed the issue.

@tenthirtyone tenthirtyone marked this pull request as ready for review July 17, 2025 02:32
@tenthirtyone tenthirtyone changed the title draft: cicd salts fix: Intermittent test failure in cicd from newing in unit test Jul 17, 2025
@tenthirtyone tenthirtyone merged commit 3a0023c into me-foundation:main Jul 17, 2025
3 checks passed
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.

2 participants