Skip to content

Commit 1b8ea68

Browse files
committed
chore(e2e): ci warnings
Signed-off-by: kaancaglan <caglankaan@gmail.com>
1 parent 5160dc3 commit 1b8ea68

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

tools/union-test/tests/e2e.rs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ async fn test_send_vault_success() {
366366

367367
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
368368
channel_id: src_channel_id.try_into().unwrap(),
369-
timeout_height: 0u64,
369+
timeout_height: 0u64.into(),
370370
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
371371
salt: salt_bytes.into(),
372372
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -491,7 +491,7 @@ async fn test_send_packet_from_union_to_evm_and_send_back_unwrap() {
491491

492492
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
493493
channel_id: src_chain_id.try_into().unwrap(),
494-
timeout_height: 0u64,
494+
timeout_height: 0u64.into(),
495495
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
496496
salt: salt_bytes.into(),
497497
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -737,7 +737,7 @@ async fn test_send_packet_from_evm_to_union_and_send_back_unwrap() {
737737

738738
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
739739
channel_id: src_chain_id.try_into().unwrap(),
740-
timeout_height: 0u64,
740+
timeout_height: 0u64.into(),
741741
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
742742
salt: salt_bytes.into(),
743743
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -838,7 +838,7 @@ async fn test_send_packet_from_union_to_evm_get_refund() {
838838
);
839839
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
840840
channel_id: src_chain_id.try_into().unwrap(),
841-
timeout_height: 0u64,
841+
timeout_height: 0u64.into(),
842842
timeout_timestamp,
843843
salt: salt_bytes.into(),
844844
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -1137,7 +1137,7 @@ async fn test_stake_from_evm_to_union() {
11371137

11381138
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
11391139
channel_id: pair.src.try_into().unwrap(),
1140-
timeout_height: 0u64,
1140+
timeout_height: 0u64.into(),
11411141
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
11421142
salt: salt_bytes.into(),
11431143
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -1359,7 +1359,7 @@ async fn test_stake_from_evm_to_union_and_refund() {
13591359

13601360
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
13611361
channel_id: pair.src.try_into().unwrap(),
1362-
timeout_height: 0u64,
1362+
timeout_height: 0u64.into(),
13631363
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
13641364
salt: salt_bytes.into(),
13651365
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -1595,7 +1595,7 @@ async fn test_stake_and_unstake_from_evm_to_union() {
15951595

15961596
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
15971597
channel_id: pair.src.try_into().unwrap(),
1598-
timeout_height: 0u64,
1598+
timeout_height: 0u64.into(),
15991599
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
16001600
salt: salt_bytes.into(),
16011601
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -1873,7 +1873,7 @@ async fn test_stake_unstake_and_withdraw_from_evm_to_union() {
18731873

18741874
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
18751875
channel_id: pair.src.try_into().unwrap(),
1876-
timeout_height: 0u64,
1876+
timeout_height: 0u64.into(),
18771877
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
18781878
salt: salt_bytes.into(),
18791879
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -2211,7 +2211,7 @@ async fn test_from_evm_to_union_tokenv2_unhappy_only_maker_err() {
22112211

22122212
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
22132213
channel_id: pair.src.try_into().unwrap(),
2214-
timeout_height: 0u64,
2214+
timeout_height: 0u64.into(),
22152215
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
22162216
salt: salt_bytes.into(),
22172217
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -2398,7 +2398,7 @@ async fn test_from_evm_to_union_tokenv2_unhappy_errchannelgovernancetokennotset(
23982398

23992399
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
24002400
channel_id: pair.src.try_into().unwrap(),
2401-
timeout_height: 0u64,
2401+
timeout_height: 0u64.into(),
24022402
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
24032403
salt: salt_bytes.into(),
24042404
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -2595,7 +2595,7 @@ async fn test_from_evm_to_union_tokenv2_unhappy_erc20_insufficient_balance() {
25952595

25962596
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
25972597
channel_id: pair.src.try_into().unwrap(),
2598-
timeout_height: 0u64,
2598+
timeout_height: 0u64.into(),
25992599
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
26002600
salt: salt_bytes.into(),
26012601
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -2793,7 +2793,7 @@ async fn test_from_evm_to_union_tokenv2_unhappy_err_invalid_unescrow() {
27932793

27942794
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
27952795
channel_id: pair.src.try_into().unwrap(),
2796-
timeout_height: 0u64,
2796+
timeout_height: 0u64.into(),
27972797
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
27982798
salt: salt_bytes.into(),
27992799
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -2969,7 +2969,7 @@ async fn test_from_evm_to_union_tokenv2_unhappy_err_cannot_deploy() {
29692969

29702970
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
29712971
channel_id: pair.src.try_into().unwrap(),
2972-
timeout_height: 0u64,
2972+
timeout_height: 0u64.into(),
29732973
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
29742974
salt: salt_bytes.into(),
29752975
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -3278,7 +3278,7 @@ async fn test_send_vault_unhappy_u_counterparty_is_not_fungible() {
32783278

32793279
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
32803280
channel_id: src_channel_id.try_into().unwrap(),
3281-
timeout_height: 0u64,
3281+
timeout_height: 0u64.into(),
32823282
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
32833283
salt: salt_bytes.into(),
32843284
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -3459,7 +3459,7 @@ async fn test_send_vault_unhappy_u_base_amount_must_cover_quote_amount() {
34593459

34603460
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
34613461
channel_id: src_channel_id.try_into().unwrap(),
3462-
timeout_height: 0u64,
3462+
timeout_height: 0u64.into(),
34633463
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
34643464
salt: salt_bytes.into(),
34653465
instruction: instruction_cosmos.abi_encode_params().into(),
@@ -3640,7 +3640,7 @@ async fn test_send_vault_unhappy_u_fool() {
36403640

36413641
let cw_msg = ucs03_zkgm::msg::ExecuteMsg::Send {
36423642
channel_id: src_channel_id.try_into().unwrap(),
3643-
timeout_height: 0u64,
3643+
timeout_height: 0u64.into(),
36443644
timeout_timestamp: voyager_sdk::primitives::Timestamp::from_secs(u32::MAX.into()),
36453645
salt: salt_bytes.into(),
36463646
instruction: instruction_cosmos.abi_encode_params().into(),

0 commit comments

Comments
 (0)