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

feat: impl compression traits for op primitives #13550

Merged
merged 4 commits into from
Dec 25, 2024

Conversation

klkvr
Copy link
Collaborator

@klkvr klkvr commented Dec 24, 2024

Adds impl_compression_for_compact invocation for op types.

Additionally changes op-primitives crate to only bound the FillTxEnv impl behind optimism feature, that way we don't have to enable revm optimism feature to use the crate

Copy link

codspeed-hq bot commented Dec 24, 2024

CodSpeed Performance Report

Merging #13550 will not alter performance

Comparing klkvr/impl-compress-for-op (1d4b387) with main (c6e38be)

Summary

✅ 77 untouched benchmarks

@klkvr klkvr force-pushed the klkvr/impl-compress-for-op branch from c180dfc to 1b6a552 Compare December 24, 2024 21:08
@@ -50,7 +50,7 @@ arbitrary.workspace = true
proptest.workspace = true

[features]
default = ["std"]
default = ["std", "serde"]
Copy link
Collaborator Author

@klkvr klkvr Dec 24, 2024

Choose a reason for hiding this comment

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

this is needed because reth-primitives enables reth-primitives-traits/serde by default, thus reth-optimism-traits does not compile unless serde is enabled :/

once we migrate to alloy block types we should be able to get rid of reth_primitives dependency and this hack

@mattsse mattsse added this pull request to the merge queue Dec 25, 2024
Merged via the queue into main with commit 90edbff Dec 25, 2024
43 checks passed
@mattsse mattsse deleted the klkvr/impl-compress-for-op branch December 25, 2024 08:22
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