Skip to content

feat: add polytone

feat: add polytone #62

GitHub Actions / clippy succeeded Mar 12, 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.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

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

Check warning on line 70 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:70:33
   |
70 |         QueryMsg::History {} => to_binary(&CallbackHistoryResponse {
   |                                 ^^^^^^^^^

Check warning on line 61 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:61:18
   |
61 |             msg: to_binary(&ExecuteMsg::RunOutOfGas {}).unwrap(),
   |                  ^^^^^^^^^

Check warning on line 4 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:4:5
  |
4 |     to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult, WasmMsg,
  |     ^^^^^^^^^
  |
  = note: `#[warn(deprecated)]` on by default