Skip to content

Commit

Permalink
fix: failling tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leovct committed Oct 23, 2024
1 parent a0127f5 commit 180ee20
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions crates/cast/tests/cli/send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ casttest!(send_bump_gas_price, async |_prj, cmd| {
])
.assert_failure()
.stderr_eq(str![[r#"
Error:
server returned an error response: error code -32003: replacement transaction underpriced
Error: server returned an error response: error code -32003: replacement transaction underpriced
"#]]);

Expand Down Expand Up @@ -198,8 +197,7 @@ casttest!(send_bump_gas_price_no_pending_tx, async |_prj, cmd| {
])
.assert_failure()
.stderr_eq(str![[r#"
Error:
No pending transactions to replace.
Error: No pending transactions to replace.
"#]]);
});
Expand Down Expand Up @@ -271,8 +269,7 @@ Error: transaction underpriced.
"#]])
.stderr_eq(str![[r#"
Error:
Max gas price bump attempts reached. Transaction still stuck.
Error: Max gas price bump attempts reached. Transaction still stuck.
"#]]);
});
Expand Down Expand Up @@ -341,8 +338,7 @@ Retrying with a 10% gas price increase (attempt 2/3).
"#]])
.stderr_eq(str![[r#"
Error:
Unable to bump more the gas price. Hit the bump gas limit of 2400000000 wei.
Error: Unable to bump more the gas price. Hit the bump gas limit of 2400000000 wei.
"#]]);
});

0 comments on commit 180ee20

Please sign in to comment.