Skip to content

Commit

Permalink
fix parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
keyleu committed Sep 11, 2024
1 parent 8a02f29 commit d050f7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
}

Expand Down
3 changes: 2 additions & 1 deletion src/utils/setup/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -119,6 +119,7 @@ impl TestContext {
}
}

#[allow(clippy::too_many_arguments)]
fn tx_instantiate2(
&mut self,
key: &str,
Expand Down

0 comments on commit d050f7e

Please sign in to comment.