From 4f913347311ff04956424dc9d64de3f69d1b142e Mon Sep 17 00:00:00 2001 From: Thomas Marchand Date: Fri, 11 Aug 2023 10:20:54 +0100 Subject: [PATCH] fix: add missing param --- src/tests/test_naming.cairo | 1 + src/tests/utils.cairo | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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 {