Skip to content

Commit

Permalink
fix: change array into vector
Browse files Browse the repository at this point in the history
  • Loading branch information
dadamu committed Aug 31, 2023
1 parent aa4bf9d commit ec0e025
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions packages/bindings-test/src/posts/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ mod test {
);

desmos_cli
.execute_contract(&contract_address, [move_post_msg.into()])
.execute_contract(&contract_address, vec![move_post_msg.into()])
.assert_success()
}

Expand All @@ -268,7 +268,7 @@ mod test {
desmos_cli
.execute_contract(
&contract_address,
[
vec![
request_post_owner_transfer_msg.into(),
cancel_post_owner_transfer_request_msg.into(),
],
Expand All @@ -291,7 +291,7 @@ mod test {
Addr::unchecked(&contract_address),
);
desmos_cli
.execute_contract(&contract_address, [request_post_owner_transfer_msg.into()])
.execute_contract(&contract_address, vec![request_post_owner_transfer_msg.into()])
.assert_success();

// Receiver accepts a post owner transfer request
Expand All @@ -303,7 +303,7 @@ mod test {
desmos_cli
.execute_contract(
&receiver_contract_address,
[accept_post_owner_transfer_request_msg.into()],
vec![accept_post_owner_transfer_request_msg.into()],
)
.assert_success()
}
Expand All @@ -323,7 +323,7 @@ mod test {
Addr::unchecked(&contract_address),
);
desmos_cli
.execute_contract(&contract_address, [request_post_owner_transfer_msg.into()])
.execute_contract(&contract_address, vec![request_post_owner_transfer_msg.into()])
.assert_success();

// Receiver refuses a post owner transfer request
Expand All @@ -335,7 +335,7 @@ mod test {
desmos_cli
.execute_contract(
&receiver_contract_address,
[refuse_post_owner_transfer_request_msg.into()],
vec![refuse_post_owner_transfer_request_msg.into()],
)
.assert_success()
}
Expand Down
2 changes: 1 addition & 1 deletion packages/bindings-test/src/posts/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ mod test {
desmos_cli
.execute_contract(
&contract_address,
[PostsMsg::request_post_owner_transfer(
vec![PostsMsg::request_post_owner_transfer(
TEST_SUBSPACE,
post.id,
Addr::unchecked(&receiver_contract_address),
Expand Down

0 comments on commit ec0e025

Please sign in to comment.