diff --git a/src/tests/test_naming.cairo b/src/tests/test_naming.cairo index 6700511..9aba022 100644 --- a/src/tests/test_naming.cairo +++ b/src/tests/test_naming.cairo @@ -33,6 +33,7 @@ fn deploy() -> INamingDispatcher { let admin = 0x123; calldata.append(starknetid); calldata.append(pricing.into()); + calldata.append(0); calldata.append(admin); let address = utils::deploy(Naming::TEST_CLASS_HASH, calldata); INamingDispatcher { contract_address: address } diff --git a/src/tests/utils.cairo b/src/tests/utils.cairo index 46d05b6..4c518dd 100644 --- a/src/tests/utils.cairo +++ b/src/tests/utils.cairo @@ -2,7 +2,6 @@ use array::ArrayTrait; use core::result::ResultTrait; use option::OptionTrait; use starknet::{class_hash::Felt252TryIntoClassHash, ContractAddress, SyscallResultTrait}; - use traits::TryInto; fn deploy(contract_class_hash: felt252, calldata: Array) -> ContractAddress {