diff --git a/src/account.rs b/src/account.rs index e1fa5dd..dff4dd7 100644 --- a/src/account.rs +++ b/src/account.rs @@ -20,7 +20,7 @@ use crate::signer::{AnySigner, SignerArgs, SignerResolutionTask}; const BRAAVOS_SIGNER_TYPE_STARK: FieldElement = FieldElement::ONE; -pub const KNOWN_ACCOUNT_CLASSES: [KnownAccountClass; 15] = [ +pub const KNOWN_ACCOUNT_CLASSES: [KnownAccountClass; 16] = [ KnownAccountClass { class_hash: felt!("0x048dd59fabc729a5db3afdf649ecaf388e931647ab2f53ca3c6183fa480aa292"), variant: AccountVariantType::OpenZeppelinLegacy, @@ -96,6 +96,11 @@ pub const KNOWN_ACCOUNT_CLASSES: [KnownAccountClass; 15] = [ variant: AccountVariantType::OpenZeppelin, description: "OpenZeppelin account contract v0.12.0 compiled with cairo v2.6.3", }, + KnownAccountClass { + class_hash: felt!("0x00e2eb8f5672af4e6a4e8a8f1b44989685e668489b0a25437733756c5a34a1d6"), + variant: AccountVariantType::OpenZeppelin, + description: "OpenZeppelin account contract v0.13.0 compiled with cairo v2.6.3", + }, ]; pub const BUILTIN_ACCOUNTS: &[BuiltinAccount] = &[ diff --git a/src/subcommands/account/oz/init.rs b/src/subcommands/account/oz/init.rs index 5a03686..f09827b 100644 --- a/src/subcommands/account/oz/init.rs +++ b/src/subcommands/account/oz/init.rs @@ -15,9 +15,9 @@ use crate::{ signer::SignerArgs, }; -/// OpenZeppelin account contract v0.12.0 compiled with cairo v2.6.3 +/// OpenZeppelin account contract v0.13.0 compiled with cairo v2.6.3 const OZ_ACCOUNT_CLASS_HASH: FieldElement = - felt!("0x01e60c8722677cfb7dd8dbea5be86c09265db02cdfe77113e77da7d44c017388"); + felt!("0x00e2eb8f5672af4e6a4e8a8f1b44989685e668489b0a25437733756c5a34a1d6"); #[derive(Debug, Parser)] pub struct Init {