Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

changed bid raise logic and updates tests #215

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

EGuenz
Copy link
Collaborator

@EGuenz EGuenz commented Feb 25, 2022

In the past version of english auction contracts, a subsequent bid needed to be greater than either the min_raise_percent of the previous bid, OR it needed to be greater than the sum of the previous bid and the min_raise. This PR changes the logic to be AND instead of OR. In other words, a new bid must satisfy both the percentage raise requirements as well as the min raise logic.

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.

1 participant