explorer
explorer copied to clipboard
Hide zero value events
Description
Hides the account_address, creation_number, and sequence_number fields in the Events tab for module events (events v2).
These fields are zero-valued for backwards compatibility but are not meaningful for module events. By hiding them, the UI now only displays relevant information (Index, Type, and Data) for these event types, improving clarity.
A new isModuleEvent() helper function was added to EventsTab.tsx to detect module events based on these zero-valued fields, and the UI conditionally renders the fields accordingly.