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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Fix fixed price product cover buys #900

Merged
merged 2 commits into from
Jul 26, 2023

Conversation

shark0der
Copy link
Collaborator

@shark0der shark0der commented Jul 17, 2023

Context

Marking products as being fixed price is currently being skipped on allocation requests.

Changes proposed in this pull request

Set the useFixedPrice boolean on the allocationRequest on buy cover.

Test plan

Added new tests to catch the issue

Checklist

  • Rebased the base branch
  • Attached corresponding Github issue
  • Prefixed the name with the type of change (i.e. feat, chore, test)
  • Performed a self-review of my own code
  • Followed the style guidelines of this project
  • Made corresponding changes to the documentation
  • Didn't generate new warnings
  • Didn't generate failures on existing tests
  • Added tests that prove my fix is effective or that my feature works

Review

When reviewing a PR, please indicate intention in comments using the following emojis:

  • 馃嵃 = Nice to have but not essential.
  • 馃挕 = Suggestion or a comment based on personal opinion
  • 馃敤 = I believe this should be changed.
  • 馃 = I don鈥檛 understand something, do you mind giving me more context?
  • 馃殌 = Feedback

@roxdanila roxdanila marked this pull request as ready for review July 24, 2023 13:57
@roxdanila roxdanila changed the title Fix fixed price product cover buys Bug: Fix fixed price product cover buys Jul 24, 2023
@danoctavian
Copy link
Contributor

to clarify there's 2 bug fixes here, because parameters were passed in the wrong order to calculateFixedPricePremium

Copy link
Contributor

@danoctavian danoctavian left a comment

Choose a reason for hiding this comment

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

LGTM

@roxdanila roxdanila merged commit a08fa8f into release-candidate Jul 26, 2023
5 checks passed
@roxdanila roxdanila deleted the fix/fixed-price-products branch July 26, 2023 08:31
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.

None yet

4 participants