Description: Centralize the logic for retrieving an organizer's address from an event ID. This helper simplifies cross-contract communication and internal lookups. Tasks:
Implement get_organizer_address(env: Env, event_id: String) -> Result<Address, EventRegistryError>.
Ensure it returns EventNotFound if the ID doesn't exist.
Update existing manual lookups to use this helper.
Description: Centralize the logic for retrieving an organizer's address from an event ID. This helper simplifies cross-contract communication and internal lookups. Tasks:
Implement get_organizer_address(env: Env, event_id: String) -> Result<Address, EventRegistryError>.
Ensure it returns EventNotFound if the ID doesn't exist.
Update existing manual lookups to use this helper.