Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Remove legacy fee from API #1295

Merged
merged 1 commit into from
Oct 26, 2021
Merged

Remove legacy fee from API #1295

merged 1 commit into from
Oct 26, 2021

Conversation

bh2smith
Copy link
Contributor

@bh2smith bh2smith commented Oct 26, 2021

While working on #1292, I stumbled upon a section of code with a TODO - remove this from back in May. I think it is safe to assume that the front end no longer depends on this. Tagging @anxolin , @alfetopito and @W3stside to double check.

This Legacy fee endpoint has been deprecated since #574 (May 10, 2021)

According to Grafana this endpoint is not really being used. Anything that is using is has only ever been getting 404 responses for as long as the graph has history (October 10, 2021) - see here

@bh2smith bh2smith requested a review from a team October 26, 2021 09:08
@W3stside
Copy link

W3stside commented Oct 26, 2021

@anxolin that answers that question. LGTM we'll adapt it but @bh2smith please don't merge this into prod until gnosis/cowswap#1689 is closed (should be EOW max)

@bh2smith
Copy link
Contributor Author

bh2smith commented Oct 26, 2021

@W3stside - Please note that this PR isn't removing the fee endpoint you are currently using but rather an even older double-legacy fee endpoint...

@vkgnosis
Copy link
Contributor

You can also check in our metrics if an endpoint is still used and maybe nginx logs.

@W3stside
Copy link

@bh2smith ah ok got it thx

@bh2smith bh2smith merged commit 76f7739 into main Oct 26, 2021
@bh2smith bh2smith deleted the remove-legacy-fee branch October 26, 2021 10:16
nlordell added a commit that referenced this pull request Oct 26, 2021
@anxolin
Copy link

anxolin commented Oct 26, 2021

Thanks for the heads-up, and checking the stats if it was used! Once our API is public it can even be someone else using it. Good call removing!

nlordell added a commit to cowprotocol/services that referenced this pull request Apr 4, 2022
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.

4 participants