Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Remove restriction on quote rewards for limit orders #59

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

fhenneke
Copy link
Contributor

@fhenneke fhenneke commented Jan 4, 2024

This PR needs to be merged together with this PR to sync the correct quote solver to dune. Context is in the other PR.

before this change only market orders were eligible for quote rewards
and only in that case a quote_solver was fetched.
with this change, a quote_solver is always fetched (if it exists)
@harisang
Copy link
Contributor

harisang commented Jan 5, 2024

@fhenneke Should we go ahead and merge this PR to check whether data is properly synced on Dune? And once things look good, we can proceed with merging cowprotocol/solver-rewards#328

@harisang harisang merged commit e592330 into main Jan 5, 2024
4 of 6 checks passed
@harisang harisang deleted the zero_fee_quote_rewards branch January 5, 2024 17:42
harisang added a commit to cowprotocol/solver-rewards that referenced this pull request Jan 10, 2024
When switching to all orders being limit orders we need to adapt how we
compute quote rewards. At the moment, only market orders are eligible
for quote rewards. With the current code this would mean that no quotes
would receive rewards.

This PR removes testing the kind of an order when querying for quote
solvers. This means that all quotes associated with executed orders are
elibible for rewards.

The impact of rewarding more quotes is expected to be small.

This change has to be done merged toether with a
[PR](cowprotocol/dune-sync#59) on syncing quote
solvers to dune.

---------

Co-authored-by: harisang <[email protected]>
Co-authored-by: Haris Angelidakis <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants