Skip to content

Commit

Permalink
PRT-376 removing gas validation, we already have one that validates p…
Browse files Browse the repository at this point in the history
…rofitable.
  • Loading branch information
ranlavanet committed Jan 26, 2023
1 parent 26c4e63 commit 9639148
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions relayer/sentry/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ func SimulateAndBroadCastTx(clientCtx client.Context, txf tx.Factory, msg sdk.Ms
return err
}

if err := validateGas(gasUsed); err != nil {
return err
}
// if err := validateGas(gasUsed); err != nil {
// return err
// }

txf = txf.WithGas(gasUsed)

Expand Down

0 comments on commit 9639148

Please sign in to comment.