From 3877dc1907817bfee053b8085e3ca7588a859a9a Mon Sep 17 00:00:00 2001 From: Thomas Marchand Date: Sat, 28 Oct 2023 12:14:06 +0700 Subject: [PATCH] fix: event emitter trait --- src/naming/asserts.cairo | 4 ++-- src/naming/internal.cairo | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/naming/asserts.cairo b/src/naming/asserts.cairo index f058a45..a1cbfde 100644 --- a/src/naming/asserts.cairo +++ b/src/naming/asserts.cairo @@ -8,8 +8,8 @@ use naming::{ naming::main::{ Naming, Naming::{ - EventEmitter, _hash_to_domain, _hash_to_domainContractMemberStateTrait, _domain_data, - _domain_dataContractMemberStateTrait, starknetid_contract, + ContractStateEventEmitter, _hash_to_domain, _hash_to_domainContractMemberStateTrait, + _domain_data, _domain_dataContractMemberStateTrait, starknetid_contract, starknetid_contractContractMemberStateTrait, discounts, discountsContractMemberStateTrait, _address_to_domain, _address_to_domainContractMemberStateTrait, _referral_contract, diff --git a/src/naming/internal.cairo b/src/naming/internal.cairo index f4aefd8..a5d2bf1 100644 --- a/src/naming/internal.cairo +++ b/src/naming/internal.cairo @@ -8,8 +8,8 @@ use naming::{ naming::main::{ Naming, Naming::{ - EventEmitter, _hash_to_domain, _hash_to_domainContractMemberStateTrait, _domain_data, - _domain_dataContractMemberStateTrait, starknetid_contract, + ContractStateEventEmitter, _hash_to_domain, _hash_to_domainContractMemberStateTrait, + _domain_data, _domain_dataContractMemberStateTrait, starknetid_contract, starknetid_contractContractMemberStateTrait, discounts, discountsContractMemberStateTrait, _address_to_domain, _address_to_domainContractMemberStateTrait, _referral_contract, @@ -29,7 +29,6 @@ use naming::naming::utils::UtilsTrait; #[generate_trait] impl InternalImpl of InternalTrait { - fn read_address_to_domain( self: @Naming::ContractState, address: ContractAddress, ref domain: Array ) -> usize {