-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: Alloy type migration #4674
Conversation
Codecov Report
... and 11 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
amazing, only 1 q re Bytes type
this PR is blocked by revm, right?
@@ -836,10 +837,10 @@ impl TransactionSigned { | |||
/// Returns the enveloped encoded transactions. | |||
/// | |||
/// See also [TransactionSigned::encode_enveloped] | |||
pub fn envelope_encoded(&self) -> bytes::Bytes { | |||
pub fn envelope_encoded(&self) -> Bytes { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
which bytes type is this here?
I'd like to keep bytes::Bytes and not a hex wrapper
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is alloy Bytes, I don't see why have multiple types in a public interface
Blocked by Revm migration, and Alloy release |
As discussed, let's no longer block this PR on the releases / merging of the deps, let's drive it to the end / remove ethers from as many places as we can, and merge on Monday after we release alpha.9. |
Merging into |
First commit is 90% automated with regexes
TODO:
B::random
withrandom_with
whenever an Rng is available, feat: add support forrand
alloy-rs/core#282migrateanother PRdecode_revert_reason
toalloy_sol_types