Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Log updates of the ValidatorHistoryAccount on diffs #3

Open
buffalu opened this issue Dec 19, 2023 · 5 comments
Open

Feature: Log updates of the ValidatorHistoryAccount on diffs #3

buffalu opened this issue Dec 19, 2023 · 5 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@buffalu
Copy link
Collaborator

buffalu commented Dec 19, 2023

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.

@buffalu buffalu added the good first issue Good for newcomers label Dec 19, 2023
@buffalu buffalu changed the title Add log (using emit! or emit_cpi!) which logs the state of a validator history account for every update Log updates of the ValidatorHistoryAccount on every update Dec 19, 2023
@buffalu buffalu changed the title Log updates of the ValidatorHistoryAccount on every update Log updates of the ValidatorHistoryAccount on diffs Dec 19, 2023
@buffalu buffalu changed the title Log updates of the ValidatorHistoryAccount on diffs Feature: Log updates of the ValidatorHistoryAccount on diffs Dec 19, 2023
@witwiki
Copy link

witwiki commented Jan 6, 2024

Hey @buffalu,
Can I attempt this issue?

@buffalu
Copy link
Collaborator Author

buffalu commented Jan 6, 2024

Hey @buffalu, Can I attempt this issue?

yes please! assigned

@buffalu
Copy link
Collaborator Author

buffalu commented Jan 6, 2024

please stop by discord in #stakenet channel if you have questions or need help

@bcerecer
Copy link

bcerecer commented May 6, 2024

Hi @buffalu, can I implement this?

@witwiki
Copy link

witwiki commented May 6, 2024

hey @buffalu, please unassign me from this issue so @bcerecer can implement it.

@buffalu buffalu assigned bcerecer and unassigned witwiki May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants