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: ethers to alloy #194

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

YadominJinta
Copy link
Contributor

Motivation

migrate from ethers.rs to alloy

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@YadominJinta YadominJinta force-pushed the feat/alloy branch 4 times, most recently from 415e4c7 to 0466bde Compare July 3, 2024 19:19
@YadominJinta YadominJinta changed the title WIP: migrate: ethers to alloy migrate: ethers to alloy Jul 3, 2024
max_priority_fee_per_gas: Vec<Option<u64>>,
max_fee_per_gas: Vec<Option<u64>>,
success: Vec<bool>,
n_input_bytes: Vec<u32>,
n_input_zero_bytes: Vec<u32>,
n_input_nonzero_bytes: Vec<u32>,
n_rlp_bytes: Vec<u32>,
// not support by alloy
Copy link
Member

Choose a reason for hiding this comment

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

looks like n_rlp_bytes can be achieved by converting Transaction to Signed and using Signed.rlp_encoded_length()

https://docs.rs/alloy/0.6.4/alloy/consensus/struct.Signed.html#method.rlp_encoded_length

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.

3 participants