You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've written alloy-compat, which allows convertions between alloy and ethereum_types types:
use alloy_compat::Compatas _;// from alloy to ethereum_typeslet address = alloy::address!("deadbeefdeadbeefdeadbeefdeadbeef00000000");let _: eth::Address = address.compat();// from ethereum_types to alloylet hash = eth::H256::zero();let _: alloy::B256 = hash.compat();// integers are supportedlet int = eth::U128::MAX;assert_eq!(alloy::U128::MAX, int.compat());
Might be useful to fold it in here - this issue is for guaging your interest in that
Additional context
No response
The text was updated successfully, but these errors were encountered:
Component
meta-crate
Describe the feature you would like
I've written
alloy-compat
, which allows convertions betweenalloy
andethereum_types
types:Might be useful to fold it in here - this issue is for guaging your interest in that
Additional context
No response
The text was updated successfully, but these errors were encountered: