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

Remove full_fee_amount and solver_fee #3223

Merged
merged 8 commits into from
Jan 10, 2025

Conversation

sunce86
Copy link
Contributor

@sunce86 sunce86 commented Jan 8, 2025

Description

As part of fee breakdown refactor, the time has come to remove full_fee_amount and solver_fee from order API.

These fields were relevant more than 2 years ago when orders with signed fee > 0 existed and when subsidies for that fee were calculated.

Will wait for confirmation from frontend that these fields are no longer used anywhere, before merging.

Changes

  • Removed fields from the API and all dependent code paths.

How to test

Existing unit tests, e2e tests, postgresql tests.

@sunce86 sunce86 self-assigned this Jan 8, 2025
@sunce86 sunce86 requested a review from a team as a code owner January 8, 2025 13:34
Copy link

github-actions bot commented Jan 8, 2025

Reminder: Please update the DB Readme and comment whether migrations are reversible (include rollback scripts if applicable).


Caused by:

Copy link

github-actions bot commented Jan 8, 2025

Reminder: Please consider backward compatibility when modifying the API specification.
If breaking changes are unavoidable, ensure:

  • You explicitly pointed out breaking changes.
  • You communicate the changes to affected teams.
  • You provide proper versioning and migration mechanisms.

Caused by:

Copy link
Contributor

@squadgazzz squadgazzz left a comment

Choose a reason for hiding this comment

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

LG

Copy link
Contributor

@MartinquaXD MartinquaXD left a comment

Choose a reason for hiding this comment

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

Looks alright to me (assuming the frontend confirms they don't use the field anymore).

Copy link
Contributor

@mstrug mstrug left a comment

Choose a reason for hiding this comment

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

Looks ok.

@sunce86 sunce86 enabled auto-merge (squash) January 10, 2025 09:54
@sunce86 sunce86 merged commit d9a7621 into main Jan 10, 2025
11 checks passed
@sunce86 sunce86 deleted the remove_full_fee_amount_and_solver_fee branch January 10, 2025 09:59
@github-actions github-actions bot locked and limited conversation to collaborators Jan 10, 2025
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.

5 participants