Skip to content

Merge pull request #58 from AbstractSDK/fix-issue-57 #106

Merge pull request #58 from AbstractSDK/fix-issue-57

Merge pull request #58 from AbstractSDK/fix-issue-57 #106

GitHub Actions / clippy succeeded Jan 16, 2024 in 0s

clippy

40 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 40
Note 0
Help 0

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check warning on line 128 in contracts/main/voice/src/ibc.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::from_binary`: use from_json instead

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) {
    |                       ^^^^^^^^^^^

Check warning on line 97 in contracts/main/voice/src/ibc.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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 {
   |                      ^^^^^^^^^

Check warning on line 4 in contracts/main/voice/src/ibc.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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,
  |                  ^^^^^^^^^

Check warning on line 4 in contracts/main/voice/src/ibc.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::from_binary`: use from_json instead

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,
  |     ^^^^^^^^^^^

Check warning on line 172 in contracts/main/voice/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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)?),
    |                                  ^^^^^^^^^

Check warning on line 171 in contracts/main/voice/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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)?),
    |                                  ^^^^^^^^^

Check warning on line 135 in contracts/main/voice/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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 {
    |                            ^^^^^^^^^

Check warning on line 122 in contracts/main/voice/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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 {})?,
    |                            ^^^^^^^^^

Check warning on line 67 in contracts/main/voice/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_vec`: use to_json_vec instead

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)?);
   |                                                                  ^^^^^^

Check warning on line 62 in contracts/main/voice/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::from_binary`: use from_json instead

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)?;
   |                                              ^^^^^^^^^^^

Check warning on line 4 in contracts/main/voice/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_vec`: use to_json_vec instead

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,
  |                                                   ^^^^^^

Check warning on line 4 in contracts/main/voice/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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,
  |                                        ^^^^^^^^^

Check warning on line 4 in contracts/main/voice/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::from_binary`: use from_json instead

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

Check warning on line 132 in contracts/main/note/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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)?),
    |                                  ^^^^^^^^^

Check warning on line 128 in contracts/main/note/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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(
    |                                                      ^^^^^^^^^

Check warning on line 122 in contracts/main/note/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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(
    |                           ^^^^^^^^^

Check warning on line 121 in contracts/main/note/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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)?),
    |                                    ^^^^^^^^^

Check warning on line 109 in contracts/main/note/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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 {
    |                   ^^^^^^^^^

Check warning on line 4 in contracts/main/note/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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

Check warning on line 68 in contracts/main/proxy/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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)?),
   |                                      ^^^^^^^^^

Check warning on line 4 in contracts/main/proxy/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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

Check warning on line 67 in contracts/accessories/listener/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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 {
   |              ^^^^^^^^^

Check warning on line 63 in contracts/accessories/listener/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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)?),
   |                              ^^^^^^^^^

Check warning on line 3 in contracts/accessories/listener/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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

Check warning on line 73 in contracts/accessories/polytone-tester/src/contract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead

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 {
   |                                      ^^^^^^^^^