Skip to content

Commit 2e9bc51

Browse files
authored
Removed clippy.toml (#275)
1 parent d585d97 commit 2e9bc51

File tree

6 files changed

+11
-1
lines changed

6 files changed

+11
-1
lines changed

clippy.toml

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/addresses.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ pub trait AddressGenerator {
155155
/// assert_ne!(addr12, addr22);
156156
/// assert_ne!(addr21, addr22);
157157
/// ```
158+
#[allow(clippy::too_many_arguments)]
158159
fn predictable_contract_address(
159160
&self,
160161
api: &dyn Api,

src/executor.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ where
107107
/// This is a helper function around [execute][Self::execute] function
108108
/// with `WasmMsg::Instantiate2` message.
109109
#[cfg(feature = "cosmwasm_1_2")]
110+
#[allow(clippy::too_many_arguments)]
110111
fn instantiate2_contract<M, L, A, S>(
111112
&mut self,
112113
code_id: u64,

src/staking.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ impl StakeKeeper {
428428
)
429429
}
430430

431+
#[allow(clippy::too_many_arguments)]
431432
fn update_stake(
432433
&self,
433434
api: &dyn Api,

src/stargate.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ use serde::de::DeserializeOwned;
1212
/// and `Stargate`/`Grpc` queries.
1313
pub trait Stargate {
1414
/// Processes `CosmosMsg::Stargate` message variant.
15+
#[allow(clippy::too_many_arguments)]
1516
fn execute_stargate<ExecC, QueryC>(
1617
&self,
1718
_api: &dyn Api,

src/wasm.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,7 @@ where
560560
data.into()
561561
}
562562

563+
#[allow(clippy::too_many_arguments)]
563564
fn send<T>(
564565
&self,
565566
api: &dyn Api,
@@ -770,6 +771,7 @@ where
770771
}
771772

772773
/// Processes WasmMsg::Instantiate and WasmMsg::Instantiate2 messages.
774+
#[allow(clippy::too_many_arguments)]
773775
fn process_wasm_msg_instantiate(
774776
&self,
775777
api: &dyn Api,
@@ -990,6 +992,7 @@ where
990992
(app_response, messages)
991993
}
992994

995+
#[allow(clippy::too_many_arguments)]
993996
fn process_response(
994997
&self,
995998
api: &dyn Api,
@@ -1033,6 +1036,7 @@ where
10331036
///
10341037
/// You have to call init after this to set up the contract properly.
10351038
/// These two steps are separated to have cleaner return values.
1039+
#[allow(clippy::too_many_arguments)]
10361040
pub fn register_contract(
10371041
&self,
10381042
api: &dyn Api,
@@ -1088,6 +1092,7 @@ where
10881092
}
10891093

10901094
/// Executes contract's `execute` entry-point.
1095+
#[allow(clippy::too_many_arguments)]
10911096
pub fn call_execute(
10921097
&self,
10931098
api: &dyn Api,
@@ -1109,6 +1114,7 @@ where
11091114
}
11101115

11111116
/// Executes contract's `instantiate` entry-point.
1117+
#[allow(clippy::too_many_arguments)]
11121118
pub fn call_instantiate(
11131119
&self,
11141120
address: Addr,
@@ -1192,6 +1198,7 @@ where
11921198

11931199
/// Executes contract's `migrate` entry-point.
11941200
#[cfg(feature = "cosmwasm_2_2")]
1201+
#[allow(clippy::too_many_arguments)]
11951202
pub fn call_migrate(
11961203
&self,
11971204
address: Addr,

0 commit comments

Comments
 (0)