Skip to content

Commit

Permalink
feat: support new Braavos class hash when fetching
Browse files Browse the repository at this point in the history
feat: support new Braavos class hash when fetching

Signed-off-by: Hyung-Kyu Choi <[email protected]>
  • Loading branch information
hqueue committed Nov 20, 2024
1 parent 55a1bb4 commit 0caac8c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use crate::signer::{AnySigner, SignerArgs, SignerResolutionTask};

const BRAAVOS_SIGNER_TYPE_STARK: Felt = Felt::ONE;

pub const KNOWN_ACCOUNT_CLASSES: [KnownAccountClass; 22] = [
pub const KNOWN_ACCOUNT_CLASSES: [KnownAccountClass; 23] = [
KnownAccountClass {
class_hash: felt!("0x048dd59fabc729a5db3afdf649ecaf388e931647ab2f53ca3c6183fa480aa292"),
variant: AccountVariantType::OpenZeppelinLegacy,
Expand Down Expand Up @@ -51,6 +51,11 @@ pub const KNOWN_ACCOUNT_CLASSES: [KnownAccountClass; 22] = [
variant: AccountVariantType::Braavos,
description: "Braavos official account (as of v3.37.4)",
},
KnownAccountClass {
class_hash: felt!("0x02c8c7e6fbcfb3e8e15a46648e8914c6aa1fc506fc1e7fb3d1e19630716174bc"),
variant: AccountVariantType::Braavos,
description: "Braavos official account (as of v3.80.7)",
},
KnownAccountClass {
class_hash: felt!("0x01a736d6ed154502257f02b1ccdf4d9d1089f80811cd6acad48e6b6a9d1f2003"),
variant: AccountVariantType::Argent,
Expand Down

0 comments on commit 0caac8c

Please sign in to comment.