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
The rpc crate provides code to convert from alloy_rpc_types::Signature to alloy_primitives::Signature; however, it is not clear how to perform the conversion in the opposite direction. Could you please provide an example to perform such a conversion or implement the try_from code directly in the rpc crate?
let rpc_sig: alloy_rpc_types::Signature = ....;let primitives_sig = alloy_primitives::Signature::try_from(rpc_sig).unwrap();let rpc_sig2: alloy_rpc_types::Signature = ??? // <---- how to build it from primitives_sig?
Additional context
No response
The text was updated successfully, but these errors were encountered:
Component
rpc
Describe the feature you would like
The
rpc
crate provides code to convert fromalloy_rpc_types::Signature
toalloy_primitives::Signature
; however, it is not clear how to perform the conversion in the opposite direction. Could you please provide an example to perform such a conversion or implement the try_from code directly in therpc
crate?Additional context
No response
The text was updated successfully, but these errors were encountered: