Skip to content

fix: operator fee not correctly called#2050

Merged
rakita merged 1 commit intobluealloy:release/v55from
leruaa:fix-operator-fee-scalars-ordering
Feb 6, 2025
Merged

fix: operator fee not correctly called#2050
rakita merged 1 commit intobluealloy:release/v55from
leruaa:fix-operator-fee-scalars-ordering

Conversation

@leruaa
Copy link
Contributor

@leruaa leruaa commented Feb 5, 2025

This PR fixes 2 bugs:

  • The refund wasn't divided by OPERATOR_FEE_SCALAR_DECIMAL
  • The operator fee was badly taken into account when the input is empty. I added similar checks as L1 fee.

@leruaa leruaa force-pushed the fix-operator-fee-scalars-ordering branch from 56404d6 to 5233573 Compare February 5, 2025 19:26
Copy link
Member

@rakita rakita left a comment

Choose a reason for hiding this comment

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

lgtm

@rakita rakita merged commit 2c9290a into bluealloy:release/v55 Feb 6, 2025
18 of 22 checks passed
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