-
Notifications
You must be signed in to change notification settings - Fork 7
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
enha: migrate from rlp to alloy-rlp for transaction decoding #2026
Conversation
Update transaction input decoding to use alloy-rlp instead of the standalone rlp crate: - Replace rlp dependency with alloy-rlp in Cargo.toml - Update transaction input decoding implementation to use alloy-rlp's Decodable trait - Modify RPC RLP parsing to use the new decoding method - Simplify transaction envelope decoding logic
/flamegraph |
/benchmark |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Flamegraphs: Git Info:
Flamegraphs: write: read: follower: |
Benchmark: Git Info:
Configuration:
Leader Stats: Follower Stats: Plots: |
User description
Update transaction input decoding to use alloy-rlp instead of the standalone rlp crate:
PR Type
Enhancement
Description
Replace rlp crate with alloy-rlp
Update transaction input decoding implementation
Modify RPC RLP parsing method
Simplify transaction envelope decoding logic
Changes walkthrough 📝
transaction_input.rs
Update TransactionInput decoding to use alloy-rlp
src/eth/primitives/transaction_input.rs
rpc_parser.rs
Update RPC RLP parsing to use alloy-rlp
src/eth/rpc/rpc_parser.rs
Cargo.toml
Update dependencies to replace rlp with alloy-rlp
Cargo.toml