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

refactor: Drop reth_primitives::Log #7651

Merged
merged 7 commits into from Apr 16, 2024

Conversation

0xqd
Copy link
Contributor

@0xqd 0xqd commented Apr 15, 2024

Drop reth_primitives::Log since we have implemented compact_codec for it in storage/codecs crate.
Ref #7050

WIP

@0xqd 0xqd force-pushed the refactor_drop_reth_primitives_log branch from ad5bad5 to e206cd8 Compare April 15, 2024 12:50
@0xqd 0xqd requested review from Evalir and emhane as code owners April 15, 2024 12:50
@onbjerg onbjerg changed the title Refactor: Drop reth_primitives::Log refactor: Drop reth_primitives::Log Apr 15, 2024
@onbjerg onbjerg added the C-debt A section of code is hard to understand or change label Apr 15, 2024
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.

this is great!

a few nits

crates/primitives/src/log.rs Outdated Show resolved Hide resolved
crates/primitives/src/log.rs Show resolved Hide resolved
crates/primitives/src/revm/compat.rs Outdated Show resolved Hide resolved
crates/rpc/rpc-types-compat/src/log.rs Outdated Show resolved Hide resolved
@0xqd
Copy link
Contributor Author

0xqd commented Apr 15, 2024

@mattsse I need help for the failed test at line 540 file proofs.rs. The input is identical, but the output seems to be difference cmpared to primitive::Log.

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.

looks like something went wrong while migrating byte data for one test.

I quickly redid it and test passes

tysm!

@mattsse mattsse added this pull request to the merge queue Apr 16, 2024
Merged via the queue into paradigmxyz:main with commit 49ceeaf Apr 16, 2024
27 checks passed
@0xqd 0xqd deleted the refactor_drop_reth_primitives_log branch April 16, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-debt A section of code is hard to understand or change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants