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 auction #4870

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Pindexer auction #4870

wants to merge 4 commits into from

Conversation

cronokirby
Copy link
Contributor

Describe your changes

This adds an auction indexing component to pindexer.

Also, I added a utility function to the auction component to get the initial state of an auction from its description; this is useful so that the indexer always has some state of an auction.
I did not make the consensus code actually use this new function, but a subsequent refactor PR to use it would be nice to avoid code duplication, but in the interest of not adding new review burden, this PR does not do that.

Instead, reviewers, please check that I only moved code around, and that I only made more things visible in the crate.

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:

    indexing changes + above comments on the auction component.

This is a useful helper for indexing, and can also simplify the
component code in the future
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.

1 participant