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

pindexer: implement dex value circuit breaker indexing #4753

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

cronokirby
Copy link
Contributor

Describe your changes

This implements a basic dex indexing component for the value circuit breaker; more importantly, this adds some basic scaffolding that other dex related indexing can latch onto.

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    client code only, no event changes

This is mainly just to have scaffolding for new dex events
@@ -7,8 +7,8 @@ impl IndexerExt for cometindex::Indexer {
self.with_index(crate::shielded_pool::fmd::ClueSet {})
.with_index(crate::stake::ValidatorSet {})
.with_index(crate::stake::Slashings {})
.with_index(crate::stake::MissedBlocks {})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove MissedBlocks here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't consume this in our dashboards right now, and this slows down indexing a lot, since this is a frequent event.

@cronokirby cronokirby merged commit db79574 into main Jul 24, 2024
13 checks passed
@cronokirby cronokirby deleted the pindexer-dex-scaffolding branch July 24, 2024 17:19
aubrika pushed a commit that referenced this pull request Jul 24, 2024
Merge #4753 first.

## Describe your changes

This implements indexing for arb executions in pindexer.

## Issue ticket number and link

Closes #4736.

## Checklist before requesting a review

- [x] If this code contains consensus-breaking changes, I have added the
"consensus-breaking" label. Otherwise, I declare my belief that there
are not consensus-breaking changes, for the following reason:

  > indexing changes only

---------

Co-authored-by: vacekj <vacekj@users.noreply.github.com>
Co-authored-by: Atris <vacekj@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants