From d050f7e9f1df37197cf9febabcd09933515f76d9 Mon Sep 17 00:00:00 2001 From: keyne Date: Wed, 11 Sep 2024 17:40:07 +0100 Subject: [PATCH] fix parameters --- src/utils/fs.rs | 2 +- src/utils/setup/wasm.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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,