Skip to content

Conversation

alexghr
Copy link
Contributor

@alexghr alexghr commented Aug 27, 2025

No description provided.

@alexghr alexghr requested a review from charlielye as a code owner August 27, 2025 17:27
@alexghr alexghr enabled auto-merge August 27, 2025 17:27
Comment on lines +132 to +120
// NOTE: we only need to spy on a single client because all l1Utils use the same ViemClient instance
const originalSendRawTransaction = l1Utils[expectedFirstSender].client.sendRawTransaction;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test will start breaking if the above 'note' is no longer true. It should be easy to fix then: just use two different spies!

@alexghr alexghr force-pushed the ag/fix-multi-eoa-flake branch from 71a76fa to 493d43a Compare August 27, 2025 20:05
Copy link
Contributor

@spalladino spalladino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels like we should be able to use the tx delayer for this, but if it works with jest mocks, I'm fine with it.

Comment on lines +122 to +123
// auto-dispose of this spy at the end of this function
using _ = jest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohh fancy

@alexghr alexghr added this pull request to the merge queue Aug 28, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 28, 2025
@PhilWindle PhilWindle added this pull request to the merge queue Aug 28, 2025
Merged via the queue into next with commit d46f452 Aug 28, 2025
14 checks passed
@PhilWindle PhilWindle deleted the ag/fix-multi-eoa-flake branch August 28, 2025 18:14
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.

3 participants