Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run StEth fork test by default #459

Merged
merged 3 commits into from
Oct 28, 2024
Merged

Run StEth fork test by default #459

merged 3 commits into from
Oct 28, 2024

Conversation

adhusson
Copy link
Contributor

When running forge test, the parent contract of fork tests named ForkTest sets the chain id to 1 by default in its setUp functon. All fork tests except one thus run on Ethereum.

EthereumStEthBundlerForkTest does not, because it skips ForkTest's setUp if the chain id is not 1, and all its tests are skipped if the chain id is not 1.

This PR makes the tests of EthereumStEthBundlerForkTest run by default.

Copy link
Contributor

@MathisGD MathisGD left a comment

Choose a reason for hiding this comment

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

Either this or #460 are ok for me

@adhusson
Copy link
Contributor Author

Not allowed to merge but closing #460.

@MathisGD MathisGD merged commit a18dd8b into main Oct 28, 2024
10 checks passed
@MathisGD MathisGD deleted the fix/restore-steth-fork-test branch October 28, 2024 17:17
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