Skip to content

Commit

Permalink
temp: ignore deprecated warnings for Ics20Withdrawal
Browse files Browse the repository at this point in the history
  • Loading branch information
redshiftzero committed Dec 11, 2024
1 parent d8e2282 commit bb15a65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/core/component/shielded-pool/src/ics20_withdrawal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ impl DomainType for Ics20Withdrawal {
type Proto = pb::Ics20Withdrawal;
}

#[allow(deprecated)]
impl From<Ics20Withdrawal> for pb::Ics20Withdrawal {
fn from(w: Ics20Withdrawal) -> Self {
pb::Ics20Withdrawal {
Expand All @@ -126,6 +127,7 @@ impl From<Ics20Withdrawal> for pb::Ics20Withdrawal {
}
}

#[allow(deprecated)]
impl TryFrom<pb::Ics20Withdrawal> for Ics20Withdrawal {
type Error = anyhow::Error;
fn try_from(s: pb::Ics20Withdrawal) -> Result<Self, Self::Error> {
Expand Down

0 comments on commit bb15a65

Please sign in to comment.