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

evm: add unit tests for ConfigureEvm trait #10230

Merged
merged 6 commits into from
Aug 9, 2024

Conversation

tcoratger
Copy link
Contributor

To try to avoid scenarios like the one mentioned in #10210, unit tests have started to be added for the ConfigureEvm trait for Eth configuration. Follow up PRs will cover:

  • More tests for missing methods.
  • Additional tests for the Optimism cfg.

@@ -38,3 +38,4 @@ serde_json.workspace = true
[features]
default = ["std"]
std = []
optimism = []
Copy link
Collaborator

Choose a reason for hiding this comment

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

this crate is ethereum specific, I want to avoid optimism feature here entirely

could we move the op tests to the op crate?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Now should be ok, let me know

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

cool, very simple but important

@mattsse mattsse added this pull request to the merge queue Aug 9, 2024
@mattsse mattsse added the C-test A change that impacts how or what we test label Aug 9, 2024
Merged via the queue into paradigmxyz:main with commit 50397cd Aug 9, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-test A change that impacts how or what we test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants