Closed yash-atreya closed 2 weeks ago
I don't think we need a separate type here given that signable transactions set is still the same
In op-alloy I've done this https://github.com/alloy-rs/op-alloy/blob/01f11b4747f3b533f947be19188099cb21182a1a/crates/network/src/lib.rs#L198 which allows to reuse
EthereumWallet
for OP as well
@klkvr addressed in 55144c2
Motivation
In https://github.com/alloy-rs/alloy/pull/1460,
AnyTxEnvelope
andAnyTypedTransaction
were introduced. These are now being used inAnyNetwork
.This made initializing an
AnyNetwork
provider with theEthereumWallet
wallet filler incompatible as it signsTypedTransaction
and returns theTxEnvelope
.Solution
Implmenent
NetworkWallet<AnyNetwork>
forEthereumWallet
that signAnyTypedTransactions
PR Checklist