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

migrate compat to trace_decoder crate #308

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

frisitano
Copy link
Contributor

This PR proposes that we migrate the Compat trait to trace_decoder::types. The rationale behind this migration is such that if there are clients that alloy based which want to integrate with the trace protocol they should not have to import the rpc crate to get access to the Compat trait and associated conversions. A concrete example of this is the integration of reth which is alloy based.

@github-actions github-actions bot added crate: trace_decoder Anything related to the trace_decoder crate. crate: zero_bin Anything related to the zero-bin subcrates. labels Jun 21, 2024
@muursh muursh requested review from atanmarko and 0xaatif June 21, 2024 14:30
Copy link
Contributor

@0xaatif 0xaatif left a comment

Choose a reason for hiding this comment

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

I like this change, and the rationale, but trace_decoder::types is going away pretty soon: #309.

Can you break this out into a compact micro-crate, with publish = false, and we can decide on it's final resting place when the dust settles?

@Nashtare Nashtare added this to the Cleanups and Misc. milestone Jun 21, 2024
@frisitano frisitano force-pushed the feat/migrate-compat branch 2 times, most recently from 2e2adb0 to e86adff Compare June 23, 2024 06:01
@github-actions github-actions bot removed the crate: trace_decoder Anything related to the trace_decoder crate. label Jun 23, 2024
@frisitano frisitano force-pushed the feat/migrate-compat branch 2 times, most recently from 455359e to 1dcbf4e Compare June 23, 2024 06:20
@frisitano frisitano requested a review from 0xaatif June 23, 2024 06:21
compat/Cargo.toml Outdated Show resolved Hide resolved
compat/Cargo.toml Outdated Show resolved Hide resolved
@atanmarko
Copy link
Member

@frisitano Could you rebase so that we can merge?

@frisitano
Copy link
Contributor Author

@frisitano Could you rebase so that we can merge?

done.

@0xaatif 0xaatif enabled auto-merge (squash) June 29, 2024 11:54
@0xaatif 0xaatif merged commit 439b8c2 into 0xPolygonZero:develop Jun 29, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate: zero_bin Anything related to the zero-bin subcrates.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants