Skip to content

Commit

Permalink
Removes misleading gas message
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco committed Jun 20, 2024
1 parent be85e27 commit 46dd71e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions crates/sdk/src/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,9 @@ pub fn display_batch_resp(context: &impl Namada, resp: &TxResponse) {
InnerTxResult::Success(_) => {
display_line!(
context.io(),
"Transaction {} was successfully applied at height {}, \
consuming {} gas units.",
"Transaction {} was successfully applied at height {}.",
cmt_hash,
resp.height,
resp.gas_used
);
}
InnerTxResult::VpsRejected(inner) => {
Expand Down
2 changes: 1 addition & 1 deletion crates/tests/src/e2e/ibc_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2204,7 +2204,7 @@ fn check_tx_height(test: &Test, client: &mut NamadaCmd) -> Result<u32> {
.split_once(' ')
.unwrap()
.1
.split_once(',')
.split_once('.')
.unwrap()
.0;
let height: u32 = height_str.parse().unwrap();
Expand Down

0 comments on commit 46dd71e

Please sign in to comment.