Skip to content

Commit

Permalink
Merge pull request #724 from oasisprotocol/lw/empty-event
Browse files Browse the repository at this point in the history
Display empty raw events as "0x"
  • Loading branch information
lukaw3d authored Jul 12, 2023
2 parents c3d9cf2 + e59d659 commit d7f62bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changelog/724.trivial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Display empty raw events as "0x"
2 changes: 1 addition & 1 deletion src/app/components/Transactions/LogEvent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const LogEvent: FC<{
)
case RuntimeEventType.evmlog: {
const { parsedEvmLogName } = parseEvmEvent(event)
if (!event.evm_log_name && !event.evm_log_params && event.body.data) {
if (!event.evm_log_name && !event.evm_log_params) {
return (
<div>
<b>{eventName}</b>
Expand Down

0 comments on commit d7f62bf

Please sign in to comment.