Skip to content

Commit

Permalink
chore: alias wallet_sendTransaction as odyssey_sendTransaction (#9137)
Browse files Browse the repository at this point in the history
chore: alias wallet_sendTransaction
  • Loading branch information
yash-atreya authored Oct 18, 2024
1 parent 7cbd55e commit a8c3e9c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion crates/anvil/core/src/eth/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,14 @@ pub enum EthRequest {
WalletGetCapabilities(()),

/// Wallet send_tx
#[cfg_attr(feature = "serde", serde(rename = "wallet_sendTransaction", with = "sequence"))]
#[cfg_attr(
feature = "serde",
serde(
rename = "wallet_sendTransaction",
alias = "odyssey_sendTransaction",
with = "sequence"
)
)]
WalletSendTransaction(Box<WithOtherFields<TransactionRequest>>),

/// Add an address to the [`DelegationCapability`] of the wallet
Expand Down

0 comments on commit a8c3e9c

Please sign in to comment.