From 79f27c879ef42bc1930b259b8f74956bbf512949 Mon Sep 17 00:00:00 2001 From: Szymon Wojtulewicz Date: Tue, 13 Aug 2024 18:31:09 +0000 Subject: [PATCH] updated class_hash constant --- packages/account_sdk/src/constants.rs | 2 +- packages/account_sdk/src/controller_test.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/account_sdk/src/constants.rs b/packages/account_sdk/src/constants.rs index 39066f655..28b914dfb 100644 --- a/packages/account_sdk/src/constants.rs +++ b/packages/account_sdk/src/constants.rs @@ -2,4 +2,4 @@ use starknet::macros::felt; use starknet_crypto::Felt; pub const ACCOUNT_CLASS_HASH: Felt = - felt!("0x15b7c74c5c7196e6a8745a857076a1cb20d19b69445a77010a9af538cd8e758"); + felt!("0x79435f1e42c75ab951a4e7ff40459289ccb77706086f837c511d1b78448f8e5"); diff --git a/packages/account_sdk/src/controller_test.rs b/packages/account_sdk/src/controller_test.rs index 66000a201..04234eddb 100644 --- a/packages/account_sdk/src/controller_test.rs +++ b/packages/account_sdk/src/controller_test.rs @@ -24,7 +24,8 @@ async fn test_deploy_controller() { // Create a new Controller instance let username = "testuser".to_string(); - let address = felt!("0x52add13c8f4a6d699a2962bf51e90b14fe4ffc60337959e4b19e9c431f4d081"); + let address = felt!("0x6b0d9e5135644e4cca5ea9aecd9c8d3d8996e92c90072dd408464ec17ac3829"); + let chain_id = provider.chain_id().await.unwrap(); let controller = Controller::new(