From 8ae811a542026611e6046d49dfdebfb6c1e5ccc6 Mon Sep 17 00:00:00 2001 From: broody Date: Wed, 21 Feb 2024 08:49:34 -1000 Subject: [PATCH] Fix account-sdk test failure --- .tool-versions | 1 + crates/account_sdk/src/abigen.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.tool-versions b/.tool-versions index 54b3bcc5..5e1f44fe 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,3 +1,4 @@ scarb 2.4.3 starknet-foundry 0.14.0 python 3.9.18 +dojo 0.4.4 \ No newline at end of file diff --git a/crates/account_sdk/src/abigen.rs b/crates/account_sdk/src/abigen.rs index 6e1d0f78..7de681e3 100644 --- a/crates/account_sdk/src/abigen.rs +++ b/crates/account_sdk/src/abigen.rs @@ -3,7 +3,7 @@ pub mod account { abigen!( CartridgeAccount, - "./target/abi/account.abi.json", + "./target/dev/cartridge_account_Account.contract_class.json", type_aliases { webauthn_session::session_component::Event as SessionComponentEvent; webauthn_auth::component::webauthn_component::Event as WebauthnComponentEvent; @@ -16,7 +16,7 @@ pub mod erc20 { abigen!( Erc20Contract, - "./target/abi/erc20.abi.json", + "./target/dev/cartridge_account_ERC20.contract_class.json", type_aliases { openzeppelin::token::erc20::erc20::ERC20Component::Event as ERC20ComponentEvent; openzeppelin::access::ownable::ownable::OwnableComponent::Event as OwnableComponentEvent;