explorer icon indicating copy to clipboard operation
explorer copied to clipboard

Hide zero value events

Open banool opened this issue 1 month ago • 2 comments

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.

Related Links

Checklist


Slack Thread

Open in Cursor Open in Web

banool avatar Jan 08 '26 23:01 banool