Skip to content

Feature: Log updates of the ValidatorHistoryAccount on diffs #3

Description

@buffalu

Is your feature request related to a problem? Please describe.
For indexing purposes and for blockahin explorers like Dune, it would be nice to log the state of a ValidatorHistoryAccount on every update.

Describe the solution you'd like
Any update that causes a change in a ValidatorHistoryAccount for a given epoch is logged. This logs can use emit! or even better, emit_cpi!, which doesn't suffer from log truncation inside RPCs.

Additional context
Ensure that any logs are compatible with most block explorers and Dune!

Note
Please comment below in the issue to claim this task.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions