Skip to content

Commit

Permalink
fix: revert gas limit
Browse files Browse the repository at this point in the history
  • Loading branch information
EvolveArt committed Jan 10, 2025
1 parent 78a185e commit 32badd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/main/chains/hyperlane-starknet/src/mailbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl Mailbox for StarknetMailbox {
.map_err(|e| HyperlaneStarknetError::AccountError(e.to_string()))?;

Ok(TxCostEstimate {
gas_limit: HyU256::from(fee_estimate.gas_consumed).0,
gas_limit: HyU256::from(fee_estimate.overall_fee).0,
gas_price: FixedPointNumber::try_from(HyU256::from(fee_estimate.gas_price).0).map_err(
|e| {
HyperlaneStarknetError::AccountError(format!(
Expand Down

0 comments on commit 32badd9

Please sign in to comment.