Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal committed Sep 19, 2024
1 parent 9c07f4d commit 29516a9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/bridge-e2e.bats
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ setup() {
local gas_token_final_sender_balance=$(echo "$output" |
tail -n 1 |
awk '{print $1}')
local expected_balance=$(echo "$gas_token_init_sender_balance + $wei_amount" |
bc |
awk '{print $1}')
local expected_balance=$(echo "$gas_token_init_sender_balance + $wei_amount" | bc)

echo "Sender balance ($sender_addr) (gas token L1): $gas_token_final_sender_balance" >&3
assert_equal "$gas_token_final_sender_balance" "$expected_balance"
Expand All @@ -122,6 +120,7 @@ setup() {
run wait_for_claim "$timeout" "$claim_frequency"
assert_success

# Validate that the native token of receiver on L2 has increased by the bridge tokens amount
run verify_native_token_balance "$l2_rpc_url" "$receiver" "$initial_receiver_balance" "$tokens_amount"
assert_success
}

0 comments on commit 29516a9

Please sign in to comment.