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

Implement CIP-36 #80

Merged
merged 4 commits into from
Feb 9, 2024
Merged

Implement CIP-36 #80

merged 4 commits into from
Feb 9, 2024

Conversation

fhenneke
Copy link
Contributor

@fhenneke fhenneke commented Feb 8, 2024

This PR implements changes due to CIP-36. See cowprotocol/solver-rewards#339 for more details.

Fewer changes are required in this repository compared to the solver-rewards repo since some of the reward logic is implemented on dune. The respective dune queries have to be adapted as well.

After merging this a resync for the accounting period starting on 06.02.2024 is required.

No other change is necessary for CIP-36 since the rest of the reward logic
is implemented on dune.
@fhenneke fhenneke requested a review from harisang February 8, 2024 16:26
@fhenneke
Copy link
Contributor Author

fhenneke commented Feb 8, 2024

I updated the integration test for batch and order rewards to a block range from today.This block range includes an order with protocol fees and capped settlements from above and below, The separate test for protocol fees was removed.

Copy link
Contributor

@harisang harisang left a comment

Choose a reason for hiding this comment

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

looks good!

@fhenneke fhenneke merged commit 58afd1e into main Feb 9, 2024
@fhenneke fhenneke deleted the cip_36 branch February 9, 2024 10:44
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