Skip to content

Commit

Permalink
fixed linters for new rust compiler version fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aniketpr01 committed Jun 18, 2024
1 parent bea49e2 commit 651eb18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions starknet-contract/src/factory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl<A> ContractFactory<A>
where
A: Account,
{
pub fn deploy_v1(
pub const fn deploy_v1(
&self,
constructor_calldata: Vec<Felt>,
salt: Felt,
Expand All @@ -96,7 +96,7 @@ where
}
}

pub fn deploy_v3(
pub const fn deploy_v3(
&self,
constructor_calldata: Vec<Felt>,
salt: Felt,
Expand All @@ -116,7 +116,7 @@ where
}

#[deprecated = "use version specific variants (`deploy_v1` & `deploy_v3`) instead"]
pub fn deploy(
pub const fn deploy(
&self,
constructor_calldata: Vec<Felt>,
salt: Felt,
Expand Down

0 comments on commit 651eb18

Please sign in to comment.