Skip to content

Commit

Permalink
Replace declare_v1 suggestion with declare_v2
Browse files Browse the repository at this point in the history
  • Loading branch information
FabijanC authored Jul 15, 2024
1 parent fc9b920 commit c034b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starknet-accounts/src/account/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub trait Account: ExecutionEncoder + Sized {
DeclarationV3::new(contract_class, compiled_class_hash, self)
}

#[deprecated = "use version specific variants (`declare_v1` & `declare_v3`) instead"]
#[deprecated = "use version specific variants (`declare_v2` & `declare_v3`) instead"]
fn declare(
&self,
contract_class: Arc<FlattenedSierraClass>,
Expand Down

0 comments on commit c034b06

Please sign in to comment.