Skip to content

Commit a22bee4

Browse files
committed
Check
1 parent 15701ad commit a22bee4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/integration.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -1666,7 +1666,7 @@ function measure_transfer_gas() {
16661666

16671667
local transfer_message='{"transfer":{"recipient":"'"${ADDRESS[b]}"'","amount":"5"}}'
16681668
local transfer_response
1669-
tx_hash="$(compute_execute "$contract_addr" "$transfer_message" ${FROM[a]} --gas 150000)"
1669+
tx_hash="$(compute_execute "$contract_addr" "$transfer_message" ${FROM[a]} --gas 1500000)"
16701670
# Notice the `!` before the command - it is EXPECTED to fail.
16711671
! transfer_response="$(wait_for_compute_tx "$tx_hash" 'waiting for transfer from "a" to "b" to process')"
16721672
! transfer_response_not_compute="$(wait_for_tx "$tx_hash" 'waiting for transfer from "a" to "b" to process')"
@@ -1692,14 +1692,14 @@ function measure_transfer_with_decoys_gas() {
16921692

16931693
local transfer_message='{"transfer":{"recipient":"'"${ADDRESS[b]}"'","amount":"5", "entropy":"TXlQYXN3b3JkMTIz", "decoys":["secret1kmgdagt5efcz2kku0ak9ezfgntg29g2vr88q0e","secret18vd8fpwxzck93qlwghaj6arh4p7c5n8978vsyg","secret1qqq8g6cjht0qfemed6nmrgjp8gajhnw3panxcf","secret1qqg9z5473z4f842c9nddc2942mj82lw8h7n5uf","secret1qqjmkf275wwaeevkkmqdk5xw2j7k5u5c8j7e9y"]}}'
16941694
local transfer_response
1695-
tx_hash="$(compute_execute "$contract_addr" "$transfer_message" ${FROM[a]} --gas 150000)"
1695+
tx_hash="$(compute_execute "$contract_addr" "$transfer_message" ${FROM[a]} --gas 1500000)"
16961696
# Notice the `!` before the command - it is EXPECTED to fail.
16971697
! transfer_response="$(wait_for_compute_tx "$tx_hash" 'waiting for transfer from "a" to "b" to process')"
16981698
! transfer_response_not_compute="$(wait_for_tx "$tx_hash" 'waiting for transfer from "a" to "b" to process')"
16991699

1700-
assert_ne "$(get_balance "$contract_addr" 'b')" $b_balance
1701-
17021700
echo $transfer_response_not_compute
1701+
assert_ne "$(get_balance "$contract_addr" 'b')" $b_balance
1702+
17031703
# echo "$(extract_gas "$transfer_response")"
17041704
}
17051705

0 commit comments

Comments
 (0)