Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hal3e committed Oct 19, 2022
1 parent fdf638d commit 227a937
Show file tree
Hide file tree
Showing 3 changed files with 205 additions and 85 deletions.
5 changes: 1 addition & 4 deletions packages/fuels-signers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,7 @@ mod tests {
.await?;

// Assert that the transaction was properly configured.
let res = wallet_1
.get_provider()?
.get_transaction_by_id(&tx_id)
.await?;
let res = wallet_1.get_provider()?.get_transaction(&tx_id).await?;

assert_eq!(res.transaction.gas_limit(), gas_limit);
assert_eq!(res.transaction.gas_price(), gas_price);
Expand Down
Loading

0 comments on commit 227a937

Please sign in to comment.