Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Conversation

@bweick
Copy link
Contributor

@bweick bweick commented Feb 3, 2019

No description provided.

@coveralls
Copy link

coveralls commented Feb 3, 2019

Pull Request Test Coverage Report for Build 4134

  • 13 of 13 (100.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 4059: 0.0%
Covered Lines: 893
Relevant Lines: 893

💛 - Coveralls

(
,
uint256 calculatedUnitShares
) = StandardSettleRebalanceLibrary.calculateNextSetIssueQuantity(
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we write another function in StandardSettleRebalanceLibrary called something like canPeformSuccessfulSettlement or so instead of passing through calculatedUnitShares?

_vaultAddress
);

require(
Copy link
Contributor

Choose a reason for hiding this comment

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

canPeformSuccessfulSettlement function result would be more clear

// Require remainingCurrentSets to be greater than minimumBid otherwise no bidding would
// be allowed
require(
biddingParameters.remainingCurrentSets >= biddingParameters.minimumBid,
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we also have a function in settleLibrary to reflect this equality? It's also in endFailedAuction

@felix2feng felix2feng merged commit 29ba2df into master Feb 6, 2019
@felix2feng felix2feng deleted the brian/require_issue_to_start_rebalance branch February 6, 2019 20:56
kermankohli pushed a commit that referenced this pull request Feb 20, 2019
* Added UpdatableConstantAuctionPriceCurve.

* SettleRebalance check that unitShares isn't 0. EndFailedAuction unitShares equals 0 drawdown.

* Removed unnecessary require statement.

* Fixed tests.

* Fix rebalanceAuctionModule tests.

* Add DEFAULT_GAS to fix tests.

* Add DEFAULT_GAS to fix tests.

* Updated some commments.

* Change control logic to meet coverage requirements.

* Consolidate unitShares checking logic.

* Fix extraneous space

* Undo commit
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