Skip to content

Commit

Permalink
fix: event emitter trait
Browse files Browse the repository at this point in the history
  • Loading branch information
Th0rgal committed Oct 28, 2023
1 parent 2f127aa commit 3877dc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/naming/asserts.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 2 additions & 3 deletions src/naming/internal.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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<felt252>
) -> usize {
Expand Down

0 comments on commit 3877dc1

Please sign in to comment.