Skip to content

Commit

Permalink
feat:use account v3 contract
Browse files Browse the repository at this point in the history
  • Loading branch information
mubarak23 committed Oct 21, 2024
1 parent e01e07e commit 8ffdeca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ url= "https://starknet-sepolia.public.blastapi.io"

[[target.starknet-contract]]
casm = true
build-external-contracts = ["token_bound_accounts::components::presets::account_preset::AccountPreset"]
build-external-contracts = ["token_bound_accounts::accountV3::accountV3::AccountV3"]
allowed-libfuncs-list.name = "experimental"
2 changes: 1 addition & 1 deletion tests/test_hub.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ fn __setup__() -> (ContractAddress, ContractAddress, ContractAddress, ContractAd
let registry_class_hash = declare("Registry").unwrap().contract_class();

// declare tokenbound account
let account_class_hash = declare("AccountPreset").unwrap().contract_class();
let account_class_hash = declare("AccountV3").unwrap().contract_class();

// declare follownft
let follow_nft_classhash = declare("Follow").unwrap().contract_class();
Expand Down
2 changes: 1 addition & 1 deletion tests/test_profile.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fn __setup__() -> (ContractAddress, ContractAddress, felt252, felt252, ContractA
let (registry_contract_address, _) = registry_class_hash.deploy(@array![]).unwrap_syscall();

// declare account
let account_class_hash = declare("AccountPreset").unwrap().contract_class();
let account_class_hash = declare("AccountV3").unwrap().contract_class();

// declare follownft
let follow_nft_classhash = declare("Follow").unwrap().contract_class();
Expand Down
2 changes: 1 addition & 1 deletion tests/test_publication.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fn __setup__() -> (
.unwrap_syscall();

// declare account
let account_class_hash = declare("AccountPreset").unwrap().contract_class();
let account_class_hash = declare("AccountV3").unwrap().contract_class();

//declare collectnft
let collect_nft_classhash = declare("CollectNFT").unwrap().contract_class();
Expand Down

0 comments on commit 8ffdeca

Please sign in to comment.