Skip to content

Commit

Permalink
feat: add support for EIP-2930 transaction signing in SignerConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Nov 6, 2024
1 parent f68b1cc commit eb40a1b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/signer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ impl SignerConfig {
.await
.map_err(Error::SignerError)
}
TypedTransaction::Eip2930(tx) => {
let mut tx_2930 = tx.clone();

signer
.sign_transaction(&mut tx_2930)
.await
.map_err(Error::SignerError)
}
TypedTransaction::Eip4844(tx) => {
let mut tx_4844 = tx.clone();

Expand Down

0 comments on commit eb40a1b

Please sign in to comment.