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

refactor: move fee selection out of indexer selection #419

Merged
merged 2 commits into from
Nov 20, 2023

Conversation

Theodus
Copy link
Member

@Theodus Theodus commented Nov 20, 2023

This removes Agora (and therefore GraphQL-specific) cost models from indexer-selection. The fee negotiation step now happens before indexer selections (and no longer requires a retry). For now, the interaction between budgeting & candidate fees is simple, but that's acceptable for now since we are paying indexers more than they are requesting. Volume discounting has been removed entirely.

@Theodus Theodus requested a review from LNSD November 20, 2023 14:36
Copy link
Contributor

@LNSD LNSD left a comment

Choose a reason for hiding this comment

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

LGTM! ✅

@LNSD
Copy link
Contributor

LNSD commented Nov 20, 2023

This is great! 🎉

@Theodus Theodus force-pushed the theodus/budget-take2 branch from 22ce858 to 541a798 Compare November 20, 2023 18:17
@Theodus Theodus merged commit 37bd97d into main Nov 20, 2023
2 checks passed
@Theodus Theodus deleted the theodus/budget-take2 branch November 20, 2023 18:17
@Theodus Theodus mentioned this pull request Nov 28, 2023
Theodus added a commit that referenced this pull request Dec 18, 2023
This removes Agora (and therefore GraphQL-specific) cost models from
indexer-selection. The fee negotiation step now happens before indexer
selections (and no longer requires a retry). For now, the interaction
between budgeting & candidate fees is simple, but that's acceptable for
now since we are paying indexers more than they are requesting. Volume
discounting has been removed entirely.
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