alloy-rs / alloy

Transports, Middleware, and Networks for the Alloy project
https://alloy.rs
Apache License 2.0
653 stars 236 forks source link

impl ConvertRuint for U256 to be compatible with alloy_serde #1661

Closed DougieHauser closed 4 days ago

DougieHauser commented 4 days ago

Adding the ConvertRuint trait to apply to the non-primitive type of U256, this is a first step towards fixing issue 85 in op-alloy

This is my 1st contribution ever.. be gentle :)

DaniPopes commented 4 days ago

Thanks but this is not needed, you can simply remove the serde(with = "quantity") attribute since quantity should only used for non-ruint integers