diff --git a/src/utils/fs.rs b/src/utils/fs.rs index 98dcb19..2fb5aaf 100644 --- a/src/utils/fs.rs +++ b/src/utils/fs.rs @@ -52,8 +52,8 @@ impl<'a> UploadContractsTxBuilder<'a> { .ok_or(Error::MissingBuilderParam(String::from("key")))?, self.chain_name .ok_or(Error::MissingBuilderParam(String::from("chain_name")))?, - local_cache_path, path, + local_cache_path, ) } diff --git a/src/utils/setup/wasm.rs b/src/utils/setup/wasm.rs index f8fe48f..fec3eb1 100644 --- a/src/utils/setup/wasm.rs +++ b/src/utils/setup/wasm.rs @@ -103,7 +103,7 @@ impl<'a> Instantiate2TxBuilder<'a> { } impl TestContext { - pub fn build_tx_instantiate2<'a>(&'a mut self) -> Instantiate2TxBuilder<'a> { + pub fn build_tx_instantiate2(&mut self) -> Instantiate2TxBuilder<'_> { Instantiate2TxBuilder { key: DEFAULT_KEY, chain_name: NEUTRON_CHAIN_NAME, @@ -119,6 +119,7 @@ impl TestContext { } } + #[allow(clippy::too_many_arguments)] fn tx_instantiate2( &mut self, key: &str,