Added cw-orch + Implemented Deploy trait (#54) #128
Annotations
41 warnings
audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
use of deprecated function `cosmwasm_std::from_binary`: use from_json instead:
contracts/main/voice/src/ibc.rs#L128
warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead
--> contracts/main/voice/src/ibc.rs:128:23
|
128 | match from_binary::<Callback>(&data) {
| ^^^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/voice/src/ibc.rs#L97
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/voice/src/ibc.rs:97:22
|
97 | msg: to_binary(&ExecuteMsg::Rx {
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/voice/src/ibc.rs#L4
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/voice/src/ibc.rs:4:18
|
4 | from_binary, to_binary, DepsMut, Env, IbcBasicResponse, IbcChannelCloseMsg,
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::from_binary`: use from_json instead:
contracts/main/voice/src/ibc.rs#L4
warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead
--> contracts/main/voice/src/ibc.rs:4:5
|
4 | from_binary, to_binary, DepsMut, Env, IbcBasicResponse, IbcChannelCloseMsg,
| ^^^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/voice/src/contract.rs#L172
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/voice/src/contract.rs:172:34
|
172 | QueryMsg::ProxyCodeId => to_binary(&PROXY_CODE_ID.load(deps.storage)?),
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/voice/src/contract.rs#L171
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/voice/src/contract.rs:171:34
|
171 | QueryMsg::BlockMaxGas => to_binary(&BLOCK_MAX_GAS.load(deps.storage)?),
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/voice/src/contract.rs#L135
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/voice/src/contract.rs:135:42
|
135 | ... msg: to_binary(&polytone_proxy::msg::ExecuteMsg::Proxy {
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/voice/src/contract.rs#L122
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/voice/src/contract.rs:122:42
|
122 | ... msg: to_binary(&polytone_proxy::msg::InstantiateMsg {})?,
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_vec`: use to_json_vec instead:
contracts/main/voice/src/contract.rs#L67
warning: use of deprecated function `cosmwasm_std::to_vec`: use to_json_vec instead
--> contracts/main/voice/src/contract.rs:67:72
|
67 | ... let query_result = deps.querier.raw_query(&to_vec(&msg)?);
| ^^^^^^
|
use of deprecated function `cosmwasm_std::from_binary`: use from_json instead:
contracts/main/voice/src/contract.rs#L62
warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead
--> contracts/main/voice/src/contract.rs:62:46
|
62 | let Packet { sender, msg } = from_binary(&data)?;
| ^^^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_vec`: use to_json_vec instead:
contracts/main/voice/src/contract.rs#L4
warning: use of deprecated function `cosmwasm_std::to_vec`: use to_json_vec instead
--> contracts/main/voice/src/contract.rs:4:51
|
4 | from_binary, instantiate2_address, to_binary, to_vec, Binary, CodeInfoResponse, ContractResult,
| ^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/voice/src/contract.rs#L4
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/voice/src/contract.rs:4:40
|
4 | from_binary, instantiate2_address, to_binary, to_vec, Binary, CodeInfoResponse, ContractResult,
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::from_binary`: use from_json instead:
contracts/main/voice/src/contract.rs#L4
warning: use of deprecated function `cosmwasm_std::from_binary`: use from_json instead
--> contracts/main/voice/src/contract.rs:4:5
|
4 | from_binary, instantiate2_address, to_binary, to_vec, Binary, CodeInfoResponse, ContractResult,
| ^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/note/src/contract.rs#L132
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/note/src/contract.rs:132:34
|
132 | QueryMsg::BlockMaxGas => to_binary(&BLOCK_MAX_GAS.load(deps.storage)?),
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/note/src/contract.rs#L128
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/note/src/contract.rs:128:54
|
128 | QueryMsg::RemoteAddress { local_address } => to_binary(&accounts::query_account(
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/note/src/contract.rs#L122
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/note/src/contract.rs:122:27
|
122 | QueryMsg::Pair => to_binary(&CONNECTION_REMOTE_PORT.may_load(deps.storage)?.map(
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/note/src/contract.rs#L121
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/note/src/contract.rs:121:36
|
121 | QueryMsg::ActiveChannel => to_binary(&CHANNEL.may_load(deps.storage)?),
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/note/src/contract.rs#L109
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/note/src/contract.rs:109:19
|
109 | data: to_binary(&ibc::Packet {
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/note/src/contract.rs#L4
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/note/src/contract.rs:4:5
|
4 | to_binary, Binary, Deps, DepsMut, Env, IbcMsg, IbcTimeout, MessageInfo, Response, StdResult,
| ^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/proxy/src/contract.rs#L68
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/proxy/src/contract.rs:68:38
|
68 | QueryMsg::Instantiator {} => to_binary(&INSTANTIATOR.load(deps.storage)?),
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/main/proxy/src/contract.rs#L4
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/main/proxy/src/contract.rs:4:5
|
4 | to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Reply, Response, StdResult, SubMsg,
| ^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/accessories/listener/src/contract.rs#L67
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/accessories/listener/src/contract.rs:67:14
|
67 | } => to_binary(&ResultResponse {
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/accessories/listener/src/contract.rs#L63
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/accessories/listener/src/contract.rs:63:30
|
63 | QueryMsg::Note {} => to_binary(&NOTE.load(deps.storage)?),
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/accessories/listener/src/contract.rs#L3
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/accessories/listener/src/contract.rs:3:20
|
3 | use cosmwasm_std::{to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult};
| ^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/accessories/polytone-tester/src/contract.rs#L73
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/accessories/polytone-tester/src/contract.rs:73:38
|
73 | QueryMsg::HelloHistory {} => to_binary(&HelloHistoryResponse {
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/accessories/polytone-tester/src/contract.rs#L70
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/accessories/polytone-tester/src/contract.rs:70:33
|
70 | QueryMsg::History {} => to_binary(&CallbackHistoryResponse {
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/accessories/polytone-tester/src/contract.rs#L61
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/accessories/polytone-tester/src/contract.rs:61:18
|
61 | msg: to_binary(&ExecuteMsg::RunOutOfGas {}).unwrap(),
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
contracts/accessories/polytone-tester/src/contract.rs#L4
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> contracts/accessories/polytone-tester/src/contract.rs:4:5
|
4 | to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult, WasmMsg,
| ^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
the borrowed expression implements the required traits:
packages/polytone/src/handshake/voice.rs#L34
warning: the borrowed expression implements the required traits
--> packages/polytone/src/handshake/voice.rs:34:27
|
34 | from_json(&Binary::from_base64(counterparty_version).unwrap()).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `Binary::from_base64(counterparty_version).unwrap()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
packages/polytone/src/handshake/note.rs#L34
warning: the borrowed expression implements the required traits
--> packages/polytone/src/handshake/note.rs:34:27
|
34 | from_json(&Binary::from_base64(counterparty_version).unwrap()).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `Binary::from_base64(counterparty_version).unwrap()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
packages/polytone/src/handshake/mod.rs#L62
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> packages/polytone/src/handshake/mod.rs:62:30
|
62 | version: to_binary(extensions).unwrap().to_base64(),
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
packages/polytone/src/handshake/mod.rs#L2
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> packages/polytone/src/handshake/mod.rs:2:5
|
2 | to_binary, Ibc3ChannelOpenResponse, IbcChannelOpenMsg, IbcChannelOpenResponse, IbcOrder,
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
packages/polytone/src/callbacks.rs#L181
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> packages/polytone/src/callbacks.rs:181:14
|
181 | msg: to_binary(&C::Callback(CallbackMessage {
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
packages/polytone/src/callbacks.rs#L3
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> packages/polytone/src/callbacks.rs:3:5
|
3 | to_binary, Addr, Api, Binary, CosmosMsg, IbcPacketAckMsg, IbcPacketTimeoutMsg, StdResult,
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
packages/polytone/src/ack.rs#L43
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> packages/polytone/src/ack.rs:43:5
|
43 | to_binary(&Callback::FatalError(err)).unwrap()
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
packages/polytone/src/ack.rs#L38
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> packages/polytone/src/ack.rs:38:5
|
38 | to_binary(&Callback::Execute(Err(error))).unwrap()
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
packages/polytone/src/ack.rs#L29
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> packages/polytone/src/ack.rs:29:5
|
29 | to_binary(&Callback::Execute(Ok(ExecutionResponse {
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
packages/polytone/src/ack.rs#L20
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> packages/polytone/src/ack.rs:20:5
|
20 | to_binary(&Callback::Query(Err(ErrorResponse {
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
packages/polytone/src/ack.rs#L15
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> packages/polytone/src/ack.rs:15:5
|
15 | to_binary(&Callback::Query(Ok(result))).unwrap()
| ^^^^^^^^^
|
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead:
packages/polytone/src/ack.rs#L1
warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> packages/polytone/src/ack.rs:1:31
|
1 | use cosmwasm_std::{from_json, to_binary, Binary, IbcAcknowledgement, SubMsgResponse, Uint64};
| ^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|