Skip to content

Commit

Permalink
Merge pull request #291 from anoma/grarco/fix-ibc-gas
Browse files Browse the repository at this point in the history
Fixes ibc gas accounting
  • Loading branch information
Fraccaman authored Feb 21, 2025
2 parents d77064c + 45bfe60 commit 62f22e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transactions/src/services/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ pub fn get_gas_estimates(
let notes = tx.notes;
gas_estimate.increase_mixed_transfer(notes)
}
TransactionKind::IbcMsg(_) => {
TransactionKind::IbcTrasparentTransfer(_) => {
gas_estimate.increase_ibc_msg_transfer()
}
TransactionKind::Bond(_) => gas_estimate.increase_bond(),
Expand Down Expand Up @@ -211,7 +211,7 @@ pub fn get_gas_estimates(
let notes = tx.notes;
gas_estimate.increase_ibc_unshielding_transfer(notes)
}
TransactionKind::IbcTrasparentTransfer(_)
TransactionKind::IbcMsg(_)
| TransactionKind::InitProposal(_)
| TransactionKind::MetadataChange(_)
| TransactionKind::CommissionChange(_)
Expand Down

0 comments on commit 62f22e3

Please sign in to comment.