Skip to content

Show transfer bond as a single event in account history #770

Description

@rickstaa

A transferBond transaction currently shows up in the account history as an "Undelegated from 0x…" / "Redelegated with 0x…" pair with matching -/+ amounts (same tx, same round), which reads as a delegation change instead of a stake transfer between accounts.

Cause: TransferBondEvent is already fetched in queries/events.graphql (amount, oldDelegator, newDelegator), but components/HistoryView/index.tsx has no case "TransferBondEvent", so it hits default: return null and only the underlying Unbond/Rebond events render.

Suggested fix: add a TransferBondEvent case ("Transferred stake to 0x…" / "Received stake from 0x…") and hide the Unbond/Rebond events emitted in the same transaction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXUser experience and usabilityenhancementIncremental improvement to existing functionality.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions